Skip to content

How to disable CSD in Wayland? #514

Description

@geekthought

I am using the tiling wm Sway on Arch and have shadows on floating windows.

swappy-20231127_203445

This seemed to be the same issue a few years ago:

#138

I added the tiling hacks to .config/gtk-3/gtk.css. No luck. How can I remove these shadows?

Added to gtk.css:
Using with tiling WMs

Create/append to ~/.config/gtk-3.0/gtk.css:

/* remove window title from Client-Side Decorations */
.solid-csd headerbar .title {
font-size: 0;
}

/* hide extra window decorations/double border */
window decoration {
margin: 0;
border: none;
padding: 0;
}

Extra GTK3 CSS hacks

Create/append to ~/.config/gtk-3.0/gtk.css:

  • {
    text-shadow: none;
    }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions