diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2012-10-31 12:23:19 +0000 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2012-11-21 14:02:27 +0000 |
commit | 10092de07989e1b2ce86fdd2542ee65fd5f099b7 (patch) | |
tree | 5dc44a0f673295e1fa7134aeb1aa3219348a1236 | |
parent | 53efa25ce7db264b54be980d1ab1088d952bbe0d (diff) |
Remove unused button parameter to xcwm_input_mouse_motion()
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
-rw-r--r-- | include/xcwm/input.h | 2 | ||||
-rw-r--r-- | src/libxcwm/input.c | 2 | ||||
-rw-r--r-- | src/xtoq/XtoqController.m | 3 |
3 files changed, 3 insertions, 4 deletions
diff --git a/include/xcwm/input.h b/include/xcwm/input.h index 4316ad8..8f9d114 100644 --- a/include/xcwm/input.h +++ b/include/xcwm/input.h @@ -62,7 +62,7 @@ xcwm_input_mouse_button_event(xcwm_window_t *window, * @param y - y coordinate */ void -xcwm_input_mouse_motion(xcwm_context_t *context, long x, long y, int button); +xcwm_input_mouse_motion(xcwm_context_t *context, long x, long y); #endif /* _XCWM_INPUT_H_ */ diff --git a/src/libxcwm/input.c b/src/libxcwm/input.c index 55e598a..2fe00c8 100644 --- a/src/libxcwm/input.c +++ b/src/libxcwm/input.c @@ -72,7 +72,7 @@ xcwm_input_mouse_button_event(xcwm_window_t *window, } void -xcwm_input_mouse_motion(xcwm_context_t *context, long x, long y, int button) +xcwm_input_mouse_motion(xcwm_context_t *context, long x, long y) { xcb_test_fake_input(context->conn, XCB_MOTION_NOTIFY, 0, XCB_CURRENT_TIME, context->root_window->window_id, x, y, 0); diff --git a/src/xtoq/XtoqController.m b/src/xtoq/XtoqController.m index 8cef877..eebc09d 100644 --- a/src/xtoq/XtoqController.m +++ b/src/xtoq/XtoqController.m @@ -191,8 +191,7 @@ (rootContext, [xNum intValue], //Converting OSX coordinates to X11 - height - WINDOWBAR - [yNum intValue], - 0); + height - WINDOWBAR - [yNum intValue]); }); } |