Signed-off-by: Adam Jackson <[email protected]>
---
 dix/window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dix/window.c b/dix/window.c
index 39cb6f7..551e1a1 100644
--- a/dix/window.c
+++ b/dix/window.c
@@ -1466,7 +1466,7 @@ ChangeWindowAttributes(WindowPtr pWin, Mask vmask, XID 
*vlist, ClientPtr client)
        for the tile to be rotated, and the correct function selected.
      */
     if (((vmaskCopy & (CWBorderPixel | CWBorderPixmap)) || borderRelative)
-        && pWin->viewable && HasBorder(pWin)) {
+        && pWin->paintable && HasBorder(pWin)) {
         RegionRec exposed;
 
         RegionNull(&exposed);
-- 
1.9.3

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to