[Xfce4-commits] <xfwm4:master> Repaint the screen when background changes.
Alistair Buxton
noreply at xfce.org
Sat Dec 7 12:28:03 CET 2013
Updating branch refs/heads/master
to 683608318c154098d12ca0d10f4af66dfb35db53 (commit)
from 4c9dd03362b974f4e2bfd0de77d00cce91ad29eb (commit)
commit 683608318c154098d12ca0d10f4af66dfb35db53
Author: Alistair Buxton <a.j.buxton at gmail.com>
Date: Wed Nov 27 19:52:18 2013 +0000
Repaint the screen when background changes.
add_repair() here looks like a mistake. We want to damage_screen()
so that the new background gets painted.
src/compositor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/compositor.c b/src/compositor.c
index 94e8045..8a503b5 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -2458,7 +2458,7 @@ compositorHandlePropertyNotify (DisplayInfo *display_info, XPropertyEvent *ev)
XClearArea (display_info->dpy, screen_info->output, 0, 0, 0, 0, TRUE);
XRenderFreePicture (display_info->dpy, screen_info->rootTile);
screen_info->rootTile = None;
- add_repair (screen_info);
+ damage_screen (screen_info);
return;
}
More information about the Xfce4-commits
mailing list