summaryrefslogtreecommitdiff
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
parent64e9c952f0bbd5c23fd775620f3df1c261799ed6 (diff)
downloadfeh-083a71e948290894e70708b93c453e97619876b2.zip
Disable blur/rotation in thumbnail viewer
-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) {