Commit de2ea1eb authored by Matthias Clasen's avatar Matthias Clasen

Revert "gtkwindow: Reset maximize / fullscreen_initially on state changes"

This reverts commit 862e0dab.
parent 167734c1
......@@ -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");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment