mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-19 09:50:06 +00:00
window: Make comparison be the right direction
Messed something up there...
This commit is contained in:
parent
187f91eb90
commit
1763b3a0b5
@ -4869,7 +4869,7 @@ gtk_window_guess_default_size (GtkWindow *window,
|
||||
*width = gdk_screen_get_width (screen);
|
||||
*height = gdk_screen_get_height (screen);
|
||||
|
||||
if (*width < *height)
|
||||
if (*width >= *height)
|
||||
{
|
||||
/* landscape */
|
||||
*width = MIN (*width, MAX_DEFAULT_WINDOW_WIDTH);
|
||||
|
Loading…
Reference in New Issue
Block a user