diff options
author | 2020-06-04 15:58:17 -0400 | |
---|---|---|
committer | 2020-06-07 10:46:14 +0200 | |
commit | ce494a5811ddd01b09295ae1a91596f74ee1823c (patch) | |
tree | 95236006998789a0adc707e6869fa1096fc506d6 /sway/input/seatop_default.c | |
parent | input/tablet: allow moving floating tablet v2 surfaces by pen input (diff) | |
download | sway-ce494a5811ddd01b09295ae1a91596f74ee1823c.tar.gz sway-ce494a5811ddd01b09295ae1a91596f74ee1823c.tar.zst sway-ce494a5811ddd01b09295ae1a91596f74ee1823c.zip |
input/tablet: allow moving tiling tablet v2 surfaces by pen input
Closes #5293.
Diffstat (limited to 'sway/input/seatop_default.c')
-rw-r--r-- | sway/input/seatop_default.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sway/input/seatop_default.c b/sway/input/seatop_default.c index 46595fdd..3ef816fd 100644 --- a/sway/input/seatop_default.c +++ b/sway/input/seatop_default.c | |||
@@ -235,6 +235,13 @@ static void handle_tablet_tool_tip(struct sway_seat *seat, | |||
235 | return; | 235 | return; |
236 | } | 236 | } |
237 | 237 | ||
238 | // Handle moving a tiling container | ||
239 | if (config->tiling_drag && mod_pressed && !is_floating_or_child && | ||
240 | cont->fullscreen_mode == FULLSCREEN_NONE) { | ||
241 | seatop_begin_move_tiling(seat, cont); | ||
242 | return; | ||
243 | } | ||
244 | |||
238 | seatop_begin_down(seat, node->sway_container, time_msec, sx, sy); | 245 | seatop_begin_down(seat, node->sway_container, time_msec, sx, sy); |
239 | } | 246 | } |
240 | 247 | ||