summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhlabs <rhlabs>1998-03-11 22:35:32 +0000
committerrhlabs <rhlabs>1998-03-11 22:35:32 +0000
commit59436967d5d15cf5639333a3fddd2183cbf60693 (patch)
tree2a8bc4080d2eb7e81fe405656bebce0a4c5a2efb
parentc5327ecc316d03499699b9f1958debdb6a307d27 (diff)
downloadgdk-pixbuf-59436967d5d15cf5639333a3fddd2183cbf60693.tar.gz
<raster@redhat.com>
<raster@redhat.com> fixed motiong drag to remove lag - ie no lagging of icons behind mouse when doing DND. :)
-rw-r--r--gdk/gdk.c1
-rw-r--r--gdk/x11/gdkmain-x11.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdk.c b/gdk/gdk.c
index 857d39a19..e38fd09d3 100644
--- a/gdk/gdk.c
+++ b/gdk/gdk.c
@@ -2030,6 +2030,7 @@ gdk_event_translate (GdkEvent *event,
case MotionNotify:
/* Print debugging info.
*/
+ while (XCheckTypedEvent(xevent->xmotion.display,xevent->type,xevent));
GDK_NOTE (EVENTS,
g_print ("motion notify:\t\twindow: %ld x,y: %d %d hint: %s d:%d r%d\n",
xevent->xmotion.window - base_id,
diff --git a/gdk/x11/gdkmain-x11.c b/gdk/x11/gdkmain-x11.c
index 857d39a19..e38fd09d3 100644
--- a/gdk/x11/gdkmain-x11.c
+++ b/gdk/x11/gdkmain-x11.c
@@ -2030,6 +2030,7 @@ gdk_event_translate (GdkEvent *event,
case MotionNotify:
/* Print debugging info.
*/
+ while (XCheckTypedEvent(xevent->xmotion.display,xevent->type,xevent));
GDK_NOTE (EVENTS,
g_print ("motion notify:\t\twindow: %ld x,y: %d %d hint: %s d:%d r%d\n",
xevent->xmotion.window - base_id,