mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-04-06 07:15:31 -04:00
better now
This commit is contained in:
parent
2ddbd4bda4
commit
e41d18d55c
1 changed files with 1 additions and 1 deletions
2
dwl.c
2
dwl.c
|
|
@ -585,7 +585,7 @@ buttonpress(struct wl_listener *listener, void *data)
|
||||||
if (locked)
|
if (locked)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
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