X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Feventhandler.hh;fp=otk%2Feventhandler.hh;h=ea273ef4375e8f5cbc41fafc7bd4c0767a8edeb1;hb=6f5e60f0337e60d904a8f549aeaa631afefc8033;hp=000efb53ebc8067cc55f0060a41a9b1d94afb4c6;hpb=0680daeef57748af17e0462def4852d408a62eb6;p=chaz%2Fopenbox diff --git a/otk/eventhandler.hh b/otk/eventhandler.hh index 000efb53..ea273ef4 100644 --- a/otk/eventhandler.hh +++ b/otk/eventhandler.hh @@ -10,7 +10,7 @@ namespace otk { class OtkEventHandler{ public: //! Dispatches events to one of the other handlers based on their type. - int handle(const XEvent &e); + virtual int handle(const XEvent &e); //! Called whenever any key is pressed. virtual int keyPressHandler(const XKeyEvent &) {return 1;}