From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B3q0a-0007Pb-8k for qemu-devel@nongnu.org; Thu, 18 Mar 2004 00:23:56 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B3q03-00078a-1h for qemu-devel@nongnu.org; Thu, 18 Mar 2004 00:23:55 -0500 Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B3q02-00078U-GO for qemu-devel@nongnu.org; Thu, 18 Mar 2004 00:23:22 -0500 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1B3pzx-0002S5-00 for ; Thu, 18 Mar 2004 06:23:17 +0100 Received: from stradivarius.ressukka.net ([212.182.193.154]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Mar 2004 06:23:17 +0100 Received: from ressu by stradivarius.ressukka.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Mar 2004 06:23:17 +0100 From: Sami Haahtinen Date: Thu, 18 Mar 2004 07:23:15 +0200 Message-ID: References: <20040317201432.GA4510@linux-m68k.org> <1079560165.16836.1531.camel@rapid> <1079570136.7054.24.camel@thor.asgaard.local> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit In-Reply-To: <1079570136.7054.24.camel@thor.asgaard.local> Sender: news Subject: [Qemu-devel] Re: SDL_GRAB problem Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Michel Dänzer wrote: > On Wed, 2004-03-17 at 22:49, J. Mayer wrote: >>On Wed, 2004-03-17 at 22:03, Sami Haahtinen wrote: >>>I agree with you, it would ease the situation if there was a tool to >>>ungrab X, but i don't know of any... > > >>>From the XF86Config-4 manpage, about the ServerFlags section: > > Option "AllowDeactivateGrabs" "boolean" > This option enables the use of the Ctrl+Alt+Keypad‐Divide key > sequence to deactivate any active keyboard and mouse grabs. > Default: off. i must have missed that, that looks like a good solution. time to check whether my xscreensaver is new enough ;) >> The solution I found is to relaunch qemu, grab then ungrab the >> focus and I get my X usable. Qemu should do sthg to leave SDL in a >> proper way when it crashes... > > Strictly speaking, it may be an X server bug that the grab persists > when the client goes away. When you think it through, it does appear so. Why would an application that doesn't exist need grab. Although i don't know the full mechanism behind grab, so it might be that there is some reason why this hasn't been fixed. Oh well, i'm looking forward to xouvert, somehow i have lost my faith in XFree86. Regards, Sami