From: Alexander Orzechowski <orzechowski.alexander@gmail.com>
To: qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org, Gerd Hoffmann <kraxel@redhat.com>,
Alexander Orzechowski <orzechowski.alexander@gmail.com>
Subject: [PATCH 0/2] Fix trivial errors with highdpi/wayland
Date: Sun, 21 Nov 2021 01:55:02 -0500 [thread overview]
Message-ID: <20211121065504.29101-1-orzechowski.alexander@gmail.com> (raw)
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(-)
--
2.34.0
next reply other threads:[~2021-11-21 8:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-21 6:55 Alexander Orzechowski [this message]
2021-11-21 6:55 ` [PATCH 1/2] ui: fix incorrect scaling on highdpi with gtk/opengl Alexander Orzechowski
2021-11-22 12:16 ` Philippe Mathieu-Daudé
2021-11-21 6:55 ` [PATCH 2/2] ui: fix incorrect pointer position on highdpi with gtk Alexander Orzechowski
2021-11-22 12:15 ` Philippe Mathieu-Daudé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211121065504.29101-1-orzechowski.alexander@gmail.com \
--to=orzechowski.alexander@gmail.com \
--cc=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).