[PATCH] ui/gtk: use correct scale for cursors

2022-12-12 Thread lilydjwg
From: lilydjwg gdk_cursor_new_from_pixbuf always uses scale=1 and causes blurry large cursors on HiDPI screens (scale=2). Create a cairo surface ourselves to pass the desired scale. Signed-off-by: lilydjwg --- ui/gtk.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff

[Bug 1799792] Re: Broken scaling with gtk,gl=on on a hidpi display

2020-11-18 Thread lilydjwg
unset GDK_SCALE GDK_DPI_SCALE works for me. It was GDK_SCALE=2 GDK_DPI_SCALE=0.5 as KDE would have set. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1799792 Title: Broken scaling with gtk,gl=on on

[Bug 1799792] Re: Broken scaling with gtk,gl=on on a hidpi display

2020-11-18 Thread lilydjwg
I have the same issue, but unfortunately I cannot work around it: gl=off doesn't work with vfio-display-dmabuf, and sdl segfaults when the guest OS tries to enter GUI. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launc