summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--src/events.c2
2 files changed, 3 insertions, 0 deletions
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) {