mirror of
https://github.com/NickHu/sway
synced 2024-12-29 22:23:46 +01:00
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:
parent
0aeee6963d
commit
82af08d8e9
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue