changeset 80992:677a47b3c116

(make_lispy_event): Make case GPM_CLICK_EVENT conditional on [HAVE_GPM_H].
author Nick Roberts <nickrob@snap.net.nz>
date Sun, 20 May 2007 03:51:31 +0000
parents dfd811e95adc
children ed90d23a3543
files src/keyboard.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Sun May 20 03:49:33 2007 +0000
+++ b/src/keyboard.c	Sun May 20 03:51:31 2007 +0000
@@ -6008,6 +6008,7 @@
       }
 #endif
 
+#ifdef HAVE_GPM_H
     case GPM_CLICK_EVENT:
       {
 	FRAME_PTR f = XFRAME (event->frame_or_window);
@@ -6065,6 +6066,7 @@
 			Fcons (position,
 			       Qnil));
        }
+#endif /* HAVE_GPM_H */
 
       /* The 'kind' field of the event is something we don't recognize.  */
     default: