[libwnck] Xutils: use gdk_flush instead of XSync



commit 763bead28ca67a6d77624c20c17343b4b63a260e
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date:   Tue Aug 6 12:38:05 2013 +0200

    Xutils: use gdk_flush instead of XSync

 libwnck/xutils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libwnck/xutils.c b/libwnck/xutils.c
index 42b6ba8..0ca3736 100644
--- a/libwnck/xutils.c
+++ b/libwnck/xutils.c
@@ -705,7 +705,7 @@ _wnck_error_trap_push (Display *display)
 int
 _wnck_error_trap_pop (Display *display)
 {
-  XSync (display, False);
+  gdk_flush ();
   return gdk_error_trap_pop ();
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]