Mercurial > geeqie
diff src/layout_image.c @ 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 | 8b89e3ff286b |
children | 4a3ae0e6f1eb |
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);