projects
/
geeqie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix #262: double click and fullscreen
[geeqie.git]
/
src
/
layout_image.c
diff --git
a/src/layout_image.c
b/src/layout_image.c
index
f1a3cb9
..
0872612
100644
(file)
--- a/
src/layout_image.c
+++ b/
src/layout_image.c
@@
-1690,6
+1690,11
@@
static void layout_image_button_cb(ImageWindow *imd, GdkEventButton *event, gpoi
switch (event->button)
{
case MOUSE_BUTTON_LEFT:
switch (event->button)
{
case MOUSE_BUTTON_LEFT:
+ if (event->type == GDK_2BUTTON_PRESS)
+ {
+ if (lw->full_screen)
+ layout_image_full_screen_stop(lw);
+ }
if (options->image_lm_click_nav && lw->split_mode == SPLIT_NONE)
layout_image_next(lw);
break;
if (options->image_lm_click_nav && lw->split_mode == SPLIT_NONE)
layout_image_next(lw);
break;