static BOOL xf_event_KeyRelease(xfContext* xfc, XEvent* event, BOOL app)
{
- XEvent nextEvent;
KeySym keysym;
char str[256];
-
XLookupString((XKeyEvent*) event, str, sizeof(str), &keysym, NULL);
xf_keyboard_key_release(xfc, event->xkey.keycode, keysym);
return TRUE;
if (settings->DynamicResolutionUpdate)
{
int alignedWidth, alignedHeight;
-
alignedWidth = (xfc->window->width / 2) * 2;
alignedHeight = (xfc->window->height / 2) * 2;
-
/* ask the server to resize using the display channel */
xf_disp_handle_configureNotify(xfc, alignedWidth, alignedHeight);
}
BOOL status = TRUE;
xfAppWindow* appWindow;
xfContext* xfc = (xfContext*) instance->context;
- rdpSettings *settings = xfc->context.settings;
+ rdpSettings* settings = xfc->context.settings;
if (xfc->remote_app)
{
default:
if (settings->SupportDisplayControl && xfc->xfDisp)
xf_disp_handle_xevent(xfc, event);
+
break;
}
xf_cliprdr_handle_xevent(xfc, event);
-
xf_input_handle_event(xfc, event);
-
XSync(xfc->display, FALSE);
return status;
}