Move is_viewable() test further inside the function, since removing the
Wed Aug 2 14:57:38 2000 Owen Taylor <otaylor@redhat.com> * gdk/gdkwindow.c (gdk_window_process_updates_internal): Move is_viewable() test further inside the function, since removing the window from the redraw list without clearing ->update_area was also very broken.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
Wed Aug 2 14:57:38 2000 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gdk/gdkwindow.c (gdk_window_process_updates_internal): Move
|
||||||
|
is_viewable() test further inside the function, since removing the
|
||||||
|
window from the redraw list without clearing ->update_area
|
||||||
|
was also very broken.
|
||||||
|
|
||||||
2000-08-02 Tor Lillqvist <tml@iki.fi>
|
2000-08-02 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* configure.in: Check for <unistd.h>.
|
* configure.in: Check for <unistd.h>.
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Wed Aug 2 14:57:38 2000 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gdk/gdkwindow.c (gdk_window_process_updates_internal): Move
|
||||||
|
is_viewable() test further inside the function, since removing the
|
||||||
|
window from the redraw list without clearing ->update_area
|
||||||
|
was also very broken.
|
||||||
|
|
||||||
2000-08-02 Tor Lillqvist <tml@iki.fi>
|
2000-08-02 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* configure.in: Check for <unistd.h>.
|
* configure.in: Check for <unistd.h>.
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Wed Aug 2 14:57:38 2000 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gdk/gdkwindow.c (gdk_window_process_updates_internal): Move
|
||||||
|
is_viewable() test further inside the function, since removing the
|
||||||
|
window from the redraw list without clearing ->update_area
|
||||||
|
was also very broken.
|
||||||
|
|
||||||
2000-08-02 Tor Lillqvist <tml@iki.fi>
|
2000-08-02 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* configure.in: Check for <unistd.h>.
|
* configure.in: Check for <unistd.h>.
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Wed Aug 2 14:57:38 2000 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gdk/gdkwindow.c (gdk_window_process_updates_internal): Move
|
||||||
|
is_viewable() test further inside the function, since removing the
|
||||||
|
window from the redraw list without clearing ->update_area
|
||||||
|
was also very broken.
|
||||||
|
|
||||||
2000-08-02 Tor Lillqvist <tml@iki.fi>
|
2000-08-02 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* configure.in: Check for <unistd.h>.
|
* configure.in: Check for <unistd.h>.
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Wed Aug 2 14:57:38 2000 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gdk/gdkwindow.c (gdk_window_process_updates_internal): Move
|
||||||
|
is_viewable() test further inside the function, since removing the
|
||||||
|
window from the redraw list without clearing ->update_area
|
||||||
|
was also very broken.
|
||||||
|
|
||||||
2000-08-02 Tor Lillqvist <tml@iki.fi>
|
2000-08-02 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* configure.in: Check for <unistd.h>.
|
* configure.in: Check for <unistd.h>.
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Wed Aug 2 14:57:38 2000 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gdk/gdkwindow.c (gdk_window_process_updates_internal): Move
|
||||||
|
is_viewable() test further inside the function, since removing the
|
||||||
|
window from the redraw list without clearing ->update_area
|
||||||
|
was also very broken.
|
||||||
|
|
||||||
2000-08-02 Tor Lillqvist <tml@iki.fi>
|
2000-08-02 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* configure.in: Check for <unistd.h>.
|
* configure.in: Check for <unistd.h>.
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Wed Aug 2 14:57:38 2000 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gdk/gdkwindow.c (gdk_window_process_updates_internal): Move
|
||||||
|
is_viewable() test further inside the function, since removing the
|
||||||
|
window from the redraw list without clearing ->update_area
|
||||||
|
was also very broken.
|
||||||
|
|
||||||
2000-08-02 Tor Lillqvist <tml@iki.fi>
|
2000-08-02 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* configure.in: Check for <unistd.h>.
|
* configure.in: Check for <unistd.h>.
|
||||||
|
@ -1416,9 +1416,6 @@ gdk_window_process_updates_internal (GdkWindow *window)
|
|||||||
GdkWindowObject *private = (GdkWindowObject *)window;
|
GdkWindowObject *private = (GdkWindowObject *)window;
|
||||||
gboolean save_region = FALSE;
|
gboolean save_region = FALSE;
|
||||||
|
|
||||||
if (!gdk_window_is_viewable (window))
|
|
||||||
return;
|
|
||||||
|
|
||||||
/* If an update got queued during update processing, we can get a
|
/* If an update got queued during update processing, we can get a
|
||||||
* window in the update queue that has an empty update_area.
|
* window in the update queue that has an empty update_area.
|
||||||
* just ignore it.
|
* just ignore it.
|
||||||
@ -1428,7 +1425,7 @@ gdk_window_process_updates_internal (GdkWindow *window)
|
|||||||
GdkRegion *update_area = private->update_area;
|
GdkRegion *update_area = private->update_area;
|
||||||
private->update_area = NULL;
|
private->update_area = NULL;
|
||||||
|
|
||||||
if (gdk_event_func)
|
if (gdk_event_func && gdk_window_is_viewable (window))
|
||||||
{
|
{
|
||||||
GdkEvent event;
|
GdkEvent event;
|
||||||
GdkRectangle window_rect;
|
GdkRectangle window_rect;
|
||||||
|
Reference in New Issue
Block a user