Explicitly specify frame for cursor warping conditional

This commit is contained in:
James Ferguson 2018-08-28 08:47:01 -04:00
parent f00e02e4f5
commit dda90d8e20

View file

@ -612,7 +612,7 @@ for internal use only."
(when (or (< win-x 0) (when (or (< win-x 0)
(< win-y 0) (< win-y 0)
(> win-x (frame-pixel-width frame)) (> win-x (frame-pixel-width frame))
(> win-y (frame-pixel-height))) (> win-y (frame-pixel-height frame)))
(xcb:+request exwm--connection (xcb:+request exwm--connection
(make-instance 'xcb:WarpPointer (make-instance 'xcb:WarpPointer
:src-window xcb:Window:None :src-window xcb:Window:None