mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-04-05 07:15:31 -04:00
better now
This commit is contained in:
parent
ec7a9b95bb
commit
7432d9b5da
1 changed files with 1 additions and 1 deletions
2
dwl.c
2
dwl.c
|
|
@ -588,7 +588,7 @@ buttonpress(struct wl_listener *listener, void *data)
|
||||||
SOMETHING BROKEN HERE.
|
SOMETHING BROKEN HERE.
|
||||||
Eliminate this part of code solved the problems described in issue #476.
|
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);
|
||||||
if (c && (!client_is_unmanaged(c) || client_wants_focus(c)))
|
if (c && (!client_is_unmanaged(c) || client_wants_focus(c)))
|
||||||
focusclient(c, 1);
|
focusclient(c, 1);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue