From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59695) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCppv-0007mJ-9H for qemu-devel@nongnu.org; Tue, 14 Jun 2016 11:01:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCppo-0004LY-MZ for qemu-devel@nongnu.org; Tue, 14 Jun 2016 11:01:02 -0400 Received: from indium.canonical.com ([91.189.90.7]:43782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCppo-0004LR-GJ for qemu-devel@nongnu.org; Tue, 14 Jun 2016 11:00:56 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1bCppn-0008Kc-Km for ; Tue, 14 Jun 2016 15:00:55 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 91C5E2E80C3 for ; Tue, 14 Jun 2016 15:00:55 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 14 Jun 2016 14:50:50 -0000 From: Jirislaby <1592351@bugs.launchpad.net> Reply-To: Bug 1592351 <1592351@bugs.launchpad.net> Sender: bounces@canonical.com References: <20160614104554.31869.91941.malonedeb@soybean.canonical.com> Message-Id: <20160614145050.24696.25961.malone@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1592351] Re: mouse pointer offset with gtk, gl=on List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This is because height from gdk_drawable_get_size() in gd_motion_event() includes menu or whatever: gl=3Doff: gd_motion_event: fbw=3D 640 fbh=3D 480 ww=3D 640 wh=3D 480 mx=3D 0 my=3D = 0 x=3D 576 y=3D 3 gl=3Don: gd_motion_event: fbw=3D 640 fbh=3D 480 ww=3D 640 wh=3D 506 mx=3D 0 my=3D = 13 x=3D 571 y=3D 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=3Don Status in QEMU: New Bug description: When I turn gl=3Don 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=3Don, 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