mirror of
https://github.com/emacs-exwm/exwm.git
synced 2024-11-27 06:48:00 +01:00
Fix cursor warping conditional for cursor left of frame
This commit is contained in:
parent
5f6b866cfe
commit
2399a0bb22
1 changed files with 3 additions and 1 deletions
|
@ -610,7 +610,9 @@ for internal use only."
|
|||
(make-instance 'xcb:QueryPointer
|
||||
:window (frame-parameter frame
|
||||
'exwm-outer-id)))
|
||||
(when (or (> win-x (frame-pixel-width frame))
|
||||
(when (or (< win-x 0)
|
||||
(< win-y 0)
|
||||
(> win-x (frame-pixel-width frame))
|
||||
(> win-y (frame-pixel-height)))
|
||||
(xcb:+request exwm--connection
|
||||
(make-instance 'xcb:WarpPointer
|
||||
|
|
Loading…
Reference in a new issue