On Sat, 2003-10-25 at 21:08, Havoc Pennington wrote: > On Sat, 2003-10-25 at 15:17, Paul Davis wrote: > > the specific problem with the relationship between keyboards and X > > modifiers is that X imposes no policy on bindings. its become "normal" > > for Alt to be bound to mod1, but there is no requirement that this be > > true, let alone that Alt_L and Alt_R should necessarily be the same > > modifier. > > The basic idea is to have applications refer to hyper and super, and > GTK+ deals with the whole which-modifier-bit-is-that issue. See > libegg/libegg/treeviewutils/eggaccelerators.h for example (various bits > of GNOME already use this code - I'm not sure why it isn't in 2.3.0 in > fact, probably just slipped through the cracks). I don't want to do it directly like that ... I think we can add virtual modifiers to GdkModifierType and make it basically invisible that GDK_SUPER_MASK is different than GDK_CONTROL_MASK. Regards, Owen _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list