]>
Dogcows Code - chaz/openbox/blob - otk/eventhandler.cc
1 #include "eventhandler.hh"
6 OtkEventHandler::OtkEventHandler()
11 OtkEventHandler::~OtkEventHandler()
16 void OtkEventHandler::handle(const XEvent
&e
)
20 return keyPressHandler(e
.xkey
);
22 return keyReleaseHandler(e
.xkey
);
24 return buttonPressHandler(e
.xbutton
);
26 return buttonReleaseHandler(e
.xbutton
);
28 return enterHandler(e
.xcrossing
);
30 return leaveHandler(e
.xcrossing
);
32 return focusHandler(e
.xfocus
);
34 return unfocusHandler(e
.xfocus
);
36 return exposeHandler(e
.xexpose
);
38 return graphicsExposeHandler(e
.xgraphicsexpose
);
40 return noExposeEventHandler(e
.xnoexpose
);
41 case CirculateRequest
:
42 return circulateRequestHandler(e
.xcirculaterequest
);
43 case ConfigureRequest
:
44 return configureRequestHandler(e
.xconfigurerequest
);
46 return mapRequestHandler(e
.xmaprequest
);
48 return resizeRequestHandler(e
.xresizerequest
);
50 return circulateHandler(e
.xcirculate
);
52 return configureHandler(e
.xconfigure
);
54 return createHandler(e
.xcreatewindow
);
56 return destroyHandler(e
.xdestroywindow
);
58 return gravityHandler(e
.xgravity
);
60 return mapHandler(e
.xmap
);
62 return mappingHandler(e
.xmapping
);
64 return reparentHandler(e
.xreparent
);
66 return unmapHandler(e
.xunmap
);
67 case VisibilityNotify
:
68 return visibilityHandler(e
.xvisibility
);
70 return colorMapHandler(e
.xcolormap
);
72 return clientMessageHandler(e
.xclient
);
74 return propertyHandler(e
.xproperty
);
76 return selectionClearHandler(e
.xselectionclear
);
78 return selectionHandler(e
.xselection
);
79 case SelectionRequest
:
80 return selectionRequestHandler(e
.xselectionrequest
);
This page took 0.040663 seconds and 5 git commands to generate.