# HG changeset patch # User ib # Date 1375483325 0 # Node ID f5e428d7991bfa38e21d71b6e8b162d5d041d1c0 # Parent 353055b6213d87e3e58e1f4aba1e6a5a29f2cd0b Add a XSync() call. This will avoid some unpleasant visual effects because of the transparent background to come. diff -r 353055b6213d -r f5e428d7991b gui/wm/ws.c --- a/gui/wm/ws.c Fri Aug 02 22:40:25 2013 +0000 +++ b/gui/wm/ws.c Fri Aug 02 22:42:05 2013 +0000 @@ -1079,9 +1079,10 @@ ; } - if (r == -1 && g == -1 && b == -1) + if (r == -1 && g == -1 && b == -1) { + XSync(wsDisplay, False); XSetWindowBackgroundPixmap(wsDisplay, win->WindowID, None); - else { + } else { XSetWindowBackground(wsDisplay, win->WindowID, color); XClearWindow(wsDisplay, win->WindowID); }