Implement extra_keyboard_modifiers properly.
authorJim Blandy <jimb@redhat.com>
Tue, 4 May 1993 02:44:42 +0000 (02:44 +0000)
committerJim Blandy <jimb@redhat.com>
Tue, 4 May 1993 02:44:42 +0000 (02:44 +0000)
commitdfeccd2d1337783ae77886e92ca522d01f55c70c
treec2397bb0ff426e0cdc942d56c42d1f969bf28fd7
parentf80dc88865694fb162f61e8857fe1ef857b493e6
Implement extra_keyboard_modifiers properly.
* keyboard.c (syms_of_keyboard): Doc fix for
extra-keyboard-modifiers; use the same modifier bits as we do for
characters.
(read_char): Apply all the modifiers in extra_keyboard_modifiers
to the input characters, so you can get hyper, super, and the rest
of the gang.
* xterm.c (x_emacs_to_x_modifiers): New function.
(x_convert_modifiers): Renamed to x_x_to_emacs_modifiers, for
consistency.  Callers changed.
(XTread_socket): Apply x_emacs_to_x_modifiers to
extra_keyboard_modifiers before setting the state member of the
event; this will get all the modifiers on ASCII characters.

* xterm.c (x_text_icon): Don't call XSetIconName; it should be
unnecessary, and perhaps it's killing the icon pixmap.
src/xterm.c