From: Dana Jansens Date: Wed, 24 Jul 2002 09:39:34 +0000 (+0000) Subject: better window focusing X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=0adf54b0ca8f723dd25645d414b48a9a74e115d6;p=chaz%2Fopenbox better window focusing --- 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); }