summaryrefslogtreecommitdiffstats
path: root/freerdp1/xrdp-freerdp.c
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2012-05-07 11:21:47 -0700
committerJay Sorg <jay.sorg@gmail.com>2012-05-07 11:21:47 -0700
commit769e006dfe6e365b1fc82cd57915dc0f841fbec4 (patch)
tree15449dc309ae4843b26eee51afc929e304ca111c /freerdp1/xrdp-freerdp.c
parent3e422c04c6289f3f1f7cf9ce4325982b942ede7c (diff)
downloadxrdp-proprietary-769e006dfe6e365b1fc82cd57915dc0f841fbec4.tar.gz
xrdp-proprietary-769e006dfe6e365b1fc82cd57915dc0f841fbec4.zip
freerdp1: fixes from ArvidNorr
Diffstat (limited to 'freerdp1/xrdp-freerdp.c')
-rw-r--r--freerdp1/xrdp-freerdp.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/freerdp1/xrdp-freerdp.c b/freerdp1/xrdp-freerdp.c
index 69bc0ca0..2377f217 100644
--- a/freerdp1/xrdp-freerdp.c
+++ b/freerdp1/xrdp-freerdp.c
@@ -152,6 +152,10 @@ lxrdp_event(struct mod* mod, int msg, long param1, long param2,
case 16: /* key up */
mod->inst->input->KeyboardEvent(mod->inst->input, param4, param3);
break;
+ case 17: /*Synchronize*/
+ LLOGLN(0, ("Synchronized event handled"));
+ mod->inst->input->SynchronizeEvent(mod->inst->input, 0);
+ break;
case 100: /* mouse move */
LLOGLN(10, ("mouse move %d %d", param1, param2));
x = param1;
@@ -255,6 +259,9 @@ lxrdp_event(struct mod* mod, int msg, long param1, long param2,
break;
}
break;
+ default:
+ LLOGLN(0, ("Unhandled message type in eventhandler %d", msg));
+ break;
}
return 0;
}