Don't call XPending() if we have putback events.

Wed Dec 16 16:57:55 1998  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkevents.c (gdk_events_queue): Don't
	call XPending() if we have putback events.
This commit is contained in:
Owen Taylor 1998-12-16 21:58:54 +00:00 committed by Owen Taylor
parent b4ba8e3b5d
commit 45cdd91a8c
9 changed files with 37 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Wed Dec 16 16:57:55 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdkevents.c (gdk_events_queue): Don't
call XPending() if we have putback events.
Wed Dec 16 16:04:41 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_expose): Do nothing

View File

@ -1,3 +1,8 @@
Wed Dec 16 16:57:55 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdkevents.c (gdk_events_queue): Don't
call XPending() if we have putback events.
Wed Dec 16 16:04:41 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_expose): Do nothing

View File

@ -1,3 +1,8 @@
Wed Dec 16 16:57:55 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdkevents.c (gdk_events_queue): Don't
call XPending() if we have putback events.
Wed Dec 16 16:04:41 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_expose): Do nothing

View File

@ -1,3 +1,8 @@
Wed Dec 16 16:57:55 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdkevents.c (gdk_events_queue): Don't
call XPending() if we have putback events.
Wed Dec 16 16:04:41 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_expose): Do nothing

View File

@ -1,3 +1,8 @@
Wed Dec 16 16:57:55 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdkevents.c (gdk_events_queue): Don't
call XPending() if we have putback events.
Wed Dec 16 16:04:41 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_expose): Do nothing

View File

@ -1,3 +1,8 @@
Wed Dec 16 16:57:55 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdkevents.c (gdk_events_queue): Don't
call XPending() if we have putback events.
Wed Dec 16 16:04:41 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_expose): Do nothing

View File

@ -1,3 +1,8 @@
Wed Dec 16 16:57:55 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdkevents.c (gdk_events_queue): Don't
call XPending() if we have putback events.
Wed Dec 16 16:04:41 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_expose): Do nothing

View File

@ -1836,7 +1836,7 @@ gdk_events_queue (void)
GdkEvent *event;
XEvent xevent;
while (!queued_events && XPending (gdk_display))
while (!(putback_events || queued_events) && XPending (gdk_display))
{
#ifdef USE_XIM
Window w = None;

View File

@ -1836,7 +1836,7 @@ gdk_events_queue (void)
GdkEvent *event;
XEvent xevent;
while (!queued_events && XPending (gdk_display))
while (!(putback_events || queued_events) && XPending (gdk_display))
{
#ifdef USE_XIM
Window w = None;