[Xfce4-commits] [xfce/xfwm4] 01/04: Flush to reduce lag in wireframe

noreply at xfce.org noreply at xfce.org
Thu Jan 22 22:52:47 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 cb4b6e845aefeae93ca3a9be24d75a75eadec13e
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Thu Jan 22 21:11:08 2015 +0100

    Flush to reduce lag in wireframe
    
    Signed-off-by: Olivier Fourdan <fourdan at xfce.org>
---
 src/wireframe.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/wireframe.c b/src/wireframe.c
index ec2f45c..079d5d5 100644
--- a/src/wireframe.c
+++ b/src/wireframe.c
@@ -120,7 +120,6 @@ wireframeDrawXlib (WireFrame *wireframe, int width, int height)
                         gdk_x11_gc_get_xgc (screen_info->white_gc),
                         0, 0, wireframe->width - 1, wireframe->height - 1);
     }
-    XFlush (myScreenGetXDisplay (screen_info));
 }
 
 static void
@@ -181,6 +180,7 @@ wireframeUpdate (Client *c, WireFrame *wireframe)
     {
          wireframeDrawXlib (wireframe, frameExtentWidth (c), frameExtentHeight (c));
     }
+    XFlush (myScreenGetXDisplay (screen_info));
 }
 
 static void

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


More information about the Xfce4-commits mailing list