[gtk+] Revert "gtkwindow: Reset maximize / fullscreen_initially on state changes"
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Revert "gtkwindow: Reset maximize / fullscreen_initially on state changes"
- Date: Thu, 23 Jul 2015 03:32:45 +0000 (UTC)
commit de2ea1ebaabd7550ca6f2a02bfbaa04ac92181fd
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jul 22 23:16:44 2015 -0400
Revert "gtkwindow: Reset maximize / fullscreen_initially on state changes"
This reverts commit 862e0dab03e12c2fb1f6d99dd85c588dccc15dbc.
gtk/gtkwindow.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index c208f58..b8a6c1f 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");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]