aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikkel Oscar Lyderik <mikkeloscar@gmail.com>2015-12-14 22:44:50 +0100
committerMikkel Oscar Lyderik <mikkeloscar@gmail.com>2015-12-14 22:44:50 +0100
commit82af08d8e9c6b3d1770f022ed0e38e79bba582ea (patch)
treee7aceee4b3332df45558acf941800281e649e306
parent0aeee6963d551d270d871d1c493719cd2ca76226 (diff)
Lookup dragging key when in dragging mode
Fixes bug introduced in 22916e9 where dragging of floating windows was messed up.
-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) {
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;