X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Feventhandler.hh;h=ea273ef4375e8f5cbc41fafc7bd4c0767a8edeb1;hb=3bc1f37469a4933966f049cc57093fb564b721a3;hp=000efb53ebc8067cc55f0060a41a9b1d94afb4c6;hpb=e53fbcf092c40b22ccc4c5f23795e12c9862c338;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;}