diff options
author | Felix Riemann <friemann@gnome.org> | 2013-05-10 14:42:33 +0200 |
---|---|---|
committer | Felix Riemann <friemann@gnome.org> | 2013-05-10 14:48:19 +0200 |
commit | e08c9d44b0c0cd36674ffd4cac9a473a68018f8e (patch) | |
tree | 8a226de88769e303e22fe08305ebc738acf00858 | |
parent | 3624b85895ef4ef2c840e4c84cf2fef0b35625bc (diff) | |
download | eog-e08c9d44b0c0cd36674ffd4cac9a473a68018f8e.tar.gz |
Raise initial window size limit to 85% of screen size
This makes much better use of the available screen space.
-rw-r--r-- | src/eog-window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eog-window.c b/src/eog-window.c index f4f25efd..a830d3e0 100644 --- a/src/eog-window.c +++ b/src/eog-window.c @@ -1246,8 +1246,8 @@ eog_window_obtain_desired_size (EogImage *image, { double width_factor, height_factor, factor; - width_factor = (screen_width * 0.75 - deco_width) / (double) img_width; - height_factor = (screen_height * 0.75 - deco_height) / (double) img_height; + width_factor = (screen_width * 0.85 - deco_width) / (double) img_width; + height_factor = (screen_height * 0.85 - deco_height) / (double) img_height; factor = MIN (width_factor, height_factor); img_width = img_width * factor; |