From de2ea1ebaabd7550ca6f2a02bfbaa04ac92181fd Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 22 Jul 2015 23:16:44 -0400 Subject: [PATCH] Revert "gtkwindow: Reset maximize / fullscreen_initially on state changes" This reverts commit 862e0dab03e12c2fb1f6d99dd85c588dccc15dbc. --- gtk/gtkwindow.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index c208f58d72..b8a6c1f7bb 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -7605,7 +7605,6 @@ gtk_window_state_event (GtkWidget *widget, { priv->fullscreen = (event->new_window_state & GDK_WINDOW_STATE_FULLSCREEN) ? 1 : 0; - priv->fullscreen_initially = priv->fullscreen; } if (event->changed_mask & GDK_WINDOW_STATE_TILED) @@ -7618,7 +7617,6 @@ gtk_window_state_event (GtkWidget *widget, { priv->maximized = (event->new_window_state & GDK_WINDOW_STATE_MAXIMIZED) ? 1 : 0; - priv->maximize_initially = priv->maximized; g_object_notify (G_OBJECT (widget), "is-maximized"); }