forked from AuroraMiddleware/gtk
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:
parent
b4ba8e3b5d
commit
45cdd91a8c
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user