X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=util%2Fepist%2Fwindow.cc;h=cbd60f3733831f34274c788dc0ce83a9c98e4f35;hb=ffd7021d22f534aa5974641e97911b24369d5896;hp=376446a465666250ccc53a14bd96c8f5d6ce5c1c;hpb=a9dfa0439bd8d4f525d5b41a22a3eb14b94d1200;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); +}