better now

This commit is contained in:
pony-montana 2023-09-09 10:26:58 +00:00 committed by GitHub
parent ec7a9b95bb
commit 7432d9b5da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
dwl.c
View File

@ -588,7 +588,7 @@ buttonpress(struct wl_listener *listener, void *data)
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);
if (c && (!client_is_unmanaged(c) || client_wants_focus(c)))
focusclient(c, 1);