[Xfce4-commits] [xfce/xfwm4] 01/01: And fix other properties as well

noreply at xfce.org noreply at xfce.org
Thu Feb 5 22:50:02 CET 2015


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

olivier pushed a commit to branch master
in repository xfce/xfwm4.

commit fb4eca48fd5726b5f501a8d6fcfce8f87331015d
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Thu Feb 5 22:49:47 2015 +0100

    And fix other properties as well
    
    Signed-off-by: Olivier Fourdan <fourdan at xfce.org>
---
 src/tabwin.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/tabwin.c b/src/tabwin.c
index 376345a..2d20a11 100644
--- a/src/tabwin.c
+++ b/src/tabwin.c
@@ -831,7 +831,6 @@ tabwinCreateWidget (Tabwin *tabwin, ScreenInfo *screen_info, gint monitor_num)
 
     gtk_window_set_screen (GTK_WINDOW (tabwin_widget), screen_info->gscr);
     gtk_widget_set_name (GTK_WIDGET (tabwin_widget), "xfwm4-tabwin");
-    gtk_widget_realize (GTK_WIDGET (tabwin_widget));
 
     /* Check for compositing and set colormap for it */
     screen = gtk_widget_get_screen (GTK_WIDGET (tabwin_widget));
@@ -840,6 +839,8 @@ tabwinCreateWidget (Tabwin *tabwin, ScreenInfo *screen_info, gint monitor_num)
         if(cmap)
             gtk_widget_set_colormap (GTK_WIDGET (tabwin_widget), cmap);
     }
+    gtk_widget_set_app_paintable (GTK_WIDGET (tabwin_widget), TRUE);
+    gtk_widget_realize (GTK_WIDGET (tabwin_widget));
 
     if (tabwin->icon_list == NULL)
     {
@@ -847,7 +848,6 @@ tabwinCreateWidget (Tabwin *tabwin, ScreenInfo *screen_info, gint monitor_num)
     }
     gtk_widget_style_get (GTK_WIDGET(tabwin_widget), "border-radius", &border_radius, NULL);
     gtk_container_set_border_width (GTK_CONTAINER (tabwin_widget), border_radius + 4);
-    gtk_widget_set_app_paintable (GTK_WIDGET (tabwin_widget), TRUE);
     gtk_window_set_position (GTK_WINDOW (tabwin_widget), GTK_WIN_POS_NONE);
     gdk_screen_get_monitor_geometry (screen_info->gscr, tabwin_widget->monitor_num, &monitor);
     gtk_window_move (GTK_WINDOW (tabwin_widget), monitor.x + monitor.width / 2,

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


More information about the Xfce4-commits mailing list