mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-26 19:26:32 +00:00
continue to focus monitor under mouse cursor
This commit is contained in:
parent
240be1af19
commit
3593da0e15
1 changed files with 3 additions and 0 deletions
3
dwl.c
3
dwl.c
|
@ -550,6 +550,9 @@ motionabsolute(struct wl_listener *listener, void *data)
|
|||
void
|
||||
motionnotify(uint32_t time)
|
||||
{
|
||||
/* Update selmon (even while dragging a window) */
|
||||
selmon = xytomon(cursor->x, cursor->y);
|
||||
|
||||
/* If we are currently grabbing the mouse, handle and return */
|
||||
if (cursor_mode == CurMove) {
|
||||
/* Move the grabbed client to the new position. */
|
||||
|
|
Loading…
Reference in a new issue