]> Dogcows Code - chaz/openbox/commitdiff
better window focusing
authorDana Jansens <danakj@orodu.net>
Wed, 24 Jul 2002 09:39:34 +0000 (09:39 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 24 Jul 2002 09:39:34 +0000 (09:39 +0000)
util/epist/window.cc

index 628bcebac79758b5abaaefe086f1cf92ca22e3eb..0d33a2f6d641487409bd5621e5e9039a9b6eb391 100644 (file)
@@ -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);
 }
 
 
This page took 0.023523 seconds and 4 git commands to generate.