[gtk+] csd: fix a resizing artifacts when unmaximizing



commit 776111fadff256fa61b118c426835b7f096df2a5
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jul 5 14:25:30 2013 -0400

    csd: fix a resizing artifacts when unmaximizing
    
    When using Super-up/down to maximize and unmaximize a csd window,
    the titlebar and content was not picking up the window borders.

 gtk/gtkwindow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 42cf69f..737a3b5 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -6619,7 +6619,7 @@ gtk_window_state_event (GtkWidget           *widget,
   if (event->changed_mask & (GDK_WINDOW_STATE_FULLSCREEN | GDK_WINDOW_STATE_MAXIMIZED | 
GDK_WINDOW_STATE_TILED))
     {
       update_window_buttons (window);
-      gtk_widget_queue_draw (GTK_WIDGET (window));
+      gtk_widget_queue_resize (widget);
     }
 
   return FALSE;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]