Skip to content

Commit 1e1ed33

Browse files
authored
csd-background: Remove decoration from desktop window (#434)
Without this, window decoration is drawn and the background is shifted in XWayland if `GTK_CSD=1` environment variable is set.
1 parent 4d81f83 commit 1e1ed33

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

plugins/background/monitor-background.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ build_monitor_background (MonitorBackground *mb)
6363

6464
mb->window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
6565
gtk_window_set_type_hint (GTK_WINDOW (mb->window), GDK_WINDOW_TYPE_HINT_DESKTOP);
66+
gtk_window_set_decorated (GTK_WINDOW (mb->window), FALSE);
6667

6768
// Set keep below so muffin recognizes the backgrounds and keeps them
6869
// at the bottom of the bottom window layer (under file managers, etc..)

0 commit comments

Comments
 (0)