mirror of
https://github.com/swaywm/sway
synced 2024-11-18 04:33:59 +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
@ -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 New Issue
Block a user