[Xfce4-commits] r26968 - xfwm4/trunk/src

Olivier Fourdan olivier at xfce.org
Sat May 17 18:41:25 CEST 2008


Author: olivier
Date: 2008-05-17 16:41:25 +0000 (Sat, 17 May 2008)
New Revision: 26968

Modified:
   xfwm4/trunk/src/compositor.c
Log:
Resize overlays on XRandr notification (bug #3763)

Modified: xfwm4/trunk/src/compositor.c
===================================================================
--- xfwm4/trunk/src/compositor.c	2008-05-17 16:02:21 UTC (rev 26967)
+++ xfwm4/trunk/src/compositor.c	2008-05-17 16:41:25 UTC (rev 26968)
@@ -3075,7 +3075,13 @@
     {
         return;
     }
-
+#if HAVE_OVERLAYS
+    if (display_info->have_overlays)
+    {
+        XResizeWindow (display_info->dpy, screen_info->overlay, screen_info->width, screen_info->height);
+        XResizeWindow (display_info->dpy, screen_info->root_overlay, screen_info->width, screen_info->height);
+    }
+#endif
     if (screen_info->rootBuffer)
     {
         XRenderFreePicture (display_info->dpy, screen_info->rootBuffer);



More information about the Xfce4-commits mailing list