Re: [GD-Linux] X mouse/keyboard grabs

Timothee Besset <[email protected]> Mon, 20 Jan 2003 22:03:07 +0100
Newsgroups gmane.games.devel.linux
Message-ID <[email protected]>
Sweet! Exactly what I was looking for..

TTimo

On Mon, 20 Jan 2003 18:38:04 +0100
"Marcelo E. Magallon" <[email protected]> wrote:

> I'm sorry, sourceforge is being a bitch...
> 
> On Mon, Jan 20, 2003 at 02:57:01PM +0100, Timothee Besset wrote:
>  
>  > - Even with an application grab of keyboard/mouse, I need to get a
>  > key combo through .. typically to a deamon. If the X server can't do
>  > that (which is why I was asking), I could probably get it through
>  > with sysctl at kernel level.
> 
>  Thou wish and thy gods shall grant...
> 
>  $ man XF86Config
> 
>        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.
> 
>  > - Once you *know* you need to release the grabs, how do you do it? Any way
>  > an X app can force a grab release on some other app? (That one might be
>  > harder to tackle)
> 
>  You can force an app to ungrab the pointer/keyboard by unmapping its
>  window.  If you don't want to do that, you can just map an appropiate
>  window (override-something-or-another, can't remember) over the app.
> 
> -- 
> Marcelo, betting this mail won't make it thru...
> 


-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Gamedevlists-linux mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-linux
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_id=554