X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=util%2Fepist%2Factions.hh;h=b211bf9d5599b3c29064b18b85e9cf189327f20d;hb=8e601e4a64b37f333fc3a5f844e4d72d6f289415;hp=9a7a60435340dc36b951e5b54f8228b2ffe19ebf;hpb=a939bb6e41772ffd4fe75f0c73ae79db237ca979;p=chaz%2Fopenbox diff --git a/util/epist/actions.hh b/util/epist/actions.hh index 9a7a6043..b211bf9d 100644 --- a/util/epist/actions.hh +++ b/util/epist/actions.hh @@ -47,15 +47,15 @@ public: nextWindow, prevWindow, - nextWindowOnAllDesktops, - prevWindowOnAllDesktops, + nextWindowOnAllWorkspaces, + prevWindowOnAllWorkspaces, nextWindowOfClass, prevWindowOfClass, - changeDesktop, - nextDesktop, - prevDesktop, + changeWorkspace, //done + nextWorkspace, //done + prevWorkspace, //done // these are openbox extensions showRootMenu, @@ -73,14 +73,17 @@ public: private: enum ActionType _type; const KeyCode _keycode; - const int _modifierMask; - + const unsigned int _modifierMask; + + const int _numberParam; public: inline enum ActionType type() const { return _type;} inline const KeyCode keycode() const { return _keycode; } - inline const int modifierMask() const { return _modifierMask; } + inline const unsigned int modifierMask() const { return _modifierMask; } + inline const int number() const { return _numberParam; } - Action(enum ActionType type, KeyCode keycode, int modifierMask); + Action(enum ActionType type, KeyCode keycode, unsigned int modifierMask, + int number = 0); }; typedef std::list ActionList;