qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Re: SDL_GRAB problem


From: Michel Dänzer
Subject: Re: [Qemu-devel] Re: SDL_GRAB problem
Date: Thu, 18 Mar 2004 01:35:36 +0100

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]