Added extended shadow support for mouse and unicode
This commit is contained in:
parent
42df492450
commit
4622c58332
@ -300,6 +300,17 @@ static BOOL x11_shadow_input_mouse_event(rdpShadowSubsystem* subsystem, rdpShado
|
||||
XTestFakeButtonEvent(x11->display, button, True, (unsigned long)CurrentTime);
|
||||
XTestFakeButtonEvent(x11->display, button, False, (unsigned long)CurrentTime);
|
||||
}
|
||||
else if (flags & PTR_FLAGS_HWHEEL)
|
||||
{
|
||||
BOOL negative = FALSE;
|
||||
|
||||
if (flags & PTR_FLAGS_WHEEL_NEGATIVE)
|
||||
negative = TRUE;
|
||||
|
||||
button = (negative) ? 7 : 6;
|
||||
XTestFakeButtonEvent(x11->display, button, True, (unsigned long)CurrentTime);
|
||||
XTestFakeButtonEvent(x11->display, button, False, (unsigned long)CurrentTime);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (flags & PTR_FLAGS_MOVE)
|
||||
|
@ -1785,6 +1785,9 @@ static DWORD WINAPI shadow_client_thread(LPVOID arg)
|
||||
UpdateEvent = shadow_multiclient_getevent(UpdateSubscriber);
|
||||
ChannelEvent = WTSVirtualChannelManagerGetEventHandle(client->vcm);
|
||||
|
||||
freerdp_settings_set_bool(settings, FreeRDP_UnicodeInput, TRUE);
|
||||
freerdp_settings_set_bool(settings, FreeRDP_HasHorizontalWheel, TRUE);
|
||||
freerdp_settings_set_bool(settings, FreeRDP_HasExtendedMouseEvent, TRUE);
|
||||
while (1)
|
||||
{
|
||||
nCount = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user