Lookup dragging key when in dragging mode

Fixes bug introduced in 22916e9 where dragging of floating windows was
messed up.
master
Mikkel Oscar Lyderik 9 years ago
parent 0aeee6963d
commit 82af08d8e9

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

Loading…
Cancel
Save