mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-08 18:50:15 +01:00
test/xi2: fix compiler warning
protocol-xiwarppointer.c: In function ‘ScreenSetCursorPosition’: protocol-xiwarppointer.c:71:53: warning: declaration of ‘screen’ shadows a global declaration [-Wshadow] Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
bd91b05b63
commit
8f4820be7a
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ __wrap_dixLookupWindow(WindowPtr *win, XID id, ClientPtr client, Mask access)
|
|||
* This function overrides the one in the screen rec.
|
||||
*/
|
||||
static Bool
|
||||
ScreenSetCursorPosition(DeviceIntPtr dev, ScreenPtr screen,
|
||||
ScreenSetCursorPosition(DeviceIntPtr dev, ScreenPtr scr,
|
||||
int x, int y, Bool generateEvent)
|
||||
{
|
||||
assert(x == expected_x);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue