summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-05-04 14:54:53 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-05-04 14:54:53 +0200
commitf732ddd5ab1716f57018d4283420943aabf40ef6 (patch)
treea1a1b80fbb2c70747ea9540fbd7338184e7e3f1b
parent72b77e61ce4030114558fc794e431a30657126d7 (diff)
Accept --hide-pointer in non-fullscreen mode as well
-rw-r--r--man/feh.12
-rw-r--r--src/winwidget.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/man/feh.1 b/man/feh.1
index b0d6cae..be6d4fb 100644
--- a/man/feh.1
+++ b/man/feh.1
@@ -387,7 +387,7 @@ Disable/Enable screen clipping based on window size. With this disabled,
windows may become very large, making them unmanageable in certain window
managers.
.It Cm --hide-pointer
-Hide the pointer in full screen mode
+Hide the pointer
.Pq useful for slideshows etc .
.El
.
diff --git a/src/winwidget.c b/src/winwidget.c
index ddf6372..6ab39e2 100644
--- a/src/winwidget.c
+++ b/src/winwidget.c
@@ -279,7 +279,7 @@ void winwidget_create_window(winwidget ret, int w, int h)
XSetWMNormalHints(disp, ret->win, &xsz);
XMoveWindow(disp, ret->win, x, y);
}
- if (ret->full_screen && opt.hide_pointer)
+ if (opt.hide_pointer)
winwidget_set_pointer(ret, 0);
/* set the icon name property */