Popup window should not be draggable while mouse still pressed, and do

not try to work out theme if no pane. From Michael Grant in GitHub issue
4330.
This commit is contained in:
nicm
2025-04-02 09:12:05 +00:00
parent ef923d28ff
commit 9b37b9285e
2 changed files with 6 additions and 2 deletions

View File

@ -531,7 +531,7 @@ popup_key_cb(struct client *c, void *data, struct key_event *event)
(border == LEFT || border == TOP))
goto menu;
if (((m->b & MOUSE_MASK_MODIFIERS) == MOUSE_MASK_META) ||
border != NONE) {
(border != NONE && !MOUSE_DRAG(m->lb))) {
if (!MOUSE_DRAG(m->b))
goto out;
if (MOUSE_BUTTONS(m->lb) == MOUSE_BUTTON_1)