On Tue, Feb 20, 2007 at 10:30:08AM -0800, Brian J. Tarricone wrote:
> On Tue, 20 Feb 2007 22:34:38 +1100 Justin Clift wrote:
> > Whenever any gtk program has its menu open, keystrokes don't seem to
> > be processed for anything other than what's in the menu itself.  i.e.
> > the up, down, and enter keys work (and maybe shortcuts), and that's
> > it. (These keys move the selection up and down the menu that's open)
> > 
> > There doesn't seem to be a way to gets other keys fed through to
> > things expecting them.
> 
> Yes, when gtk pops up a menu, it does a keyboard grab to ensure that
> the menu gets all key events.
> 
> > So, recommendations on what to do from here?  Is there a way to tell
> > GTK to feed keystrokes onwards when a menu is open?
> 
> I don't believe so, no, but someone else may have a better answer.

I'm afraid the only way to tell Gtk+ to stop doing this
globally is to patch it.

Add this to ServerFlags section of xorg.conf:

  Option "AllowDeactivateGrabs" "true"

and then press Ctrl-Alt-KP_Divide when you need to get rid
of the grab.

Yeti


--
Whatever.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to