summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/xcwm/input.h2
-rw-r--r--src/libxcwm/input.c2
-rw-r--r--src/xtoq/XtoqController.m3
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]);
});
}