mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Xi: Use WarpPointerProc hook on XI pointer warping implementation
Just like we do with XWarpPointer's. Signed-off-by: Carlos Garnacho <carlosg@gnome.org> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
committed by
Peter Hutterer
parent
ca17f3e9fd
commit
95febc42ca
@@ -186,6 +186,10 @@ ProcXIWarpPointer(ClientPtr client)
|
||||
pDev->last.valuators[1] = y;
|
||||
miPointerUpdateSprite(pDev);
|
||||
|
||||
if (*newScreen->CursorWarpedTo)
|
||||
(*newScreen->CursorWarpedTo) (pDev, newScreen, client,
|
||||
dest, pSprite, x, y);
|
||||
|
||||
/* FIXME: XWarpPointer is supposed to generate an event. It doesn't do it
|
||||
here though. */
|
||||
return Success;
|
||||
|
||||
Reference in New Issue
Block a user