X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=util%2Fepist%2Fepist.hh;h=c0687e021cb0edcc58cd79d2401c956021bf7fdb;hb=6ea8fb9afa1df8415fe88198525254c59a01230e;hp=ceaebdfa997c9e2fb41b9918a543239905c327a8;hpb=b790e78e0ac99d3bcdc3f7e11b43e4da1ede8968;p=chaz%2Fopenbox diff --git a/util/epist/epist.hh b/util/epist/epist.hh index ceaebdfa..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,6 +67,11 @@ public: void removeWindow(XWindow *window); XWindow *findWindow(Window window) const; + void getLockModifiers(int &numlockMask, int &scrolllockMask) const { + numlockMask = NumLockMask; + scrolllockMask = ScrollLockMask; + } + const ActionList &actions(void) { return _actions; } };