diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-12-20 12:44:16 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-12-21 13:04:09 +1000 |
commit | 8f4820be7a2e0f6e286ddc85c4b75bccdbe8a730 (patch) | |
tree | 963547c44d4a4f3f2e025622a5920beb594a060c /test | |
parent | bd91b05b631f13afd1f7a9d6cbc4f0c5408b523a (diff) |
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>
Diffstat (limited to 'test')
-rw-r--r-- | test/xi2/protocol-xiwarppointer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/xi2/protocol-xiwarppointer.c b/test/xi2/protocol-xiwarppointer.c index 4bea333c3..f7986c1eb 100644 --- a/test/xi2/protocol-xiwarppointer.c +++ b/test/xi2/protocol-xiwarppointer.c @@ -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); |