qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Sami Haahtinen <ressu@ressukka.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: SDL_GRAB problem
Date: Thu, 18 Mar 2004 07:23:15 +0200	[thread overview]
Message-ID: <c3bbo3$8iv$1@sea.gmane.org> (raw)
In-Reply-To: <1079570136.7054.24.camel@thor.asgaard.local>

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

  reply	other threads:[~2004-03-18  5:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-17 20:14 [Qemu-devel] SDL_GRAB problem Richard Zidlicky
2004-03-17 21:03 ` [Qemu-devel] " Sami Haahtinen
2004-03-17 21:49   ` J. Mayer
2004-03-18  0:35     ` Michel Dänzer
2004-03-18  5:23       ` Sami Haahtinen [this message]
2004-03-18 22:23         ` Michel Dänzer
2004-03-18 11:18       ` Richard Zidlicky

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='c3bbo3$8iv$1@sea.gmane.org' \
    --to=ressu@ressukka.net \
    --cc=qemu-devel@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).