summaryrefslogtreecommitdiff
path: root/src/xwidget.h
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-01-28 11:08:20 +0800
committerPo Lu <luangruo@yahoo.com>2022-01-28 11:08:20 +0800
commit2f0d67b047d6d84d51dd388fe19d46e1d2b72f9c (patch)
tree2e9f7c1e7e198c4da54441bb2dc9af67910de6d1 /src/xwidget.h
parentbc404cd8ea911917f56661d16a96c4da15a3ffbe (diff)
downloademacs-2f0d67b047d6d84d51dd388fe19d46e1d2b72f9c.tar.gz
emacs-2f0d67b047d6d84d51dd388fe19d46e1d2b72f9c.tar.bz2
emacs-2f0d67b047d6d84d51dd388fe19d46e1d2b72f9c.zip
Clear xwidget passive grab whenever a drag begins
* src/xwidget.c (xv_drag_begin_cb): New function. (xwidget_view_from_window): Attach said function to grab widget when a grab starts. * src/xwidget.h (struct xwidget_view): New field `passive_grab_drag_signal'.
Diffstat (limited to 'src/xwidget.h')
-rw-r--r--src/xwidget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xwidget.h b/src/xwidget.h
index 79dee37695d..8b47a0b9046 100644
--- a/src/xwidget.h
+++ b/src/xwidget.h
@@ -122,6 +122,7 @@ struct xwidget_view
GdkWindow *last_crossing_window;
GtkWidget *passive_grab;
guint passive_grab_destruction_signal;
+ guint passive_grab_drag_signal;
#else
struct pgtk_display_info *dpyinfo;
GtkWidget *widget;