From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nfu33-00032M-Qk for qemu-devel@nongnu.org; Fri, 12 Feb 2010 06:51:01 -0500 Received: from [199.232.76.173] (port=45458 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nfu33-00032E-6j for qemu-devel@nongnu.org; Fri, 12 Feb 2010 06:51:01 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nfu32-0007OM-3k for qemu-devel@nongnu.org; Fri, 12 Feb 2010 06:51:00 -0500 Received: from mx20.gnu.org ([199.232.41.8]:57732) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Nfu31-0007Nx-NQ for qemu-devel@nongnu.org; Fri, 12 Feb 2010 06:50:59 -0500 Received: from mx1.redhat.com ([209.132.183.28]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nftwu-0001Ba-N4 for qemu-devel@nongnu.org; Fri, 12 Feb 2010 06:44:41 -0500 Message-ID: <4B753EF1.6040001@redhat.com> Date: Fri, 12 Feb 2010 12:43:45 +0100 From: Kevin Wolf MIME-Version: 1.0 Subject: Re: [Qemu-devel] Qemu does not pass pressed caps lock to client References: <4B752548.1040108@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Shahar Havivi Cc: qemu-devel@nongnu.org, bdrung@ubuntu.com Am 12.02.2010 12:09, schrieb Shahar Havivi: > It's not true that SDL is not sending up event like the comment say, > > On Fedora 12 it behave like a toggle button, first press/release will send > caps-down event second press/release send caps-up event > > On Ubuntu 9.10 it work like any other key, i.e. pressing caps will generate two > events down and up. So I think we have this situation: Without patch: F12 works, Ubuntu 9.10 broken With your patch: F12 broken, Ubuntu 9.10 works I dont' consider fixing one system by breaking another one a solution... Do we know why this difference exists? Is there a way to check at runtime which mode SDL uses? Have you tested if num lock has the same behaviour or are you just assuming? Kevin