mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-19 09:50:06 +00:00
gtk: Remove special code for detecting pixmaps as event targets
This commit is contained in:
parent
18a4ed6fd0
commit
b7f2f9a678
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user