Skip to content

Implement gtk-layer-shell for nemo-desktop.#3684

Merged
mtwebster merged 1 commit intolinuxmint:masterfrom
mtwebster:gtk-layer-shell
Mar 2, 2026
Merged

Implement gtk-layer-shell for nemo-desktop.#3684
mtwebster merged 1 commit intolinuxmint:masterfrom
mtwebster:gtk-layer-shell

Conversation

@mtwebster
Copy link
Member

@mtwebster mtwebster commented Jan 16, 2026

Implement gtk-layer-shell.

  • Relies on layer-shell for scale changes and resizing to workarea,
    ignores Cinnamon proxy in Wayland mode.
  • If layer-shell is not supported by the compositor, resorts to x11
    backend. (This is checked directly using wl_display, before
    gtk_init() runs)
  • nemo-icon-info: Add widget scale factor as part of the cache key.
    It's possible for nemo-desktop-windows to have different scale
    factors, and icon sizing if affected in these situations.

Tested in: Cinnamon, labwc

@mtwebster mtwebster changed the title [WIP] Implement gtk-layer-shell. [WIP] Implement gtk-layer-shell for nemo-desktop. Jan 16, 2026
mtwebster added a commit to mtwebster/cinnamon-settings-daemon that referenced this pull request Jan 16, 2026
wayland.

Current csd-background runs as an xwayland client and has special
handling built in to muffin to 'make it work'.

This will allow it to run as a native client, if muffin has the
capability, and if csd-background has been built with support.

ref:
linuxmint/muffin#784
linuxmint/nemo#3684
mtwebster added a commit to mtwebster/cinnamon-settings-daemon that referenced this pull request Jan 16, 2026
wayland.

Current csd-background runs as an xwayland client and has special
handling built in to muffin to 'make it work'.

This will allow it to run as a native client, if muffin has the
capability, and if csd-background has been built with support.

ref:
linuxmint/muffin#784
linuxmint/nemo#3684
mtwebster added a commit to mtwebster/cinnamon-settings-daemon that referenced this pull request Jan 27, 2026
wayland.

Current csd-background runs as an xwayland client and has special
handling built in to muffin to 'make it work'.

This will allow it to run as a native client, if muffin has the
capability, and if csd-background has been built with support.

ref:
linuxmint/muffin#784
linuxmint/nemo#3684
mtwebster added a commit to mtwebster/cinnamon-settings-daemon that referenced this pull request Feb 26, 2026
wayland.

Current csd-background runs as an xwayland client and has special
handling built in to muffin to 'make it work'.

This will allow it to run as a native client, if muffin has the
capability, and if csd-background has been built with support.

ref:
linuxmint/muffin#784
linuxmint/nemo#3684
@mtwebster mtwebster changed the title [WIP] Implement gtk-layer-shell for nemo-desktop. Implement gtk-layer-shell for nemo-desktop. Mar 2, 2026
@mtwebster mtwebster force-pushed the gtk-layer-shell branch 2 times, most recently from 9c262cd to 8714f52 Compare March 2, 2026 16:47
- Relies on layer-shell for scale changes and resizing to workarea,
  ignores Cinnamon proxy in Wayland mode.
- If layer-shell is not supported by the compositor, resorts to x11
  backend. (This is checked directly using wl_display, before
  gtk_init() runs)
- nemo-icon-info: Add widget scale factor as part of the cache key.
  It's possible for nemo-desktop-windows to have different scale
  factors, and icon sizing if affected in these situations.

Tested in: Cinnamon, labwc.
mtwebster added a commit to mtwebster/cinnamon-settings-daemon that referenced this pull request Mar 2, 2026
wayland.

Current csd-background runs as an xwayland client and has special
handling built in to muffin to 'make it work'.

This will allow it to run as a native client, if muffin has the
capability, and if csd-background has been built with support.

ref:
linuxmint/muffin#784
linuxmint/nemo#3684
@mtwebster mtwebster merged commit 844a4f6 into linuxmint:master Mar 2, 2026
2 of 3 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.

1 participant