projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e7f0d2
)
do not switch to the next image on mouse click in split mode
author
Vladimir Nadvornik
<nadvornik@suse.cz>
Fri, 6 Feb 2009 22:56:52 +0000
(22:56 +0000)
committer
Vladimir Nadvornik
<nadvornik@suse.cz>
Fri, 6 Feb 2009 22:56:52 +0000
(22:56 +0000)
it interferes with image switching too much
src/layout_image.c
patch
|
blob
|
history
diff --git
a/src/layout_image.c
b/src/layout_image.c
index
f4a51c9
..
9bd1a44
100644
(file)
--- a/
src/layout_image.c
+++ b/
src/layout_image.c
@@
-1332,10
+1332,12
@@
static void layout_image_button_cb(ImageWindow *imd, GdkEventButton *event, gpoi
switch (event->button)
{
case MOUSE_BUTTON_LEFT:
- layout_image_next(lw);
+ if (lw->split_mode == SPLIT_NONE)
+ layout_image_next(lw);
break;
case MOUSE_BUTTON_MIDDLE:
- layout_image_prev(lw);
+ if (lw->split_mode == SPLIT_NONE)
+ layout_image_prev(lw);
break;
case MOUSE_BUTTON_RIGHT:
menu = layout_image_pop_menu(lw);