Mercurial > hg > xemacs-beta
annotate src/console-stream-impl.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 | 308d34e9f07d |
| children |
| rev | line source |
|---|---|
| 872 | 1 /* Define stream specific console, device, and frame object for XEmacs. |
| 2 Copyright (C) 1995 Board of Trustees, University of Illinois. | |
| 3 Copyright (C) 1995 Free Software Foundation, Inc. | |
| 1204 | 4 Copyright (C) 2002 Ben Wing. |
| 872 | 5 |
| 6 This file is part of XEmacs. | |
| 7 | |
|
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
5127
diff
changeset
|
8 XEmacs is free software: you can redistribute it and/or modify it |
| 872 | 9 under the terms of the GNU General Public License as published by the |
|
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
5127
diff
changeset
|
10 Free Software Foundation, either version 3 of the License, or (at your |
|
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
5127
diff
changeset
|
11 option) any later version. |
| 872 | 12 |
| 13 XEmacs is distributed in the hope that it will be useful, but WITHOUT | |
| 14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
| 16 for more details. | |
| 17 | |
| 18 You should have received a copy of the GNU General Public License | |
|
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
5127
diff
changeset
|
19 along with XEmacs. If not, see <http://www.gnu.org/licenses/>. */ |
| 872 | 20 |
| 21 /* Synched up with: Not in FSF. */ | |
| 22 | |
| 23 /* Written by Ben Wing. */ | |
| 24 | |
| 25 #ifndef INCLUDED_console_stream_impl_h_ | |
| 26 #define INCLUDED_console_stream_impl_h_ | |
| 27 | |
| 28 #include "console-impl.h" | |
| 29 #include "console-stream.h" | |
| 30 | |
| 31 DECLARE_CONSOLE_TYPE (stream); | |
| 32 | |
| 33 struct stream_console | |
| 34 { | |
| 3092 | 35 #ifdef NEW_GC |
|
5127
a9c41067dd88
more cleanups, terminology clarification, lots of doc work
Ben Wing <ben@xemacs.org>
parents:
5120
diff
changeset
|
36 NORMAL_LISP_OBJECT_HEADER header; |
| 3092 | 37 #endif /* NEW_GC */ |
| 872 | 38 FILE *in; |
| 39 FILE *out; | |
| 40 FILE *err; | |
| 41 int needs_newline; | |
| 1204 | 42 Lisp_Object instream; |
| 872 | 43 }; |
| 44 | |
| 3092 | 45 #ifdef NEW_GC |
| 46 typedef struct stream_console Lisp_Stream_Console; | |
| 47 | |
|
5118
e0db3c197671
merge up to latest default branch, doesn't compile yet
Ben Wing <ben@xemacs.org>
parents:
3092
diff
changeset
|
48 DECLARE_LISP_OBJECT (stream_console, Lisp_Stream_Console); |
| 3092 | 49 |
| 50 #define XSTREAM_CONSOLE(x) \ | |
| 51 XRECORD (x, stream_console, Lisp_Stream_Console) | |
| 52 #define wrap_stream_console(p) wrap_record (p, stream_console) | |
| 53 #define STREAM_CONSOLE_P(x) RECORDP (x, stream_console) | |
| 54 #endif /* NEW_GC */ | |
| 55 | |
| 872 | 56 #define CONSOLE_STREAM_DATA(con) CONSOLE_TYPE_DATA (con, stream) |
| 57 | |
| 58 #endif /* INCLUDED_console_stream_impl_h_ */ |
