xf_rail_send_activate(xfi, event->xany.window, True);
xf_kbd_focus_in(xfi);
- xf_cliprdr_check_owner(xfi);
+ if (xfi->remote_app != True)
+ xf_cliprdr_check_owner(xfi);
return True;
}
boolean xf_event_SelectionNotify(xfInfo* xfi, XEvent* event, boolean app)
{
- if (xf_cliprdr_process_selection_notify(xfi, event))
- return True;
+ if (xfi->remote_app != True)
+ {
+ if (xf_cliprdr_process_selection_notify(xfi, event))
+ return True;
+ }
return True;
}
boolean xf_event_SelectionRequest(xfInfo* xfi, XEvent* event, boolean app)
{
- if (xf_cliprdr_process_selection_request(xfi, event))
- return True;
+ if (xfi->remote_app != True)
+ {
+ if (xf_cliprdr_process_selection_request(xfi, event))
+ return True;
+ }
return True;
}
boolean xf_event_SelectionClear(xfInfo* xfi, XEvent* event, boolean app)
{
- if (xf_cliprdr_process_selection_clear(xfi, event))
- return True;
+ if (xfi->remote_app != True)
+ {
+ if (xf_cliprdr_process_selection_clear(xfi, event))
+ return True;
+ }
return True;
}
boolean xf_event_PropertyNotify(xfInfo* xfi, XEvent* event, boolean app)
{
- if (xf_cliprdr_process_property_notify(xfi, event))
- return True;
+ if (xfi->remote_app != True)
+ {
+ if (xf_cliprdr_process_property_notify(xfi, event))
+ return True;
+ }
return True;
}
freerdp_chanman_post_connect(GET_CHANMAN(instance), instance);
xf_tsmf_init(xfi, xv_port);
- xf_cliprdr_init(xfi, GET_CHANMAN(instance));
+
+ if (xfi->remote_app != True)
+ xf_cliprdr_init(xfi, GET_CHANMAN(instance));
return True;
}