mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
Revert "window: fix initial shadow width for maximized/fullscreen windows"
This reverts commit 740bcf5fe0
.
This commit is contained in:
parent
de2ea1ebaa
commit
8b695cc727
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user