X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=util%2Fepist%2Fwindow.cc;h=cbd60f3733831f34274c788dc0ce83a9c98e4f35;hb=5cb52056efcac25dd4b0d3035f860e5b1870bca1;hp=376446a465666250ccc53a14bd96c8f5d6ce5c1c;hpb=e01cab39e56e5cc9e0dc436983842c050dab1bac;p=chaz%2Fopenbox diff --git a/util/epist/window.cc b/util/epist/window.cc index 376446a4..cbd60f37 100644 --- a/util/epist/window.cc +++ b/util/epist/window.cc @@ -177,3 +177,9 @@ void XWindow::focus() const { _xatom->sendClientMessage(_screen->rootWindow(), XAtom::net_active_window, _window); } + + +void XWindow::sendTo(unsigned int dest) const { + _xatom->sendClientMessage(_screen->rootWindow(), XAtom::net_wm_desktop, + _window, dest); +}