summaryrefslogtreecommitdiff
path: root/msdos
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-03-25 16:15:57 +0800
committerPo Lu <luangruo@yahoo.com>2022-03-25 16:22:45 +0800
commitf38bdb0327c5806286ab97687e2823d65d8e184a (patch)
tree493dca067c6c4267959cfa26097f6c59f0bdf113 /msdos
parent9d2dcd184125320014aee9cfa5dd72ebab107778 (diff)
downloademacs-f38bdb0327c5806286ab97687e2823d65d8e184a.tar.gz
Take window shapes into account when processing drag and drop
* configure.ac: Test for the Nonrectangular Window Shape extension. * msdos/sed1v2.inp: Update. * src/xterm.c (struct x_client_list_window): New fields for shapes. (x_dnd_free_toplevels): Free shapes. (x_dnd_compute_toplevels): Populate window shapes. (x_dnd_get_target_window_2): New function. (x_dnd_get_target_window_1): Test WM state of window before taking it into account. (x_dnd_begin_drag_and_drop): Use outer window as the initial last seen window. (x_dnd_update_state): Small fixes to frame tracking. (handle_one_xevent): Handle ShapeNotify events correctly. (x_term_init): Test for the Nonrectangular Window Shape extension. * src/xterm.h (struct x_display_info): New atom `WM_STATE'.
Diffstat (limited to 'msdos')
-rw-r--r--msdos/sed1v2.inp2
1 files changed, 2 insertions, 0 deletions
diff --git a/msdos/sed1v2.inp b/msdos/sed1v2.inp
index 24ae079db1b..4cc733ee79e 100644
--- a/msdos/sed1v2.inp
+++ b/msdos/sed1v2.inp
@@ -119,6 +119,8 @@ s/ *@WEBP_LIBS@//
/^XDBE_CFLAGS *=/s/@XDBE_CFLAGS@//
/^XCOMPOSITE_LIBS *=/s/@XCOMPOSITE_LIBS@//
/^XCOMPOSITE_CFLAGS *=/s/@XCOMPOSITE_CFLAGS@//
+/^XSHAPE_LIBS *=/s/@XSHAPE_LIBS@//
+/^XSHAPE_CFLAGS *=/s/@XSHAPE_CFLAGS@//
/^XINPUT_LIBS *=/s/@XINPUT_LIBS@//
/^XINPUT_CFLAGS *=/s/@XINPUT_CFLAGS@//
/^XSYNC_LIBS *=/s/@XSYNC_LIBS@//