From 0adf54b0ca8f723dd25645d414b48a9a74e115d6 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 24 Jul 2002 09:39:34 +0000 Subject: [PATCH] better window focusing --- util/epist/window.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); } -- 2.39.2