From 083a71e948290894e70708b93c453e97619876b2 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 11 Aug 2011 21:53:47 +0200 Subject: Disable blur/rotation in thumbnail viewer --- ChangeLog | 1 + src/events.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ChangeLog b/ChangeLog index cf50fd9..e146262 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ git HEAD * Respect --image-bg option in full-screen mode + * Disable blur / rotation in thumbnail viewer window [Patches by Yu-Jie Lin] 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) { -- cgit v1.2.3