From e8ad11c51adb3b711d862dbfcc3a9a5be4624e86 Mon Sep 17 00:00:00 2001 From: Louis POIROT--HATTERMANN Date: Thu, 2 Oct 2025 15:54:24 +0200 Subject: [PATCH 1/2] commands/scratchpad: don't hide scratchpad if no pending workspace Fixes: https://github.com/swaywm/sway/issues/8909 (cherry picked from commit ecfea6b8aebcc6a7f663e2f23144e146dbe726d3) --- sway/tree/root.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sway/tree/root.c b/sway/tree/root.c index 33c29d381..cf7170a48 100644 --- a/sway/tree/root.c +++ b/sway/tree/root.c @@ -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; } From 4d0c805f2a36416a94a960fa8b6972e3bee3c0c1 Mon Sep 17 00:00:00 2001 From: llyyr Date: Mon, 29 Sep 2025 16:27:30 +0530 Subject: [PATCH 2/2] sway/input/cursor: send frame event when simulating pointer from tablet (cherry picked from commit 90d3270970cc963454455b572883a051d3f376a1) --- sway/input/cursor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sway/input/cursor.c b/sway/input/cursor.c index 1fd57ec4e..70cf74059 100644 --- a/sway/input/cursor.c +++ b/sway/input/cursor.c @@ -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); } }