[Xfce4-commits] [xfce/xfdesktop] 01/01: Simplify

noreply at xfce.org noreply at xfce.org
Mon Jun 17 00:54:31 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 ec90b71828be8a23f1f0f0f1f076214737f99762
Author: Andre Miranda <andreldm at xfce.org>
Date:   Sun Jun 16 19:54:00 2019 -0300

    Simplify
    
    The desktop window shall *never* be decorated
---
 src/xfce-desktop.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/xfce-desktop.c b/src/xfce-desktop.c
index 443764a..40d7403 100644
--- a/src/xfce-desktop.c
+++ b/src/xfce-desktop.c
@@ -1168,10 +1168,7 @@ xfce_desktop_realize(GtkWidget *widget)
     GTK_WIDGET_CLASS(xfce_desktop_parent_class)->realize(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_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