mirror of
https://github.com/swaywm/sway.git
synced 2026-04-22 06:46:27 -04:00
input/tablet: allow moving tiling tablet v2 surfaces by pen input
Closes #5293.
This commit is contained in:
parent
7dec1f8398
commit
ce494a5811
2 changed files with 25 additions and 7 deletions
|
|
@ -235,6 +235,13 @@ static void handle_tablet_tool_tip(struct sway_seat *seat,
|
|||
return;
|
||||
}
|
||||
|
||||
// Handle moving a tiling container
|
||||
if (config->tiling_drag && mod_pressed && !is_floating_or_child &&
|
||||
cont->fullscreen_mode == FULLSCREEN_NONE) {
|
||||
seatop_begin_move_tiling(seat, cont);
|
||||
return;
|
||||
}
|
||||
|
||||
seatop_begin_down(seat, node->sway_container, time_msec, sx, sy);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue