aboutsummaryrefslogtreecommitdiffhomepage
path: root/video
diff options
context:
space:
mode:
authorGravatar Rostislav Pehlivanov <atomnuker@gmail.com>2017-10-19 20:38:52 +0100
committerGravatar Rostislav Pehlivanov <atomnuker@gmail.com>2017-10-19 21:35:20 +0100
commit13fb166d8700630c7126584a9cb240f0c1a578f2 (patch)
tree79bc019dff3fa2eacf93bd264f2a096e84c1252a /video
parentd3c022779a9d5848a20180c1fa5f184aa9703862 (diff)
wayland_common: don't scale the cursor wl_buffer
Only gnome does something as stupid as always applying scaling to the cursor rather than just using a larger sized one with HIDPI.
Diffstat (limited to 'video')
-rw-r--r--video/out/wayland_common.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c
index 77f27c5b73..04adf66e9c 100644
--- a/video/out/wayland_common.c
+++ b/video/out/wayland_common.c
@@ -56,7 +56,6 @@ static int set_cursor_visibility(struct vo_wayland_state *wl, int on)
wl_pointer_set_cursor(wl->pointer, wl->pointer_id, wl->cursor_surface,
image->hotspot_x, image->hotspot_y);
wl_surface_attach(wl->cursor_surface, buffer, 0, 0);
- wl_surface_set_buffer_scale(wl->cursor_surface, wl->scaling);
wl_surface_damage(wl->cursor_surface, 0, 0, image->width, image->height);
wl_surface_commit(wl->cursor_surface);
} else {