Skip to content

wayland/xdg-shell: Implement support for xdg_toplevel.wm_capabilities#780

Merged
mtwebster merged 1 commit intolinuxmint:masterfrom
City-busz:wayland-wm-capabilities
Feb 6, 2026
Merged

wayland/xdg-shell: Implement support for xdg_toplevel.wm_capabilities#780
mtwebster merged 1 commit intolinuxmint:masterfrom
City-busz:wayland-wm-capabilities

Conversation

@City-busz
Copy link
Copy Markdown
Contributor

@City-busz City-busz commented Jan 9, 2026

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

Nothing dynamic yet, we don't have API for this, but we need it to
implement the next version. Sending "all" should be equivalent to v4
anyhow, so this is harmless.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3019>
@mtwebster mtwebster merged commit 7e578fd into linuxmint:master Feb 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants