diff options
author | Rostislav Pehlivanov <atomnuker@gmail.com> | 2017-10-22 05:45:23 +0100 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2017-10-22 05:53:20 +0100 |
commit | 78ef7fb766631df91b3f1b3392d9ce79d75ae811 (patch) | |
tree | b642831ad52b3d07db968f75a3b1a22fdb3a71df /video/out/wayland_common.h | |
parent | 60df01512cf88d51b6334c95dab72de734f136fd (diff) |
wayland_common: improve cursor code and scale cursor properly
It seems the cursor hadn't had its position properly adjusted when scaled.
Hence, bring back correct buffer scaling to make the cursor look fine.
Also the cursor surface now gets created sooner so that's better.
Diffstat (limited to 'video/out/wayland_common.h')
-rw-r--r-- | video/out/wayland_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/wayland_common.h b/video/out/wayland_common.h index 3903b58a2b..4911009b66 100644 --- a/video/out/wayland_common.h +++ b/video/out/wayland_common.h @@ -99,6 +99,7 @@ struct vo_wayland_state { struct wl_cursor_theme *cursor_theme; struct wl_cursor *default_cursor; struct wl_surface *cursor_surface; + int allocated_cursor_scale; }; int vo_wayland_init(struct vo *vo); |