sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit a6dc829ed00585755adeb25a18373b163f9a94c9
parent c12169953abd393506367b949a63de5928ad9518
Author: Ronan Pigott <rpigott@berkeley.edu>
Date:   Sun, 18 Apr 2021 15:08:09 -0700

xdg-shell: ignore unecessary fullscreen request ouput hints

Diffstat:
Msway/desktop/xdg_shell.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sway/desktop/xdg_shell.c b/sway/desktop/xdg_shell.c @@ -358,7 +358,8 @@ static void handle_request_fullscreen(struct wl_listener *listener, void *data) if (e->fullscreen && e->output && e->output->data) { struct sway_output *output = e->output->data; struct sway_workspace *ws = output_get_active_workspace(output); - if (ws && !container_is_scratchpad_hidden(container)) { + if (ws && !container_is_scratchpad_hidden(container) && + container->pending.workspace != ws) { if (container_is_floating(container)) { workspace_add_floating(ws, container); } else {