summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBalló György <[email protected]>2026-01-03 17:01:52 +0100
committerLuke from DC <[email protected]>2026-01-04 18:49:48 +0000
commit2445887b3947eb99bd4d430b4f1dff9ed2467d73 (patch)
tree7a5fce7e8b931f9db5ea9737d58719500de016e9 /src
parent866765ea8f8dcbf80843645cf7805cc6025c000b (diff)
downloadcaja-master.tar.bz2
caja-master.tar.xz
Desktop: really ensure that desktop window is never decoratedHEADmaster
The `decorated` property needs to be set before the window is realized, otherwise it has no effect. Set it directly in the constructor. Fixes: 1cc61bef81c28fba1277cd996c32621b441da068
Diffstat (limited to 'src')
-rw-r--r--src/caja-desktop-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/caja-desktop-window.c b/src/caja-desktop-window.c
index 72a2bcab..8193c650 100644
--- a/src/caja-desktop-window.c
+++ b/src/caja-desktop-window.c
@@ -116,7 +116,6 @@ caja_desktop_window_init (CajaDesktopWindow *window)
gtk_widget_hide (CAJA_WINDOW (window)->details->statusbar);
gtk_widget_hide (CAJA_WINDOW (window)->details->menubar);
- gtk_window_set_decorated (GTK_WINDOW (window), FALSE);
/* Don't allow close action on desktop */
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
@@ -220,6 +219,7 @@ caja_desktop_window_new (CajaApplication *application,
"width_request", width_request,
"height_request", height_request,
"screen", screen,
+ "decorated", FALSE,
NULL));
/* Stop wrong desktop window size in GTK 3.20*/
/* We don't want to set a default size, which the parent does, since this */