]> Dogcows Code - chaz/openbox/blobdiff - util/epist/window.cc
add next/prev window on all workspaces
[chaz/openbox] / util / epist / window.cc
index c2dff72a3e655dc9f3c30b65af5334c3710d118f..376446a465666250ccc53a14bd96c8f5d6ce5c1c 100644 (file)
@@ -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);
+}
This page took 0.020082 seconds and 4 git commands to generate.