mirror of
https://github.com/vale981/spectrwm
synced 2025-03-05 09:51:38 -05:00
Move mouse back onto the border to retain focus on resized window.
This commit is contained in:
parent
0139236e71
commit
0cde83bdc3
1 changed files with 2 additions and 0 deletions
|
@ -1696,6 +1696,8 @@ resize(struct ws_win *win)
|
|||
break;
|
||||
}
|
||||
} while (ev.type != ButtonRelease);
|
||||
XWarpPointer(display, None, win->id, 0, 0, 0, 0, win->g.w - 1,
|
||||
win->g.h - 1);
|
||||
XUngrabPointer(display, CurrentTime);
|
||||
|
||||
/* drain events */
|
||||
|
|
Loading…
Add table
Reference in a new issue