[PATCH 1/2] wmaker: grab the keyboard during partial screenshot selection
1 view
Skip to first unread message
david.m...@gmail.com
unread,
Jun 13, 2026, 9:38:18 AMJun 13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Window Maker Development
imageCaptureArea() already looked for XK_Escape in its event loop but only grabbed the pointer, so the KeyPress went to the focused client and the cancel branch was unreachable. Grab the keyboard for the duration of the rubber-band selection, erase the XOR rectangle when Escape aborts mid-drag, and release the keyboard on every exit path. --- src/screen.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)