kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #22811
Re: [PATCH] Fix (Ctrl)+(ASCII control key) hotkey handling
There is definitely no way to do that in wxwidgets, any and all keys
that are received generate wxEVT_CHAR_HOOK, which I am receiving. There
may be a way to do it in X11, I don't know, but it would require
significant system-specific bodgery.
Also it'll tick people off, since if they've configured their WMs to
trap a certain key, they probably want it to ;)
Just change your mapping in xfce's settings, my xfce certainly does not
trap Alt+F.
On Thu, Jan 21, 2016 at 03:12:30PM +0100, Clemens Koller wrote:
> Hi Chris!
>
> I am a bit short on time, currently, but will test your code asap
> next week, I hope. Thanks for taking care about that!
>
> On 2016-01-21 04:44, Chris Pavlina wrote:
> > - Hotkeys that are *not* handled by the main hotkey code (for example,
> > menu keys like Alt+F to call up the File menu) are not affected.
>
> Good. I think it's worth to emphasize here that Alt-F in my case
> (Linux Xfce4) was handled by the Window Manager and as such, Kicad
> cannot handle that key properly when it doesn't get the events
> from outside.
> So, this is nothing Kicad needs or can take care about.
>
> However, I don't know if there is a way to change the priority in
> handling Keyboard/Mouse events in a way that an application can
> handle events _before_ directed (back) to the Window Manager when
> the application is active and in focus.
>
> Regards,
>
> Clemens
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
Follow ups
References