better window focusing
This commit is contained in:
parent
746c37b24b
commit
0adf54b0ca
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue