(make_lispy_event): Make case GPM_CLICK_EVENT
authorNick Roberts <nickrob@snap.net.nz>
Sun, 20 May 2007 03:51:31 +0000 (03:51 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Sun, 20 May 2007 03:51:31 +0000 (03:51 +0000)
conditional on [HAVE_GPM_H].

src/keyboard.c

index 2aa3b08..e56a690 100644 (file)
@@ -6008,6 +6008,7 @@ make_lispy_event (event)
       }
 #endif
 
+#ifdef HAVE_GPM_H
     case GPM_CLICK_EVENT:
       {
        FRAME_PTR f = XFRAME (event->frame_or_window);
@@ -6065,6 +6066,7 @@ make_lispy_event (event)
                        Fcons (position,
                               Qnil));
        }
+#endif /* HAVE_GPM_H */
 
       /* The 'kind' field of the event is something we don't recognize.  */
     default: