Explicitly specify frame for cursor warping conditional

This commit is contained in:
James Ferguson 2018-08-28 08:47:01 -04:00 committed by Chris Feng
parent 2399a0bb22
commit dd57c5eebb

View file

@ -613,7 +613,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