X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=util%2Fepist%2Fwindow.cc;h=0d33a2f6d641487409bd5621e5e9039a9b6eb391;hb=49c04eaf57fc20efe95c431b78b2c08d6403dee2;hp=628bcebac79758b5abaaefe086f1cf92ca22e3eb;hpb=675d16c71a888d9e0fa96636ee473e5bca4a454a;p=chaz%2Fopenbox diff --git a/util/epist/window.cc b/util/epist/window.cc index 628bceba..0d33a2f6 100644 --- a/util/epist/window.cc +++ b/util/epist/window.cc @@ -219,9 +219,11 @@ void XWindow::iconify() const { void XWindow::focus() const { - // this will also unshade the window.. + // this will cause the window to be uniconified also _xatom->sendClientMessage(_screen->rootWindow(), XAtom::net_active_window, _window); + + //XSetInputFocus(_epist->getXDisplay(), _window, None, CurrentTime); }