[gtk+] Revert "window: fix initial shadow width for maximized/fullscreen windows"
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Revert "window: fix initial shadow width for maximized/fullscreen windows"
- Date: Thu, 23 Jul 2015 03:32:50 +0000 (UTC)
commit 8b695cc7279270eabf7d2541cfd592608d0add38
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jul 22 23:16:52 2015 -0400
Revert "window: fix initial shadow width for maximized/fullscreen windows"
This reverts commit 740bcf5fe0ff9dd25856e5d000faff80bcf44eea.
gtk/gtkwindow.c | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index b8a6c1f..9430a48 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -6082,8 +6082,6 @@ gtk_window_map (GtkWidget *widget)
else
gdk_window_unmaximize (gdk_window);
- priv->maximize_initially = FALSE;
-
if (priv->stick_initially)
gdk_window_stick (gdk_window);
else
@@ -6099,8 +6097,6 @@ gtk_window_map (GtkWidget *widget)
else
gdk_window_unfullscreen (gdk_window);
- priv->fullscreen_initially = FALSE;
-
gdk_window_set_keep_above (gdk_window, priv->above_initially);
gdk_window_set_keep_below (gdk_window, priv->below_initially);
@@ -6573,9 +6569,7 @@ get_shadow_width (GtkWidget *widget,
return;
if (priv->maximized ||
- priv->maximize_initially ||
- priv->fullscreen ||
- priv->fullscreen_initially)
+ priv->fullscreen)
return;
if (!gtk_widget_is_toplevel (widget))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]