forked from AuroraMiddleware/gtk
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:
parent
7bc2cb6e6e
commit
1b6dbf0ea2
@ -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>
|
||||
|
||||
* 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>
|
||||
|
||||
* 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>
|
||||
|
||||
* 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>
|
||||
|
||||
* 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>
|
||||
|
||||
* 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>
|
||||
|
||||
* 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>
|
||||
|
||||
* configure.in: Check for <unistd.h>.
|
||||
|
@ -1416,9 +1416,6 @@ gdk_window_process_updates_internal (GdkWindow *window)
|
||||
GdkWindowObject *private = (GdkWindowObject *)window;
|
||||
gboolean save_region = FALSE;
|
||||
|
||||
if (!gdk_window_is_viewable (window))
|
||||
return;
|
||||
|
||||
/* If an update got queued during update processing, we can get a
|
||||
* window in the update queue that has an empty update_area.
|
||||
* just ignore it.
|
||||
@ -1428,7 +1425,7 @@ gdk_window_process_updates_internal (GdkWindow *window)
|
||||
GdkRegion *update_area = private->update_area;
|
||||
private->update_area = NULL;
|
||||
|
||||
if (gdk_event_func)
|
||||
if (gdk_event_func && gdk_window_is_viewable (window))
|
||||
{
|
||||
GdkEvent event;
|
||||
GdkRectangle window_rect;
|
||||
|
Loading…
Reference in New Issue
Block a user