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