Lookup dragging key when in dragging mode

Fixes bug introduced in 22916e9 where dragging of floating windows was
messed up.
This commit is contained in:
Mikkel Oscar Lyderik 2015-12-14 22:44:50 +01:00
parent 0aeee6963d
commit 82af08d8e9

View file

@ -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;