forked from AuroraMiddleware/gtk
Special case pixmaps. (#114880)
2003-06-12 Anders Carlsson <andersca@codefactory.se> * gtk/gtkwidget.c: (event_window_is_still_viewable): Special case pixmaps. (#114880)
This commit is contained in:
parent
ce294c13a6
commit
79895e30d3
@ -1,3 +1,8 @@
|
||||
2003-06-12 Anders Carlsson <andersca@codefactory.se>
|
||||
|
||||
* gtk/gtkwidget.c: (event_window_is_still_viewable):
|
||||
Special case pixmaps. (#114880)
|
||||
|
||||
2003-06-12 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkwidget.c: Document child-notify and drag-data-received
|
||||
|
@ -1,3 +1,8 @@
|
||||
2003-06-12 Anders Carlsson <andersca@codefactory.se>
|
||||
|
||||
* gtk/gtkwidget.c: (event_window_is_still_viewable):
|
||||
Special case pixmaps. (#114880)
|
||||
|
||||
2003-06-12 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkwidget.c: Document child-notify and drag-data-received
|
||||
|
@ -1,3 +1,8 @@
|
||||
2003-06-12 Anders Carlsson <andersca@codefactory.se>
|
||||
|
||||
* gtk/gtkwidget.c: (event_window_is_still_viewable):
|
||||
Special case pixmaps. (#114880)
|
||||
|
||||
2003-06-12 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkwidget.c: Document child-notify and drag-data-received
|
||||
|
@ -1,3 +1,8 @@
|
||||
2003-06-12 Anders Carlsson <andersca@codefactory.se>
|
||||
|
||||
* gtk/gtkwidget.c: (event_window_is_still_viewable):
|
||||
Special case pixmaps. (#114880)
|
||||
|
||||
2003-06-12 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkwidget.c: Document child-notify and drag-data-received
|
||||
|
@ -1,3 +1,8 @@
|
||||
2003-06-12 Anders Carlsson <andersca@codefactory.se>
|
||||
|
||||
* gtk/gtkwidget.c: (event_window_is_still_viewable):
|
||||
Special case pixmaps. (#114880)
|
||||
|
||||
2003-06-12 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkwidget.c: Document child-notify and drag-data-received
|
||||
|
@ -3114,6 +3114,13 @@ gtk_widget_send_expose (GtkWidget *widget,
|
||||
static gboolean
|
||||
event_window_is_still_viewable (GdkEvent *event)
|
||||
{
|
||||
/* Some programs, such as gnome-theme-manager, fake widgets
|
||||
* into exposing onto a pixmap by sending expose events with
|
||||
* event->window pointing to a pixmap
|
||||
*/
|
||||
if (GDK_IS_PIXMAP (event->any.window))
|
||||
return event->type == GDK_EXPOSE;
|
||||
|
||||
/* Check that we think the event's window is viewable before
|
||||
* delivering the event, to prevent suprises. We do this here
|
||||
* at the last moment, since the event may have been queued
|
||||
|
Loading…
Reference in New Issue
Block a user