Commit 8a2c09d7 authored by Adrien Plazas's avatar Adrien Plazas
Browse files

gtkwindow: Maximize resizable windows

This will make them look better on phone screens.
parent 14d0eaf7
......@@ -7361,6 +7361,9 @@ gtk_window_realize (GtkWidget *widget)
window = GTK_WINDOW (widget);
priv = window->priv;
if (gtk_window_get_resizable (window))
gtk_window_maximize (window);
if (!priv->client_decorated && gtk_window_should_use_csd (window))
create_decoration (widget);
......
Supports Markdown
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