Re: setting gdk display



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).

Havoc





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