diff options
author | Squibid <me@zacharyscheiman.com> | 2025-02-16 22:14:52 -0600 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2025-02-16 22:14:52 -0600 |
commit | 667fe80afccb94135d255cda26ed8f1c140de474 (patch) | |
tree | 087e2898732cebb8fd9795a0dee59f7d73322432 /dwl.c | |
parent | f0020dc4d253eb49e33446e9caea6852c55b62d6 (diff) | |
download | dwl-667fe80afccb94135d255cda26ed8f1c140de474.tar.gz dwl-667fe80afccb94135d255cda26ed8f1c140de474.tar.bz2 dwl-667fe80afccb94135d255cda26ed8f1c140de474.zip |
Revert "Replicate dwm behavior for sloppyfocus"
I find this completely unintuitive, and annoying to use.
This reverts commit 0047ff740a4f8da430cecdb19084f626bf535b21.
Diffstat (limited to 'dwl.c')
-rw-r--r-- | dwl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2759,7 +2759,7 @@ pointerfocus(Client *c, struct wlr_surface *surface, double sx, double sy, { struct timespec now; - if (surface != seat->pointer_state.focused_surface && + if ((!active_constraint || active_constraint->surface != surface) && sloppyfocus && time && c && !client_is_unmanaged(c)) focusclient(c, 0); |