]> git.lyx.org Git - features.git/blobdiff - src/lyxfunc.h
different low-level key handling for xforms 0.89, use signals in workarea, changes...
[features.git] / src / lyxfunc.h
index ec0685a265b850ba2411f1f066db3e51caf3d55b..508d0350859ea550ef584d2c50c72003b741c3d1 100644 (file)
@@ -6,6 +6,7 @@
 #pragma interface
 #endif
 
+#include FORMS_H_LOCATION
 #include "commandtags.h"
 #include "kbsequence.h"
 #include "insets/lyxinset.h"
@@ -48,9 +49,13 @@ public:
        /// Same again but for xtl buffers.  Still looking for better idea.
        bool Dispatch(int action, auto_mem_buffer &);
 
+#if FL_REVISION < 89
        /// A keyboard event is processed to execute a lyx action. 
        int processKeyEvent(XEvent * ev);
-
+#else
+       ///
+       int processKeySym(KeySym k, unsigned int state);
+#endif
        ///
        func_status getStatus(int ac) const;