Re: [clutter] modifier keys



On 16/11/12 10:51, Patrick Shirkey wrote:
ctrl+F1 not ok
ctrl+F2 ok
shift+F1 ok
shift+F2 ok
meta(alt) + f1/f2 is overridden by gnome3.

I really need meta to work for this application. Is there a better way to
handle alt/meta modifiers and ctrl+F1 that will definitely work?

The Window Manager gets the first claim on any key events, so anything
the WM uses your application will not get to see (whether your app uses
clutter, or gtk, or xlib does not matter) -- if you want to use the WM's
shortcut keys for your app, you will need to make the WM to use
something else in their place.

(In principle, it is possible to monitor all key events using the XI2
raw key events, but this will not make them 'yours', and the WM will
still handle them the normal way, so this has only limited uses.)

Tomas



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