summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-07-24 09:39:34 +0000
committerDana Jansens <danakj@orodu.net>2002-07-24 09:39:34 +0000
commit0adf54b0ca8f723dd25645d414b48a9a74e115d6 (patch)
tree157c835c13d092a17eeeabbc4a556dd8a387c00b
parent746c37b24b57ea024cf42e3d0d0d7c0ae3b03b83 (diff)
better window focusing
-rw-r--r--util/epist/window.cc4
1 files changed, 3 insertions, 1 deletions
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);
}