summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sway/input_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input_state.c b/sway/input_state.c
index 24678f71..25308a77 100644
--- a/sway/input_state.c
+++ b/sway/input_state.c
@@ -314,7 +314,7 @@ void pointer_mode_update(void) {
314 switch (pointer_state.mode) { 314 switch (pointer_state.mode) {
315 case M_FLOATING | M_DRAGGING: 315 case M_FLOATING | M_DRAGGING:
316 // Update position 316 // Update position
317 switch (config->resizing_key) { 317 switch (config->dragging_key) {
318 case M_LEFT_CLICK: 318 case M_LEFT_CLICK:
319 dx -= pointer_state.left.x; 319 dx -= pointer_state.left.x;
320 dy -= pointer_state.left.y; 320 dy -= pointer_state.left.y;