debug output format fix in ephyrProcessMouseMotion()
xorg/xserver/hw/kdrive/ephyr/ephyr.c:979:9: error: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘ScreenPtr’ [-Werror=format=] This looks like a genuine bug, and ephyrCursorScreen->myNum was meant here rather than ephyrCursorScreen v2: Insert a ":" as well Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
8cc88fbe9e
commit
1f96a0d273
|
@ -977,8 +977,8 @@ ephyrProcessMouseMotion(xcb_generic_event_t *xev)
|
|||
|
||||
if (ephyrCursorScreen != screen->pScreen) {
|
||||
EPHYR_LOG("warping mouse cursor. "
|
||||
"cur_screen%d, motion_screen:%d\n",
|
||||
ephyrCursorScreen, screen->pScreen->myNum);
|
||||
"cur_screen:%d, motion_screen:%d\n",
|
||||
ephyrCursorScreen->myNum, screen->pScreen->myNum);
|
||||
ephyrWarpCursor(inputInfo.pointer, screen->pScreen,
|
||||
motion->event_x, motion->event_y);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user