[gtk/readonly-events-1: 1/35] x11: Pass the right surface to the dnd filter
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/readonly-events-1: 1/35] x11: Pass the right surface to the dnd filter
- Date: Tue, 18 Feb 2020 05:22:38 +0000 (UTC)
commit 460b88acd7b5fcef0215977fa76c109d7a75656b
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Feb 18 00:19:26 2020 -0500
x11: Pass the right surface to the dnd filter
gdk/x11/gdkeventsource.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/x11/gdkeventsource.c b/gdk/x11/gdkeventsource.c
index 9c172b51f4..90bf2c326b 100644
--- a/gdk/x11/gdkeventsource.c
+++ b/gdk/x11/gdkeventsource.c
@@ -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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]