[gtk/wip/coreyberla/dnd-x11: 1/2] gdkdrop-x11: Set xdnd_have_actions in position_filter
- From: Corey Berla <coreyberla src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/coreyberla/dnd-x11: 1/2] gdkdrop-x11: Set xdnd_have_actions in position_filter
- Date: Fri, 26 Aug 2022 23:27:23 +0000 (UTC)
commit 2a078ad3c9c6ad91367bfdcf473bcba40a4f6df7
Author: Corey Berla <corey berla me>
Date: Thu Aug 25 15:38:22 2022 -0700
gdkdrop-x11: Set xdnd_have_actions in position_filter
These came from the source, so set xdnd_have_actions to TRUE
gdk/x11/gdkdrop-x11.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gdk/x11/gdkdrop-x11.c b/gdk/x11/gdkdrop-x11.c
index 05b07ca990..86b794a3dd 100644
--- a/gdk/x11/gdkdrop-x11.c
+++ b/gdk/x11/gdkdrop-x11.c
@@ -655,6 +655,7 @@ xdnd_position_filter (GdkSurface *surface,
impl = GDK_X11_SURFACE (surface);
drop_x11->suggested_action = xdnd_action_from_atom (display, action);
+ drop_x11->xdnd_have_actions = TRUE;
gdk_x11_drop_update_actions (drop_x11);
drop_x11->last_x = x_root / impl->surface_scale;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]