wayland/xdg-shell: Implement support for xdg_toplevel.wm_capabilities #780
+29
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
GTK4 since version 4.20 checks if minimize or maximize is supported by the compositor, and disables the window buttons if not:
https://gitlab.gnome.org/GNOME/gtk/-/commit/d73871c670c6aafd24f923cd98ccd559d7e9e14e
Mutter since version 45 reports these capabilities as supported:
https://gitlab.gnome.org/GNOME/mutter/-/commit/3af02e1b57f90145e0a843195d8a96dc2a36e16b
Applying the same commit for Muffin fixes the problem that the minimize and maximize buttons are disabled on Wayland:
linuxmint/wayland#153