Mercurial > hg > xemacs-beta
view etc/gtkrc @ 5559:f3ab0c29c246
Use a better, more portable approach to the shift-F11 problem.
src/ChangeLog addition:
2011-08-28 Aidan Kehoe <kehoea@parhasard.net>
* event-Xt.c (x_to_emacs_keysym):
Take a new pointer argument, X_KEYSYM_OUT, where we store the X11
keysym that we actually used.
* event-Xt.c (x_event_to_emacs_event):
Call x_to_emacs_keysym with its new pointer argument, so we have
access to the X11 keysym used.
When checking whether a keysym obeys caps lock, use the X11 keysym
rather than the XEmacs keysym.
When checking whether a key has two distinct keysyms depending on
whether shift is pressed or not, use the X11 keysym passed back by
x_to_emacs_keysym rather than working it out again using
XLookupKeysym().
* event-Xt.c (keysym_obeys_caps_lock_p):
Use XConvertCase() in this function, now we're receiving the
actual X keysym used.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sun, 28 Aug 2011 10:34:54 +0100 |
parents | 8d3d05ffbb43 |
children |
line wrap: on
line source
# Force the window background to be the same as the default face background: # white. # Copyright 1999 Malcolm Purvis # This file is part of XEmacs, licensed to you under the GNU # General Public License, version 3 or later at your option. # There is NO WARRANTY, explicit or implied, on this file. style "default_background" { bg[NORMAL] = { 1.0, 1.0, 1.0 } } class "GtkXEmacs" style "default_background"