Compare commits

...

2 commits

Author SHA1 Message Date
llyyr
4d0c805f2a sway/input/cursor: send frame event when simulating pointer from tablet
(cherry picked from commit 90d3270970)
2025-10-22 00:17:43 +02:00
Louis POIROT--HATTERMANN
e8ad11c51a commands/scratchpad: don't hide scratchpad if no pending workspace
Fixes: https://github.com/swaywm/sway/issues/8909
(cherry picked from commit ecfea6b8ae)
2025-10-22 00:17:43 +02:00
2 changed files with 2 additions and 3 deletions

View file

@ -584,6 +584,7 @@ static void handle_tablet_tool_position(struct sway_cursor *cursor,
} else {
wlr_tablet_v2_tablet_tool_notify_proximity_out(tool->tablet_v2_tool);
pointer_motion(cursor, time_msec, input_device->wlr_device, dx, dy, dx, dy);
wlr_seat_pointer_notify_frame(cursor->seat->wlr_seat);
}
}

View file

@ -214,9 +214,7 @@ void root_scratchpad_hide(struct sway_container *con) {
struct sway_node *focus = seat_get_focus_inactive(seat, &root->node);
struct sway_workspace *ws = con->pending.workspace;
if (con->pending.fullscreen_mode == FULLSCREEN_GLOBAL && !con->pending.workspace) {
// If the container was made fullscreen global while in the scratchpad,
// it should be shown until fullscreen has been disabled
if (!con->pending.workspace) {
return;
}