[Xfce4-commits] r26459 - xfwm4/trunk/src
Olivier Fourdan
olivier at xfce.org
Tue Dec 11 23:14:12 CET 2007
Author: olivier
Date: 2007-12-11 22:14:12 +0000 (Tue, 11 Dec 2007)
New Revision: 26459
Modified:
xfwm4/trunk/src/compositor.c
Log:
Avoid infinite loop when damaging the overlay window
Modified: xfwm4/trunk/src/compositor.c
===================================================================
--- xfwm4/trunk/src/compositor.c 2007-12-11 21:58:58 UTC (rev 26458)
+++ xfwm4/trunk/src/compositor.c 2007-12-11 22:14:12 UTC (rev 26459)
@@ -1947,7 +1947,11 @@
new->shaped = is_shaped (display_info, id);
new->viewable = (new->attr.map_state == IsViewable);
- if ((new->attr.class != InputOnly) && (id != screen_info->xroot))
+ if ((new->attr.class != InputOnly)
+#if HAVE_OVERLAYS
+ && ((!display_info->have_overlays) || (id != screen_info->overlay))
+#endif
+ && (id != screen_info->output))
{
new->damage = XDamageCreate (display_info->dpy, id, XDamageReportNonEmpty);
}
More information about the Xfce4-commits
mailing list