Mercurial > hg > xemacs-beta
view lwlib/lwlib-utils.h @ 5557:53c066311921
If XLookupKeysym() returned an XFree86 "special key", ignore it. Fixes Sh-F11.
src/ChangeLog addition:
2011-08-27 Aidan Kehoe <kehoea@parhasard.net>
* config.h.in: Make HAVE_X11_XF86KEYSYM_H available here.
* event-Xt.c: #include X11/XF86keysym.h if available.
* event-Xt.c (x_event_to_emacs_event):
If XLookupKeysym () returned one of the XFree86 "special action
keys" for the shifted keysym, treat that as NoSymbol, fixing a
long-standing bug with shifted function keys under X.org.
Details of why in:
http://mid.gmane.org/16960.15685.26911.644835@parhasard.net
ChangeLog addition:
2011-08-27 Aidan Kehoe <kehoea@parhasard.net>
* configure.ac: Check whether X11/XF86keysym.h is available, to
allow us to avoid a bug in the interaction of XKB and XLookupKeysym.
* configure: Regenerate.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sat, 27 Aug 2011 20:35:23 +0100 |
parents | ade4c7e2c6cb |
children |
line wrap: on
line source
/* Defines some widget utility functions. Copyright (C) 1992 Lucid, Inc. This file is part of the Lucid Widget Library. The Lucid Widget Library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. The Lucid Widget Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the Lucid Widget Library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef INCLUDED_lwlib_utils_h_ #define INCLUDED_lwlib_utils_h_ void destroy_all_children (Widget widget); void XtNoClearRefreshWidget (Widget); typedef void (*XtApplyToWidgetsProc) (Widget, XtPointer); typedef void* (*XtApplyUntilToWidgetsProc) (Widget, XtPointer); void XtApplyToWidgets (Widget, XtApplyToWidgetsProc, XtPointer); void *XtApplyUntilToWidgets (Widget, XtApplyUntilToWidgetsProc, XtPointer); Widget *XtCompositeChildren (Widget, unsigned int *); /* returns True is the widget is being destroyed, False otherwise */ Boolean XtWidgetBeingDestroyedP (Widget widget); void XtSafelyDestroyWidget (Widget); #ifdef USE_DEBUG_MALLOC #include <dmalloc.h> #endif #endif /* INCLUDED_lwlib_utils_h_ */