[Xfce4-commits] [xfce/xfwm4] 01/02: Do not update XRandR config from compositor

noreply at xfce.org noreply at xfce.org
Mon Mar 2 21:41:14 CET 2015


This is an automated email from the git hooks/post-receive script.

olivier pushed a commit to branch master
in repository xfce/xfwm4.

commit b861c35c867e38a459f927545dee5a6778e1466a
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Mon Mar 2 21:31:38 2015 +0100

    Do not update XRandR config from compositor
    
    No need to call RRUpdateConfiguration() from the compositor, and that
    confuses gtk+
    
    Signed-off-by: Olivier Fourdan <fourdan at xfce.org>
---
 src/compositor.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/compositor.c b/src/compositor.c
index 1533fa7..64c6701 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -2856,9 +2856,10 @@ compositorHandleRandrNotify (DisplayInfo *display_info, XRRScreenChangeNotifyEve
 
     screen_info = myDisplayGetScreenFromRoot (display_info, ev->window);
     if (screen_info)
+    {
         get_refresh_rate (screen_info);
-
-    XRRUpdateConfiguration ((XEvent *) ev);
+    }
+    /* No need for RRUpdateConfiguration() here, leave that to gtk+ */
 }
 #endif /* HAVE_RANDR */
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list