diff options
Diffstat (limited to 'sway/handlers.c')
-rw-r--r-- | sway/handlers.c | 4 |
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 | |||
343 | // Update view pointer is on | 343 | // Update view pointer is on |
344 | pointer_state.view = container_under_pointer(); | 344 | pointer_state.view = container_under_pointer(); |
345 | 345 | ||
346 | // Update pointer origin | ||
347 | pointer_state.origin.x = origin->x; | ||
348 | pointer_state.origin.y = origin->y; | ||
349 | |||
350 | // Update pointer_state | 346 | // Update pointer_state |
351 | switch (button) { | 347 | switch (button) { |
352 | case M_LEFT_CLICK: | 348 | case M_LEFT_CLICK: |