[PATCH 19/37] dix: Update border state based on paintable not viewable

Adam Jackson ajax at redhat.com
Wed Oct 8 08:04:43 PDT 2014


Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 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



More information about the xorg-devel mailing list