]> git.lyx.org Git - lyx.git/blobdiff - src/lyxserver.C
more cursor dispatch
[lyx.git] / src / lyxserver.C
index e0f4336f35e3c60ec2b02d3515664aa1414aae19..d258cb5474e5621c99c32672b106137bedb602c0 100644 (file)
@@ -41,6 +41,8 @@
 
 #include "lyxserver.h"
 #include "debug.h"
+#include "funcrequest.h"
+#include "LyXAction.h"
 #include "lyxfunc.h"
 #include "support/lstrings.h"
 #include "support/lyxlib.h"
@@ -481,7 +483,7 @@ void LyXServer::callback(LyXServer * serv, string const & msg)
                        // support currently. (Lgb)
 
 
-                       serv->func->dispatch(cmd + ' ' + arg);
+                       serv->func->dispatch(FuncRequest(lyxaction.lookupFunc(cmd), arg));
                        string const rval = serv->func->getMessage();
 
                        //modified june 1999 stefano@zool.su.se: