From 13fb166d8700630c7126584a9cb240f0c1a578f2 Mon Sep 17 00:00:00 2001 From: Rostislav Pehlivanov Date: Thu, 19 Oct 2017 20:38:52 +0100 Subject: 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. --- video/out/wayland_common.c | 1 - 1 file changed, 1 deletion(-) (limited to 'video') 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 { -- cgit v1.2.3