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
|
@ -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…
Reference in New Issue
Block a user