summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-07-05 14:25:30 -0400
committerMatthias Clasen <mclasen@redhat.com>2013-07-05 15:53:30 -0400
commit776111fadff256fa61b118c426835b7f096df2a5 (patch)
tree2faf423dfbae11edf46a3cb718e064b827e85499
parentc2196e596f7947d181eb4ccca38aff145ee4ef57 (diff)
downloadgtk+-776111fadff256fa61b118c426835b7f096df2a5.tar.gz
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.
-rw-r--r--gtk/gtkwindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 42cf69f416..737a3b56dc 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;