forked from mirror/dwl
feat: focus empty monitor when clicked
This commit is contained in:
parent
2db0a2e8ef
commit
7d8c3ea369
1 changed files with 1 additions and 0 deletions
1
dwl.c
1
dwl.c
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue