diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-05-04 14:54:53 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-05-04 14:54:53 +0200 |
commit | f732ddd5ab1716f57018d4283420943aabf40ef6 (patch) | |
tree | a1a1b80fbb2c70747ea9540fbd7338184e7e3f1b | |
parent | 72b77e61ce4030114558fc794e431a30657126d7 (diff) |
Accept --hide-pointer in non-fullscreen mode as well
-rw-r--r-- | man/feh.1 | 2 | ||||
-rw-r--r-- | src/winwidget.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 */ |