Set X11Surface hidden when a surface is minimized

This seems for an SDL XWayland client to restore fullscreen after
unminimize, it needs to see the `_NET_WM_STATE_HIDDEN` state get set
and unset.

In general `_NET_WM_STATE_HIDDEN` does not seem to cover all the
cases covered by waylands "suspended" state, so let's not equate them.

https://github.com/pop-os/cosmic-comp/issues/1510
This commit is contained in:
Ian Douglas Scott 2025-10-02 20:24:11 -07:00 committed by Victoria Brekenfeld
parent 1f9c130410
commit 282d76ef34
3 changed files with 8 additions and 10 deletions

View file

@ -145,4 +145,4 @@ cosmic-protocols = { git = "https://github.com/pop-os//cosmic-protocols", branch
cosmic-client-toolkit = { git = "https://github.com/pop-os//cosmic-protocols", branch = "main" }
[patch.crates-io]
smithay = { git = "https://github.com/smithay/smithay.git", rev = "15e3fcd" }
smithay = { git = "https://github.com/smithay/smithay.git", rev = "d40ada5" }