diff options
author | Rutherther <rutherther@proton.me> | 2024-05-07 19:14:32 +0200 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-07-03 13:35:29 -0600 |
commit | 7d8c3ea3695de248aa1975def5839b0ffd34d198 (patch) | |
tree | f0fe910237d9acdaadb60b712031dfcbc39fdb36 | |
parent | 2db0a2e8ef57acceeb3331a312dc3388a1710b29 (diff) |
feat: focus empty monitor when clicked
-rw-r--r-- | dwl.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -604,6 +604,7 @@ buttonpress(struct wl_listener *listener, void *data) switch (event->state) { case WLR_BUTTON_PRESSED: cursor_mode = CurPressed; + selmon = xytomon(cursor->x, cursor->y); if (locked) break; |