[Geany-devel] Super modifier in keybindings - Re: Strange Geany behavior

Nick Treleaven nick.treleaven at xxxxx
Tue Aug 11 11:27:06 UTC 2009


On Tue, 11 Aug 2009 12:14:51 +0100
Nick Treleaven <nick.treleaven at btinternet.com> wrote:

> > The reason you can't set super as a modifier may be that the default
> > modifier mask is set to block it.  I don't know what sets it, mine is
> > 1c00000d which allows super at 4000000 and thats the value when the
> > accelerator is set and when the keypress event occurs.
> 
> Mine is 67108864, so should work.

Sorry, that's wrong. But it seems right anyway:

(gdb) p (void*)GDK_MODIFIER_MASK 
$5 = (void *) 0x5c001fff
(gdb) p (void*) (GDK_MODIFIER_MASK & GDK_SUPER_MASK)
$8 = (void *) 0x4000000

Regards,
Nick



More information about the Devel mailing list