]>
Dogcows Code - chaz/openbox/blob - plugins/mouse/mouse.c
1 #include "../../kernel/dispatch.h"
4 void my_powerful_function() {}
6 static void event(ObEvent
*e
, void *foo
)
9 case Event_X_ButtonPress
:
11 case Event_X_ButtonRelease
:
13 case Event_X_MotionNotify
:
16 g_assert_not_reached();
22 dispatch_register(Event_X_ButtonPress
| Event_X_ButtonRelease
|
23 Event_X_MotionNotify
, (EventHandler
)event
, NULL
);
26 void plugin_shutdown()
28 dispatch_register(0, (EventHandler
)event
, NULL
);
This page took 0.035962 seconds and 5 git commands to generate.