summaryrefslogtreecommitdiff
path: root/src/events.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-08-11 21:53:47 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-08-11 21:53:47 +0200
commit083a71e948290894e70708b93c453e97619876b2 (patch)
tree41c69ad0b14f1d6ba04bd986fde57bc8d5b69846 /src/events.c
parent64e9c952f0bbd5c23fd775620f3df1c261799ed6 (diff)
Disable blur/rotation in thumbnail viewer
Diffstat (limited to 'src/events.c')
-rw-r--r--src/events.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/events.c b/src/events.c
index f76de9f..235ad53 100644
--- a/src/events.c
+++ b/src/events.c
@@ -80,6 +80,7 @@ static void feh_event_handle_ButtonPress(XEvent * ev)
winwidget_show_menu(winwid);
}
} else if ((ev->xbutton.button == opt.rotate_button)
+ && (winwid->type != WIN_TYPE_THUMBNAIL)
&& ((opt.no_rotate_ctrl_mask)
|| (ev->xbutton.state & ControlMask))) {
if (winwid != NULL) {
@@ -88,6 +89,7 @@ static void feh_event_handle_ButtonPress(XEvent * ev)
D(("rotate starting at %d, %d\n", ev->xbutton.x, ev->xbutton.y));
}
} else if ((ev->xbutton.button == opt.blur_button)
+ && (winwid->type != WIN_TYPE_THUMBNAIL)
&& ((opt.no_blur_ctrl_mask)
|| (ev->xbutton.state & ControlMask))) {
if (winwid != NULL) {