20 #ifndef FREERDP_CLIENT_X11_EVENT_H
21 #define FREERDP_CLIENT_X11_EVENT_H
23 #include "xf_keyboard.h"
25 #include "xf_client.h"
28 const char* x11_event_string(
int event);
30 BOOL xf_event_action_script_init(xfContext* xfc);
31 void xf_event_action_script_free(xfContext* xfc);
33 BOOL xf_event_process(freerdp* instance,
const XEvent* event);
34 void xf_event_SendClientEvent(xfContext* xfc, xfWindow* window, Atom atom,
unsigned int numArgs,
37 void xf_event_adjust_coordinates(xfContext* xfc,
int* x,
int* y);
38 void xf_adjust_coordinates_to_screen(xfContext* xfc, UINT32* x, UINT32* y);
40 BOOL xf_generic_MotionNotify(xfContext* xfc,
int x,
int y,
int state, Window window, BOOL app);
41 BOOL xf_generic_RawMotionNotify(xfContext* xfc,
int x,
int y, Window window, BOOL app);
42 BOOL xf_generic_ButtonEvent(xfContext* xfc,
int x,
int y,
int button, Window window, BOOL app,
44 BOOL xf_generic_RawButtonEvent(xfContext* xfc,
int button, BOOL app, BOOL down);