mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-12-04 15:23:32 +08:00
xfreerdp: added sending Window Move Order to server.
This commit is contained in:
parent
a966cc30c7
commit
3c78705515
@ -219,6 +219,22 @@ static void xf_send_rail_client_event(rdpChanMan* chanman, uint16 event_type, vo
|
||||
}
|
||||
}
|
||||
|
||||
void xf_rail_send_windowmove(xfInfo* xfi, uint32 windowId, uint32 left, uint32 top, uint32 right, uint32 bottom)
|
||||
{
|
||||
rdpChanMan* chanman;
|
||||
RAIL_WINDOW_MOVE_ORDER window_move;
|
||||
|
||||
chanman = GET_CHANMAN(xfi->instance);
|
||||
|
||||
window_move.windowId = windowId;
|
||||
window_move.left = left;
|
||||
window_move.top = top;
|
||||
window_move.right = right;
|
||||
window_move.bottom = bottom;
|
||||
|
||||
xf_send_rail_client_event(chanman, RDP_EVENT_TYPE_RAIL_CLIENT_WINDOW_MOVE, &window_move);
|
||||
}
|
||||
|
||||
void xf_rail_send_activate(xfInfo* xfi, Window xwindow, boolean enabled)
|
||||
{
|
||||
rdpChanMan* chanman;
|
||||
|
@ -30,6 +30,8 @@ void xf_rail_send_client_system_command(xfInfo* xfi, uint32 windowId, uint16 com
|
||||
|
||||
void xf_rail_send_activate(xfInfo* xfi, Window xwindow, boolean enabled);
|
||||
|
||||
void xf_rail_send_windowmove(xfInfo* xfi, uint32 windowId, uint32 left, uint32 top, uint32 right, uint32 bottom);
|
||||
|
||||
void xf_process_rail_event(xfInfo* xfi, rdpChanMan* chanman, RDP_EVENT* event);
|
||||
|
||||
#endif /* __XF_RAIL_H */
|
||||
|
Loading…
Reference in New Issue
Block a user