[gtk+] window: Update decorations when updating state
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] window: Update decorations when updating state
- Date: Fri, 13 Dec 2013 02:55:29 +0000 (UTC)
commit 01f5ff765b7610c0f808486b2b11c1d15ba38399
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Dec 12 21:40:07 2013 -0500
window: Update decorations when updating state
This fixes the maximize button not updating...
gtk/gtkwindow.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 90306ca..e0dca5b 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -5220,7 +5220,7 @@ create_decoration (GtkWidget *widget)
priv->title_box = priv->titlebar;
}
- update_csd_visibility (window);
+ update_window_buttons (window);
}
static void
@@ -6756,7 +6756,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_style_classes (window);
- update_csd_visibility (window);
+ update_window_buttons (window);
gtk_widget_queue_resize (widget);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]