better window focusing

This commit is contained in:
Dana Jansens 2002-07-24 09:39:34 +00:00
parent 746c37b24b
commit 0adf54b0ca

View file

@ -219,9 +219,11 @@ void XWindow::iconify() const {
void XWindow::focus() 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, _xatom->sendClientMessage(_screen->rootWindow(), XAtom::net_active_window,
_window); _window);
//XSetInputFocus(_epist->getXDisplay(), _window, None, CurrentTime);
} }