forked from AuroraMiddleware/gtk
Add a style class to fullscreened windows
This will let us tweak stuff that gets shown in fullscreen windows, https://bugzilla.gnome.org/show_bug.cgi?id=654051
This commit is contained in:
parent
8e1878bc32
commit
92e52fd188
@ -7149,6 +7149,11 @@ update_window_style_classes (GtkWindow *window)
|
||||
gtk_style_context_add_class (context, "maximized");
|
||||
else
|
||||
gtk_style_context_remove_class (context, "maximized");
|
||||
|
||||
if (priv->fullscreen)
|
||||
gtk_style_context_add_class (context, "fullscreen");
|
||||
else
|
||||
gtk_style_context_remove_class (context, "fullscreen");
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user