mbox series

[0/2] Fix trivial errors with highdpi/wayland

Message ID 20211121065504.29101-1-orzechowski.alexander@gmail.com (mailing list archive)
Headers show
Series Fix trivial errors with highdpi/wayland | expand

Message

Alexander Orzechowski Nov. 21, 2021, 6:55 a.m. UTC
Hi, this patch series is ment to fix two problems with highdpi/wayland
with gtk that makes the program unusuable. As it stands currently:
The virtual machine window will only render in the bottom-left quarter of the screen
(with 2x scaling) while using the gtk,gl=on and virtgl backend. This also
fixes the --usbdevice tablet option as before if the pointer would click
in the incorrect spot of the virtual machine then was expected.

Alexander Orzechowski (2):
  ui: fix incorrect scaling on highdpi with gtk/opengl
  ui: fix incorrect pointer position on highdpi with gtk
 
 ui/gtk-gl-area.c |  7 ++++---
 ui/gtk.c         | 13 ++++++++-----
 2 files changed, 12 insertions(+), 8 deletions(-)