[client] rename warpMouse to warpPointer

This is more truthful in what it does; the pointer may be backed by a
non-mouse device.
This commit is contained in:
Tudor Brindus
2021-01-16 13:10:52 -05:00
committed by Geoffrey McRae
parent d926319230
commit f1033fa4bb
5 changed files with 13 additions and 13 deletions

View File

@@ -386,7 +386,7 @@ static void waylandUngrabKeyboard(void)
}
}
static void waylandWarpMouse(int x, int y, bool exiting)
static void waylandWarpPointer(int x, int y, bool exiting)
{
// This is an unsupported operation on Wayland.
}
@@ -773,7 +773,7 @@ struct LG_DisplayServerOps LGDS_Wayland =
.ungrabPointer = waylandUngrabPointer,
.grabKeyboard = waylandGrabKeyboard,
.ungrabKeyboard = waylandUngrabKeyboard,
.warpMouse = waylandWarpMouse,
.warpPointer = waylandWarpPointer,
.cbInit = waylandCBInit,
.cbNotice = waylandCBNotice,