diff options
| author | Richard M. Stallman | 1995-12-28 23:58:12 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-12-28 23:58:12 +0000 |
| commit | 4a60f8c52af49e7c6a8e13e9d73f1ca10df3279b (patch) | |
| tree | 564a40b616354c8ccdfce66246fa9b3dc88df53d /src | |
| parent | 3045b1630257e91e19499bb2d1a8bd2760bacd63 (diff) | |
| download | emacs-4a60f8c52af49e7c6a8e13e9d73f1ca10df3279b.tar.gz emacs-4a60f8c52af49e7c6a8e13e9d73f1ca10df3279b.zip | |
(x_find_modifier_meanings): Fix !X11R4 code to use dpyinfo.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c index 6002f9cecc7..eade5d759de 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -1564,8 +1564,8 @@ x_find_modifier_meanings (dpyinfo) | |||
| 1564 | #ifdef HAVE_X11R4 | 1564 | #ifdef HAVE_X11R4 |
| 1565 | XDisplayKeycodes (dpyinfo->display, &min_code, &max_code); | 1565 | XDisplayKeycodes (dpyinfo->display, &min_code, &max_code); |
| 1566 | #else | 1566 | #else |
| 1567 | min_code = display->min_keycode; | 1567 | min_code = dpyinfo->display->min_keycode; |
| 1568 | max_code = display->max_keycode; | 1568 | max_code = dpyinfo->display->max_keycode; |
| 1569 | #endif | 1569 | #endif |
| 1570 | 1570 | ||
| 1571 | syms = XGetKeyboardMapping (dpyinfo->display, | 1571 | syms = XGetKeyboardMapping (dpyinfo->display, |