]>
Dogcows Code - chaz/openbox/blob - otk/eventhandler.cc
1 #include "eventhandler.hh"
5 OtkEventHandler::OtkEventHandler()
10 OtkEventHandler::~OtkEventHandler()
15 int OtkEventHandler::handle(const XEvent
&e
)
19 return keyPressHandler(e
.xkey
);
21 return keyReleaseHandler(e
.xkey
);
23 return buttonPressHandler(e
.xbutton
);
25 return buttonReleaseHandler(e
.xbutton
);
27 return enterHandler(e
.xcrossing
);
29 return leaveHandler(e
.xcrossing
);
31 return focusHandler(e
.xfocus
);
33 return unfocusHandler(e
.xfocus
);
35 return exposeHandler(e
.xexpose
);
37 return graphicsExposeHandler(e
.xgraphicsexpose
);
39 return noExposeEventHandler(e
.xnoexpose
);
40 case CirculateRequest
:
41 return circulateRequestHandler(e
.xcirculaterequest
);
42 case ConfigureRequest
:
43 return configureRequestHandler(e
.xconfigurerequest
);
45 return mapRequestHandler(e
.xmaprequest
);
47 return resizeRequestHandler(e
.xresizerequest
);
49 return circulateHandler(e
.xcirculate
);
51 return configureHandler(e
.xconfigure
);
53 return createHandler(e
.xcreatewindow
);
55 return destroyHandler(e
.xdestroywindow
);
57 return gravityHandler(e
.xgravity
);
59 return mapHandler(e
.xmap
);
61 return mappingHandler(e
.xmapping
);
63 return reparentHandler(e
.xreparent
);
65 return unmapHandler(e
.xunmap
);
66 case VisibilityNotify
:
67 return visibilityHandler(e
.xvisibility
);
69 return colorMapHandler(e
.xcolormap
);
71 return clientMessageHandler(e
.xclient
);
73 return propertyHandler(e
.xproperty
);
75 return selectionClearHandler(e
.xselectionclear
);
77 return selectionHandler(e
.xselection
);
78 case SelectionRequest
:
79 return selectionRequestHandler(e
.xselectionrequest
);
This page took 0.039504 seconds and 5 git commands to generate.