From: "Michel Dänzer" <michel@daenzer.net>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: SDL_GRAB problem
Date: Thu, 18 Mar 2004 01:35:36 +0100 [thread overview]
Message-ID: <1079570136.7054.24.camel@thor.asgaard.local> (raw)
In-Reply-To: <1079560165.16836.1531.camel@rapid>
On Wed, 2004-03-17 at 22:49, J. Mayer wrote:
> On Wed, 2004-03-17 at 22:03, Sami Haahtinen wrote:
> > Richard Zidlicky wrote:
> > > the usual grab agony: something goes wrong at the wrong time and
> > > X is completely unusable.
> >
> > My X is currently stuck in this state.
> >
> > > No idea what exactly went wrong this time - luckilly ctrl-alt-f2 saved me.
> >
> > For me, qemu crashed while focus was grabbed. Also ctrl-alt-backspace is
> > a handy command (use with caution, kills your X without asking twice)
> >
> > > Very unpleasant problem, should be fixed or avoided no matter how.
> >
> > 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.
[...]
Note that the options AllowDeactivateGrabs and AllowClosedown‐
Grabs will allow users to remove the grab used by screen
saver/locker programs. An API was written to such cases. If you
enable this option, make sure your screen saver/locker is
updated.
> 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.
--
Earthling Michel Dänzer | Debian (powerpc), X and DRI developer
Libre software enthusiast | http://svcs.affero.net/rm.php?r=daenzer
next prev parent reply other threads:[~2004-03-18 0:36 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 [this message]
2004-03-18 5:23 ` Sami Haahtinen
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=1079570136.7054.24.camel@thor.asgaard.local \
--to=michel@daenzer.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).