projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed00275
)
layout_image_drag_cb(): optimize when connected scrolling is unset.
author
Laurent Monin
<geeqie@norz.org>
Sat, 28 Jun 2008 08:01:36 +0000
(08:01 +0000)
committer
Laurent Monin
<geeqie@norz.org>
Sat, 28 Jun 2008 08:01:36 +0000
(08:01 +0000)
src/layout_image.c
patch
|
blob
|
history
diff --git
a/src/layout_image.c
b/src/layout_image.c
index
57c2f13
..
3bd5c7e
100644
(file)
--- a/
src/layout_image.c
+++ b/
src/layout_image.c
@@
-1667,9
+1667,11
@@
static void layout_image_drag_cb(ImageWindow *imd, GdkEventButton *event, gdoubl
gint i;
LayoutWindow *lw = data;
+ if (!lw->connect_scroll) return;
+
for (i = 0; i < MAX_SPLIT_IMAGES; i++)
{
- if (lw->split_images[i] && lw->split_images[i] != imd
&& lw->connect_scroll
)
+ if (lw->split_images[i] && lw->split_images[i] != imd)
{
gdouble sx, sy;