19 #ifndef FREERDP_CLIENT_X11_DISP_H
20 #define FREERDP_CLIENT_X11_DISP_H
22 #include <freerdp/types.h>
23 #include <freerdp/client/disp.h>
25 #include "xf_client.h"
28 FREERDP_API BOOL xf_disp_init(xfDispContext* xfDisp, DispClientContext* disp);
29 FREERDP_API BOOL xf_disp_uninit(xfDispContext* xfDisp, DispClientContext* disp);
31 void xf_disp_free(xfDispContext* disp);
33 WINPR_ATTR_MALLOC(xf_disp_free, 1)
34 xfDispContext* xf_disp_new(xfContext* xfc);
36 BOOL xf_disp_handle_xevent(xfContext* xfc, const XEvent* event);
37 BOOL xf_disp_handle_configureNotify(xfContext* xfc,
int width,
int height);
38 void xf_disp_resized(xfDispContext* disp);