diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-07-24 08:33:35 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-07-24 08:33:35 +0000 |
| commit | 28594da6de001f1d8b6b975286032302db3a6491 (patch) | |
| tree | dfbd92e585fbe52456061b79065814b9405b51b3 /util/epist/screen.hh | |
| parent | 3792d283331087b1ae92419f847efaa7f879e440 (diff) | |
epist + multihead == <drool>
added next/prevWindowOnAllScreens
added next/prevScreen
Diffstat (limited to 'util/epist/screen.hh')
| -rw-r--r-- | util/epist/screen.hh | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/util/epist/screen.hh b/util/epist/screen.hh index be30baa5..6d0c87ba 100644 --- a/util/epist/screen.hh +++ b/util/epist/screen.hh @@ -46,8 +46,9 @@ class screen { std::string _wm_name; - WindowList _clients; - WindowList::iterator _active; + WindowList &_clients; + WindowList::iterator &_active; + WindowList::iterator _last_active; unsigned int _active_desktop; unsigned int _num_desktops; @@ -68,12 +69,15 @@ public: inline Window rootWindow() const { return _root; } inline bool managed() const { return _managed; } inline int number() const { return _number; } + + const XWindow *lastActiveWindow() const; void processEvent(const XEvent &e); - void handleKeypress(const XEvent &e); + void updateEverything(); - void cycleWindow(const bool forward, const bool alldesktops = false, + void cycleWindow(const bool forward, const bool allscreens = false, + const bool alldesktops = false, const bool sameclass = false, const std::string &classname = "") const; void cycleWorkspace(const bool forward, const bool loop = true) const; |
