Added the ability to quite the RDP session by pressing "r-ctrl + shift + D". The reason for this is when in full screen I have no way to exit from xrdp if I don't want to close my session.
This commit is contained in:
parent
72b614262f
commit
f2ae9c00be
@ -450,6 +450,12 @@ BOOL sdlInput::keyboard_handle_event(const SDL_KeyboardEvent* ev)
|
||||
keyboard_grab(ev->windowID, _sdl->grab_kbd ? SDL_FALSE : SDL_TRUE);
|
||||
}
|
||||
return TRUE;
|
||||
case SDL_SCANCODE_D:
|
||||
if (ev->type == SDL_KEYDOWN)
|
||||
{
|
||||
freerdp_abort_connect_context(_sdl->context());
|
||||
}
|
||||
return true;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user