diff options
author | Philip Sequeira <phsequei@gmail.com> | 2019-03-11 00:37:24 -0400 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2019-03-16 21:17:32 +0100 |
commit | 98eea65605e98d3e6febcd1780b68595670d7183 (patch) | |
tree | 212c19acda646639fd1a11d9c178f64128d1a92d /video/out/x11_common.c | |
parent | dd83b66652d93e5422757f569b084867a9052e48 (diff) | |
download | mpv-98eea65605e98d3e6febcd1780b68595670d7183.tar.bz2 mpv-98eea65605e98d3e6febcd1780b68595670d7183.tar.xz |
x11: fix cursor hiding initial state
Regression from 8e3308d687c3acdd0d572015b06efd5b492d93ee.
Broken cases were:
* --no-cursor-autohide acted like --cursor-autohide=always.
* --cursor-autohide-fs-only always hid the cursor if starting
non-fullscreen; entering fullscreen at least once fixed it.
Diffstat (limited to 'video/out/x11_common.c')
-rw-r--r-- | video/out/x11_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/x11_common.c b/video/out/x11_common.c index f01d7e2610..467fa827ac 100644 --- a/video/out/x11_common.c +++ b/video/out/x11_common.c @@ -1425,6 +1425,7 @@ static void vo_x11_create_window(struct vo *vo, XVisualInfo *vis, XSetWMProtocols(x11->display, x11->window, protos, 1); x11->mouse_cursor_set = false; + x11->mouse_cursor_visible = true; vo_update_cursor(vo); if (x11->xim) { |