Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dorota Czaplejewicz
gtk
Commits
8a2c09d7
Commit
8a2c09d7
authored
Jul 11, 2019
by
Adrien Plazas
Browse files
gtkwindow: Maximize resizable windows
This will make them look better on phone screens.
parent
14d0eaf7
Changes
1
Hide whitespace changes
Inline
Side-by-side
gtk/gtkwindow.c
View file @
8a2c09d7
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment