Mercurial > geeqie
changeset 1286:eba0b4ae413b
do not switch to the next image on mouse click in split mode
it interferes with image switching too much
author | nadvornik |
---|---|
date | Fri, 06 Feb 2009 22:56:52 +0000 |
parents | ecfa35c79436 |
children | 5fdf258f9c24 |
files | src/layout_image.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/layout_image.c Fri Feb 06 22:41:47 2009 +0000 +++ b/src/layout_image.c Fri Feb 06 22:56:52 2009 +0000 @@ -1332,10 +1332,12 @@ 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);