forked from AuroraMiddleware/gtk
x11: Pass the right surface to the dnd filter
This commit is contained in:
parent
e45711e727
commit
f11b1d258b
@ -259,7 +259,7 @@ gdk_event_source_translate_event (GdkX11Display *x11_display,
|
||||
result = _gdk_wm_protocols_filter (xevent, filter_surface, &event, NULL);
|
||||
|
||||
if (result == GDK_FILTER_CONTINUE &&
|
||||
gdk_x11_drop_filter (event->any.surface, xevent))
|
||||
gdk_x11_drop_filter (filter_surface, xevent))
|
||||
result = GDK_FILTER_REMOVE;
|
||||
|
||||
if (result != GDK_FILTER_CONTINUE)
|
||||
|
Loading…
Reference in New Issue
Block a user