mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-04-06 07:15:31 -04:00
dirty solution, hope to find whats going on
This commit is contained in:
parent
960c32a7d8
commit
ec7a9b95bb
1 changed files with 4 additions and 0 deletions
4
dwl.c
4
dwl.c
|
|
@ -584,6 +584,9 @@ buttonpress(struct wl_listener *listener, void *data)
|
||||||
cursor_mode = CurPressed;
|
cursor_mode = CurPressed;
|
||||||
if (locked)
|
if (locked)
|
||||||
break;
|
break;
|
||||||
|
/*
|
||||||
|
SOMETHING BROKEN HERE.
|
||||||
|
Eliminate this part of code solved the problems described in issue #476.
|
||||||
|
|
||||||
/* Change focus if the button was _pressed_ over a client */
|
/* Change focus if the button was _pressed_ over a client */
|
||||||
xytonode(cursor->x, cursor->y, NULL, &c, NULL, NULL, NULL);
|
xytonode(cursor->x, cursor->y, NULL, &c, NULL, NULL, NULL);
|
||||||
|
|
@ -600,6 +603,7 @@ buttonpress(struct wl_listener *listener, void *data)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
*/
|
||||||
case WLR_BUTTON_RELEASED:
|
case WLR_BUTTON_RELEASED:
|
||||||
/* If you released any buttons, we exit interactive move/resize mode. */
|
/* If you released any buttons, we exit interactive move/resize mode. */
|
||||||
if (!locked && cursor_mode != CurNormal && cursor_mode != CurPressed) {
|
if (!locked && cursor_mode != CurNormal && cursor_mode != CurPressed) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue