On Tue, 11 Aug 2009 12:14:51 +0100 Nick Treleaven nick.treleaven@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