mirror of
https://codeberg.org/dwl/dwl.git
synced 2025-10-26 17:54:14 +00:00
better now
This commit is contained in:
parent
2ddbd4bda4
commit
e41d18d55c
2
dwl.c
2
dwl.c
@ -585,7 +585,7 @@ buttonpress(struct wl_listener *listener, void *data)
|
||||
if (locked)
|
||||
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);
|
||||
if (c && (!client_is_unmanaged(c) || client_wants_focus(c)))
|
||||
focusclient(c, 1);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user