diff options
author | Devin J. Pohly <djpohly@gmail.com> | 2020-04-22 22:56:24 -0500 |
---|---|---|
committer | Devin J. Pohly <djpohly@gmail.com> | 2020-04-22 22:56:24 -0500 |
commit | 3593da0e15cf3ffa7933a9f949736e2a356e15a6 (patch) | |
tree | 3df1211aa31ddc6d0a16a9ca261c348674e8fcc7 | |
parent | 240be1af1917ae79797269f48b7128e285f263b8 (diff) |
continue to focus monitor under mouse cursor
-rw-r--r-- | dwl.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. */ |