projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9399099
)
Fix #648: Correctly size image windows opened from collections
author
Dave Lambert
<>
Mon, 26 Nov 2018 17:53:22 +0000
(17:53 +0000)
committer
Colin Clark
<colin.clark@cclark.uk>
Mon, 26 Nov 2018 17:53:22 +0000
(17:53 +0000)
https://github.com/BestImageViewer/geeqie/pull/648
src/img-view.c
patch
|
blob
|
history
diff --git
a/src/img-view.c
b/src/img-view.c
index
016ab37
..
a82fa01
100644
(file)
--- a/
src/img-view.c
+++ b/
src/img-view.c
@@
-871,6
+871,9
@@
static ViewWindow *real_view_window_new(FileData *fd, GList *list, CollectionDat
if (cd && info)
{
image_change_from_collection(vw->imd, cd, info, image_zoom_get_default(NULL));
+ /* Grab the fd so we can correctly size the window in
+ the call to image_load_dimensions() below. */
+ fd = info->fd;
if (options->image.enable_read_ahead)
{
CollectInfo * r_info = collection_next_by_info(cd, info);