From 28594da6de001f1d8b6b975286032302db3a6491 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 24 Jul 2002 08:33:35 +0000 Subject: epist + multihead == added next/prevWindowOnAllScreens added next/prevScreen --- util/epist/screen.hh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'util/epist/screen.hh') 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; -- cgit v1.2.3