[Xfce4-commits] [xfce/xfdesktop] 01/01: Ensure that CSD is not applied to desktop window (Bug #15241)

noreply at xfce.org noreply at xfce.org
Mon Jun 17 00:47:20 CEST 2019


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfdesktop.

commit bb2a2fae9e3da79434c1c1e71a30755cc23fd50e
Author: Theo Linkspfeifer <lastonestanding at tutanota.com>
Date:   Thu Jun 13 14:41:26 2019 +0200

    Ensure that CSD is not applied to desktop window (Bug #15241)
---
 src/xfce-desktop.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/xfce-desktop.c b/src/xfce-desktop.c
index 099efc0..443764a 100644
--- a/src/xfce-desktop.c
+++ b/src/xfce-desktop.c
@@ -1169,6 +1169,9 @@ xfce_desktop_realize(GtkWidget *widget)
 
     gtk_window_set_title(GTK_WINDOW(desktop), _("Desktop"));
 
+    if(g_strcmp0(g_getenv("GTK_CSD"), "1") == 0)
+        gtk_window_set_decorated(GTK_WINDOW(desktop), FALSE);
+
     gtk_widget_set_size_request(GTK_WIDGET(desktop), sw, sh);
     gtk_window_move(GTK_WINDOW(desktop), 0, 0);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list