mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-27 11:46:31 +00:00
mouse move now changes window monitor
This commit is contained in:
parent
19e712625f
commit
dd50a3ee04
1 changed files with 3 additions and 0 deletions
3
dwl.c
3
dwl.c
|
@ -291,6 +291,9 @@ buttonpress(struct wl_listener *listener, void *data)
|
||||||
wlr_xcursor_manager_set_cursor_image(cursor_mgr,
|
wlr_xcursor_manager_set_cursor_image(cursor_mgr,
|
||||||
"left_ptr", cursor);
|
"left_ptr", cursor);
|
||||||
cursor_mode = CurNormal;
|
cursor_mode = CurNormal;
|
||||||
|
/* Drop the window off on its new monitor */
|
||||||
|
selmon = xytomon(cursor->x, cursor->y);
|
||||||
|
setmon(grabc, selmon);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue