summaryrefslogtreecommitdiff
path: root/sway/handlers.c
diff options
context:
space:
mode:
authorS. Christoffer Eliesen <[email protected]>2015-10-29 18:02:02 +0100
committerS. Christoffer Eliesen <[email protected]>2015-10-29 18:02:02 +0100
commit5ba47d4a44b21500ed3af2670cb1c807b7fed850 (patch)
tree87858d863df950de9e799149bec84817f1dc3ecc /sway/handlers.c
parent78ca6197697d4f07eddf0c544daff85603adab90 (diff)
input_state: Remove mouse_origin (x&y). Query wlc instead.
Diffstat (limited to 'sway/handlers.c')
-rw-r--r--sway/handlers.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sway/handlers.c b/sway/handlers.c
index e1612dc1..510b4261 100644
--- a/sway/handlers.c
+++ b/sway/handlers.c
@@ -343,10 +343,6 @@ static bool handle_pointer_button(wlc_handle view, uint32_t time, const struct w
// Update view pointer is on
pointer_state.view = container_under_pointer();
- // Update pointer origin
- pointer_state.origin.x = origin->x;
- pointer_state.origin.y = origin->y;
-
// Update pointer_state
switch (button) {
case M_LEFT_CLICK: