Commit b7f2f9a6 authored by Benjamin Otte's avatar Benjamin Otte
Browse files

gtk: Remove special code for detecting pixmaps as event targets

parent 18a4ed6f
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment