Mercurial > hg > xemacs-beta
annotate modules/canna/Makefile.in.in @ 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 | 308d34e9f07d |
children |
rev | line source |
---|---|
2973 | 1 ## Makefile for the sample module in XEmacs. |
2 ## Copyright (C) 2002 Jerry James. | |
3 | |
4 ## This file is part of XEmacs. | |
5 | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
3010
diff
changeset
|
6 ## XEmacs is free software: you can redistribute it and/or modify it |
2973 | 7 ## 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:
3010
diff
changeset
|
8 ## 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:
3010
diff
changeset
|
9 ## option) any later version. |
2973 | 10 |
11 ## XEmacs is distributed in the hope that it will be useful, but WITHOUT | |
12 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
13 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
14 ## for more details. | |
15 | |
16 ## 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:
3010
diff
changeset
|
17 ## along with XEmacs. If not, see <http://www.gnu.org/licenses/>. |
2973 | 18 |
19 ## Synched up with: Not synched with FSF. | |
20 | |
21 ## This is more complicated than would normally be the case, as this makefile | |
22 ## has been tailored to work both inside and independently of the XEmacs | |
23 ## source tree, and to support both module and non-module building inside the | |
24 ## source tree. | |
25 | |
26 ### Specialize this part for your module | |
3010 | 27 MODNAME=canna_api |
2973 | 28 MODVER=0.5.0 |
29 MODTITLE="Module wrapping Canna libraries for XEmacs" | |
30 CFLAGS=@CFLAGS@ | |
31 LDFLAGS=@LDFLAGS@ @ld_switch_all@ @canna_libs@ | |
3010 | 32 SRCS=canna_api.c |
2973 | 33 |
34 ## Note: modules/common/Makefile.common will be appended by configure |