qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 1592351] Re: mouse pointer offset with gtk, gl=on


From: Jirislaby
Subject: [Qemu-devel] [Bug 1592351] Re: mouse pointer offset with gtk, gl=on
Date: Tue, 14 Jun 2016 14:50:50 -0000

This is because height from gdk_drawable_get_size() in gd_motion_event()
includes menu or whatever:

gl=off:
gd_motion_event: fbw= 640 fbh= 480 ww= 640 wh= 480 mx=  0 my=  0 x= 576 y=   3

gl=on:
gd_motion_event: fbw= 640 fbh= 480 ww= 640 wh= 506 mx=  0 my=  13 x= 571 y= 471

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1592351

Title:
  mouse pointer offset with gtk,gl=on

Status in QEMU:
  New

Bug description:
  When I turn gl=on for -display gtk, some Y offset is added to the
  mouse pointer coordinates. That is, when I click on an icon, an icon
  _above_ the one I clicked triggers.

  Using xev, it seems to be offset of 10-12 pixels.

  It happens with all ps/2 mouse, -usbdevice mouse and -usbdevice
  tablet.

  Without gl=on, the pointer is precise.

  I have these qemu versions:
  qemu-2.6.0-470.2.x86_64
  qemu-ipxe-1.0.0-470.2.noarch
  qemu-ksm-2.6.0-470.2.x86_64
  qemu-kvm-2.6.0-470.2.x86_64
  qemu-ovmf-x86_64-2015+git1462940744.321151f-2.1.noarch
  qemu-ppc-2.6.0-470.2.x86_64
  qemu-seabios-1.9.1-470.2.noarch
  qemu-sgabios-8-470.2.noarch
  qemu-tools-2.6.0-470.2.x86_64
  qemu-vgabios-1.9.1-470.2.noarch
  qemu-x86-2.6.0-470.2.x86_64

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1592351/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]