X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=util%2Fepist%2Fepist.hh;h=c0687e021cb0edcc58cd79d2401c956021bf7fdb;hb=bcb14a3ce94ee4b4cba07de7a297470719390331;hp=a3c4fdccdd8d5cce03cd0bb66ea82711b01c52fb;hpb=8ec56b9907d7fafab28e79cab362a43f2971ab72;p=chaz%2Fopenbox diff --git a/util/epist/epist.hh b/util/epist/epist.hh index a3c4fdcc..c0687e02 100644 --- a/util/epist/epist.hh +++ b/util/epist/epist.hh @@ -51,7 +51,7 @@ private: typedef WindowLookup::value_type WindowLookupPair; WindowLookup _windows; - ActionList _actions; + ActionList _actions; virtual void process_event(XEvent *e); virtual bool handleSignal(int sig); @@ -67,7 +67,12 @@ public: void removeWindow(XWindow *window); XWindow *findWindow(Window window) const; - const ActionList actions(void) { return _actions; } + void getLockModifiers(int &numlockMask, int &scrolllockMask) const { + numlockMask = NumLockMask; + scrolllockMask = ScrollLockMask; + } + + const ActionList &actions(void) { return _actions; } }; #endif // __epist_hh