On Sun, Dec 27, 2009 at 10:35:10PM +0100, Zoilo Gomez wrote:
> I have an application running on 2 desktop pages:
> 
> Page 0 0: a custom GUI, which only uses F1-F8
> Page 1 0: a firefox browser, which uses many keys (of course)
> 
> Now I want the following action when the user hits the space bar:
> => if the current page is Page 0 0 (custom GUI), I want to switch to
> Page 1 0 (firefox).
> => if the current page is already Page 1 0, then I want the space
> key to be passed to Firefox
> 
> I have been trying all kinds of combinations like:
> Key (Firefox) Space     A N --
> Key (!Firefox) Space    A N GotoPage 1 0
> Key (Firefox) Space    A N FakeKeypress press Space
> 
> Moving from Page 0 0 (Custom GUI) to Page 1 0 (Firefox) works great,
> but once I am at Page 1 0, the space never seems to reach the
> Firefox app.
> 
> What an I doing wrong, and how can I fix this?

Firefox doesn't accept synthetic XEvents, clearly.  Nothing FVWM can do
about this.  I would imagine the Firefox guys consider it a security feature
not to do so.

-- Thomas Adam

-- 
"It was the cruelest game I've ever played and it's played inside my head."
-- "Hush The Warmth", Gorky's Zygotic Mynci.

Reply via email to