diff options
Diffstat (limited to 'src/keyboard.c')
| -rw-r--r-- | src/keyboard.c | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index d9b88a8a911..7b1ea341e7f 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -63,20 +63,11 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 63 | #include <unistd.h> | 63 | #include <unistd.h> |
| 64 | #include <fcntl.h> | 64 | #include <fcntl.h> |
| 65 | 65 | ||
| 66 | /* This is to get the definitions of the XK_ symbols. */ | 66 | #ifdef HAVE_WINDOW_SYSTEM |
| 67 | #ifdef HAVE_X_WINDOWS | 67 | #include TERM_HEADER |
| 68 | #include "xterm.h" | 68 | #endif /* HAVE_WINDOW_SYSTEM */ |
| 69 | #endif | ||
| 70 | |||
| 71 | #ifdef HAVE_NTGUI | ||
| 72 | #include "w32term.h" | ||
| 73 | #endif /* HAVE_NTGUI */ | ||
| 74 | |||
| 75 | #ifdef HAVE_NS | ||
| 76 | #include "nsterm.h" | ||
| 77 | #endif | ||
| 78 | 69 | ||
| 79 | /* Variables for blockinput.h: */ | 70 | /* Variables for blockinput.h: */ |
| 80 | 71 | ||
| 81 | /* Non-zero if interrupt input is blocked right now. */ | 72 | /* Non-zero if interrupt input is blocked right now. */ |
| 82 | volatile int interrupt_input_blocked; | 73 | volatile int interrupt_input_blocked; |
| @@ -1324,7 +1315,7 @@ usage: (track-mouse BODY...) */) | |||
| 1324 | If ignore_mouse_drag_p is non-zero, ignore (implicit) mouse movement | 1315 | If ignore_mouse_drag_p is non-zero, ignore (implicit) mouse movement |
| 1325 | after resizing the tool-bar window. */ | 1316 | after resizing the tool-bar window. */ |
| 1326 | 1317 | ||
| 1327 | #if !defined HAVE_WINDOW_SYSTEM || defined USE_GTK || defined HAVE_NS | 1318 | #if !defined HAVE_WINDOW_SYSTEM |
| 1328 | static | 1319 | static |
| 1329 | #endif | 1320 | #endif |
| 1330 | int ignore_mouse_drag_p; | 1321 | int ignore_mouse_drag_p; |