File: xorg-altgr-fix.diff

package info (click to toggle)
emacs21 21.4a%2B1-3etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 59,104 kB
  • ctags: 58,909
  • sloc: lisp: 493,229; ansic: 237,175; xml: 4,262; sh: 4,109; makefile: 2,479; perl: 1,069; cs: 776; asm: 254; csh: 9; sed: 4
file content (24 lines) | stat: -rw-r--r-- 870 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
* The xterm.h includes have been adjusted so that AltGr works with Xorg.
  Patch: xorg-altgr-fix.diff
  Provided-by: Jerome Marant <mlang@debian.org>
  Applied-by: Jerome Marant <jerome@debian.org>
  Date: Sun,  7 Aug 2005 19:08:21 +0200
  Status: appears to be incorporated upstream

  Xutil.h is now included after after keysym.h in xterm.h to work
  around a bug in Xorg which caused AltGr to be recognised
  incorrectly.

diff -urNad --exclude=CVS --exclude=.svn ./src/xterm.h /tmp/dpep-work.K20gf1/emacs21-21.4a/src/xterm.h
--- ./src/xterm.h	2002-02-22 11:41:44.000000000 +0100
+++ /tmp/dpep-work.K20gf1/emacs21-21.4a/src/xterm.h	2005-08-07 19:06:04.000000000 +0200
@@ -21,8 +21,8 @@
 
 #include <X11/Xlib.h>
 #include <X11/cursorfont.h>
-#include <X11/Xutil.h>
 #include <X11/keysym.h>
+#include <X11/Xutil.h>
 #include <X11/Xatom.h>
 #include <X11/Xresource.h>