I accidentally left the hardware cursor feature disabled. Now enabled.
[AROS.git] / arch / all-hosted / hidd / x11 / support.c
blob0099342e541c19e09447788b48af4707bbeb6588
1 /*
2 Copyright © 1995-2016, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: X11 gfx HIDD for AROS.
6 Lang: English.
7 */
9 #include "x11_debug.h"
12 #include <proto/oop.h>
14 #include "x11_types.h"
15 #include "x11.h"
17 /****************************************************************************************/
19 VOID Hidd_X11Mouse_HandleEvent(OOP_Object *o, XEvent *event)
21 struct pHidd_X11Mouse_HandleEvent msg;
22 static OOP_MethodID mid;
24 if (!mid)
25 mid = OOP_GetMethodID(IID_Hidd_X11Mouse, moHidd_X11Mouse_HandleEvent);
27 msg.mID = mid;
28 msg.event = event;
30 OOP_DoMethod(o, (OOP_Msg) &msg);
33 /****************************************************************************************/
35 VOID Hidd_X11Kbd_HandleEvent(OOP_Object *o, XEvent *event)
37 struct pHidd_X11Kbd_HandleEvent msg;
38 static OOP_MethodID mid;
40 if (!mid)
41 mid = OOP_GetMethodID(IID_Hidd_X11Kbd, moHidd_X11Kbd_HandleEvent);
43 msg.mID = mid;
44 msg.event = event;
46 OOP_DoMethod(o, (OOP_Msg) &msg);
49 /****************************************************************************************/