summaryrefslogtreecommitdiff
path: root/util/epist/window.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-07-20 09:58:49 +0000
committerDana Jansens <danakj@orodu.net>2002-07-20 09:58:49 +0000
commita9dfa0439bd8d4f525d5b41a22a3eb14b94d1200 (patch)
treec56566233d28320b710dc148a13f66bc43250391 /util/epist/window.cc
parentfaab750f78c333c1c412023677d6d85915cb57de (diff)
add next/prev window on all workspaces
Diffstat (limited to 'util/epist/window.cc')
-rw-r--r--util/epist/window.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/util/epist/window.cc b/util/epist/window.cc
index c2dff72a..376446a4 100644
--- a/util/epist/window.cc
+++ b/util/epist/window.cc
@@ -170,3 +170,10 @@ void XWindow::iconify() const {
_xatom->sendClientMessage(_screen->rootWindow(), XAtom::wm_change_state,
_window, IconicState);
}
+
+
+void XWindow::focus() const {
+ // this will also unshade the window..
+ _xatom->sendClientMessage(_screen->rootWindow(), XAtom::net_active_window,
+ _window);
+}