X11 XEvent disp refactored to use const arguments

This commit is contained in:
Armin Novak 2020-02-27 08:51:14 +01:00 committed by akallabeth
parent b48967d559
commit f32a46370c
2 changed files with 2 additions and 2 deletions

View File

@ -348,7 +348,7 @@ UINT xf_disp_sendLayout(DispClientContext* disp, rdpMonitor* monitors, int nmoni
return ret;
}
BOOL xf_disp_handle_xevent(xfContext* xfc, XEvent* event)
BOOL xf_disp_handle_xevent(xfContext* xfc, const XEvent* event)
{
xfDispContext* xfDisp;
rdpSettings* settings;

View File

@ -30,7 +30,7 @@ FREERDP_API BOOL xf_disp_uninit(xfDispContext* xfDisp, DispClientContext* disp);
xfDispContext* xf_disp_new(xfContext* xfc);
void xf_disp_free(xfDispContext* disp);
BOOL xf_disp_handle_xevent(xfContext* xfc, XEvent* event);
BOOL xf_disp_handle_xevent(xfContext* xfc, const XEvent* event);
BOOL xf_disp_handle_configureNotify(xfContext* xfc, int width, int height);
void xf_disp_resized(xfDispContext* disp);