diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2011-12-08 11:17:59 +0100 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2012-03-25 22:30:37 +0300 |
commit | 495dde4018e071f81462052d5b4c09c973f25f16 (patch) | |
tree | 9601e9ff288c8f4305c1dd16ce4aaa43ea596ac6 /libvo/x11_common.h | |
parent | f30bf73bf22ed054233507d7277e3658e51d86bd (diff) | |
download | mpv-495dde4018e071f81462052d5b4c09c973f25f16.tar.bz2 mpv-495dde4018e071f81462052d5b4c09c973f25f16.tar.xz |
options, x11+cocoa: add option --cursor-autohide-delay
Add option --cursor-autohide-delay to control the number of milliseconds
with no user interaction before the mouse cursor is hidden.
There are two negative values with useful special meanings:
* A value of -1 prevents the cursor from hiding (useful for users
with multiple displays).
* A value of -2 prevents the cursor from showing upon activity.
The default is 1 second to keep the behaviour consistent with the
past X11 backend implementation.
Remove the vo_mouse_autohide field as it was always true.
Diffstat (limited to 'libvo/x11_common.h')
-rw-r--r-- | libvo/x11_common.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libvo/x11_common.h b/libvo/x11_common.h index 6ba2780747..14c7e44549 100644 --- a/libvo/x11_common.h +++ b/libvo/x11_common.h @@ -48,7 +48,6 @@ struct vo_x11_state { unsigned long xv_colorkey; unsigned int xv_port; - int vo_mouse_autohide; int wm_type; int fs_type; int window_state; |