|
|
@ -230,7 +230,7 @@ lxrdp_event(struct mod *mod, int msg, long param1, long param2,
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
|
|
case 17: /* Synchronize */
|
|
|
|
case 17: /* Synchronize */
|
|
|
|
LLOGLN(11, ("Synchronized event handled : %d", param1));
|
|
|
|
LLOGLN(11, ("Synchronized event handled : %ld", param1));
|
|
|
|
/* In some situations the Synchronize event come to early.
|
|
|
|
/* In some situations the Synchronize event come to early.
|
|
|
|
Therefore we store this information and use it when we
|
|
|
|
Therefore we store this information and use it when we
|
|
|
|
receive the first keyboard event
|
|
|
|
receive the first keyboard event
|
|
|
@ -246,7 +246,7 @@ lxrdp_event(struct mod *mod, int msg, long param1, long param2,
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
|
|
case 100: /* mouse move */
|
|
|
|
case 100: /* mouse move */
|
|
|
|
LLOGLN(12, ("mouse move %d %d", param1, param2));
|
|
|
|
LLOGLN(12, ("mouse move %ld %ld", param1, param2));
|
|
|
|
x = param1;
|
|
|
|
x = param1;
|
|
|
|
y = param2;
|
|
|
|
y = param2;
|
|
|
|
flags = PTR_FLAGS_MOVE;
|
|
|
|
flags = PTR_FLAGS_MOVE;
|
|
|
@ -254,7 +254,7 @@ lxrdp_event(struct mod *mod, int msg, long param1, long param2,
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
|
|
case 101: /* left button up */
|
|
|
|
case 101: /* left button up */
|
|
|
|
LLOGLN(12, ("left button up %d %d", param1, param2));
|
|
|
|
LLOGLN(12, ("left button up %ld %ld", param1, param2));
|
|
|
|
x = param1;
|
|
|
|
x = param1;
|
|
|
|
y = param2;
|
|
|
|
y = param2;
|
|
|
|
flags = PTR_FLAGS_BUTTON1;
|
|
|
|
flags = PTR_FLAGS_BUTTON1;
|
|
|
@ -262,7 +262,7 @@ lxrdp_event(struct mod *mod, int msg, long param1, long param2,
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
|
|
case 102: /* left button down */
|
|
|
|
case 102: /* left button down */
|
|
|
|
LLOGLN(12, ("left button down %d %d", param1, param2));
|
|
|
|
LLOGLN(12, ("left button down %ld %ld", param1, param2));
|
|
|
|
x = param1;
|
|
|
|
x = param1;
|
|
|
|
y = param2;
|
|
|
|
y = param2;
|
|
|
|
flags = PTR_FLAGS_BUTTON1 | PTR_FLAGS_DOWN;
|
|
|
|
flags = PTR_FLAGS_BUTTON1 | PTR_FLAGS_DOWN;
|
|
|
@ -270,7 +270,7 @@ lxrdp_event(struct mod *mod, int msg, long param1, long param2,
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
|
|
case 103: /* right button up */
|
|
|
|
case 103: /* right button up */
|
|
|
|
LLOGLN(12, ("right button up %d %d", param1, param2));
|
|
|
|
LLOGLN(12, ("right button up %ld %ld", param1, param2));
|
|
|
|
x = param1;
|
|
|
|
x = param1;
|
|
|
|
y = param2;
|
|
|
|
y = param2;
|
|
|
|
flags = PTR_FLAGS_BUTTON2;
|
|
|
|
flags = PTR_FLAGS_BUTTON2;
|
|
|
@ -278,7 +278,7 @@ lxrdp_event(struct mod *mod, int msg, long param1, long param2,
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
|
|
case 104: /* right button down */
|
|
|
|
case 104: /* right button down */
|
|
|
|
LLOGLN(12, ("right button down %d %d", param1, param2));
|
|
|
|
LLOGLN(12, ("right button down %ld %ld", param1, param2));
|
|
|
|
x = param1;
|
|
|
|
x = param1;
|
|
|
|
y = param2;
|
|
|
|
y = param2;
|
|
|
|
flags = PTR_FLAGS_BUTTON2 | PTR_FLAGS_DOWN;
|
|
|
|
flags = PTR_FLAGS_BUTTON2 | PTR_FLAGS_DOWN;
|
|
|
@ -286,7 +286,7 @@ lxrdp_event(struct mod *mod, int msg, long param1, long param2,
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
|
|
case 105: /* middle button up */
|
|
|
|
case 105: /* middle button up */
|
|
|
|
LLOGLN(12, ("middle button up %d %d", param1, param2));
|
|
|
|
LLOGLN(12, ("middle button up %ld %ld", param1, param2));
|
|
|
|
x = param1;
|
|
|
|
x = param1;
|
|
|
|
y = param2;
|
|
|
|
y = param2;
|
|
|
|
flags = PTR_FLAGS_BUTTON3;
|
|
|
|
flags = PTR_FLAGS_BUTTON3;
|
|
|
@ -294,7 +294,7 @@ lxrdp_event(struct mod *mod, int msg, long param1, long param2,
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
|
|
case 106: /* middle button down */
|
|
|
|
case 106: /* middle button down */
|
|
|
|
LLOGLN(12, ("middle button down %d %d", param1, param2));
|
|
|
|
LLOGLN(12, ("middle button down %ld %ld", param1, param2));
|
|
|
|
x = param1;
|
|
|
|
x = param1;
|
|
|
|
y = param2;
|
|
|
|
y = param2;
|
|
|
|
flags = PTR_FLAGS_BUTTON3 | PTR_FLAGS_DOWN;
|
|
|
|
flags = PTR_FLAGS_BUTTON3 | PTR_FLAGS_DOWN;
|
|
|
|