Re: FVWM: dont' let fullscreen program eat all key events

From: Erik Steffl <steffl_at_bigfoot.com>
Date: Sun, 11 Nov 2001 04:13:11 -0800

Dan Espen wrote:
>
> Erik Steffl <steffl_at_bigfoot.com> writes:
> > Dan Espen wrote:
> > >
> > > Erik Steffl <steffl_at_bigfoot.com> writes:
> > > > I have a problem with vncviewer in fullscreen mode - the problem is
> > > > that it gets all the key events and none of fvwm key-bindings work. Is
> > > > there any way to make fvwm ALWAYS receive (and process) certain key
> > > > events? even though the vncviewer is in fullscreen mode I would like at
> > > > least virtual screen switching keys to work.
> > > >
> > > > as of now only ctrl-alt-fn and ctrl-alt-backspace work. I checked vnc
> > > > docs & faq but I found nothing but warning that fullscreen mode might
> > > > confuse some window managers.
> > > >
> > > > any ideas? TIA
> > >
> > > I don't think its possible.
> > > VNC sees the keys first, its up to VNC to decide which keys
> > > to pass on.
> > >
> > > If you can't change the VNC configuration to use different keys,
> > > then you can change FVWM to use other keys of your choosing.
> >
> > actually I kinda screwed up, the problem is slightly different:
> >
> > the vncserver stays on top, no matter what I do, I cannot switch to
> > another virtual screen or to another program. However it never has
> > keyboard focus (the mouse works, keyboard does not have any effect).
>
> Ok, I think I misunderstood what you are doing.

  no wonder considering my original email was quite wrong about what's
going on, sorry,

> It sounds like VNC becomes an override-redirect window
> when you put it in full screen mode.
>
> I don't think you can do much about the keybindings,
> but you can try using:
>
> BugOpts RaiseOverUnmanaged True

  does not change anything (as far as I see), the vncviewer in
fullscreen mode still:

  - does not accept any key events (mouse works)
  - I cannot switch to any other application
  - I cannot switch to another virtual screen

  contrary to my original email the keyboard shortcuts for fvwm work (so
I can invoke menus), but it does not help me much because the only
window I see on top of vncviewer is fvwm popup menu (I can start a
program but it start under vncviewer, I can see it ojnce I kill
vncviewer from another vt)

  is there anything I can do? TIA.

  (I guess the possible solution is to not use vncviewer fullscreen mode
but simply let it have no decorations and make it the same size as
screen and voila, I have home-made fullscreen mode; but I would still
like to know what's going on and whether fvwm can make it behave)

        erik
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Sun Nov 11 2001 - 06:14:13 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:52 BST