gtk: Remove special code for detecting pixmaps as event targets

This commit is contained in:
Benjamin Otte 2010-08-27 17:00:14 +02:00
parent 18a4ed6fd0
commit b7f2f9a678

View File

@ -5121,13 +5121,6 @@ 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