diff options
| author | Nick Roberts | 2007-05-20 03:51:31 +0000 |
|---|---|---|
| committer | Nick Roberts | 2007-05-20 03:51:31 +0000 |
| commit | b8e3b6ce4ea867b9b0a4b204ac0be084abd6e5f8 (patch) | |
| tree | 3626811c9c7e331020ebfa9ab6553ee46cefc6bc /src | |
| parent | 59ffc604f6d10900bf00ba781db754b495582fef (diff) | |
| download | emacs-b8e3b6ce4ea867b9b0a4b204ac0be084abd6e5f8.tar.gz emacs-b8e3b6ce4ea867b9b0a4b204ac0be084abd6e5f8.zip | |
(make_lispy_event): Make case GPM_CLICK_EVENT
conditional on [HAVE_GPM_H].
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 2aa3b083cc0..e56a6904c91 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -6008,6 +6008,7 @@ make_lispy_event (event) | |||
| 6008 | } | 6008 | } |
| 6009 | #endif | 6009 | #endif |
| 6010 | 6010 | ||
| 6011 | #ifdef HAVE_GPM_H | ||
| 6011 | case GPM_CLICK_EVENT: | 6012 | case GPM_CLICK_EVENT: |
| 6012 | { | 6013 | { |
| 6013 | FRAME_PTR f = XFRAME (event->frame_or_window); | 6014 | FRAME_PTR f = XFRAME (event->frame_or_window); |
| @@ -6065,6 +6066,7 @@ make_lispy_event (event) | |||
| 6065 | Fcons (position, | 6066 | Fcons (position, |
| 6066 | Qnil)); | 6067 | Qnil)); |
| 6067 | } | 6068 | } |
| 6069 | #endif /* HAVE_GPM_H */ | ||
| 6068 | 6070 | ||
| 6069 | /* The 'kind' field of the event is something we don't recognize. */ | 6071 | /* The 'kind' field of the event is something we don't recognize. */ |
| 6070 | default: | 6072 | default: |