From 82af08d8e9c6b3d1770f022ed0e38e79bba582ea Mon Sep 17 00:00:00 2001 From: Mikkel Oscar Lyderik Date: Mon, 14 Dec 2015 22:44:50 +0100 Subject: Lookup dragging key when in dragging mode Fixes bug introduced in 22916e9 where dragging of floating windows was messed up. --- sway/input_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { switch (pointer_state.mode) { case M_FLOATING | M_DRAGGING: // Update position - switch (config->resizing_key) { + switch (config->dragging_key) { case M_LEFT_CLICK: dx -= pointer_state.left.x; dy -= pointer_state.left.y; -- cgit v1.2.3