diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-05-12 01:23:48 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-05-12 01:23:48 +0000 |
| commit | a0dbb0e13f19ac4cc2dddf3d94723174971df6d2 (patch) | |
| tree | d7bdf020048925d67a697fbd1d3efdb720cc9cc0 /src/Window.cc | |
| parent | f804f86c3eacc11091cbff2fa287799f925c2635 (diff) | |
couple of LinkedLists converted to STL lists in BScreen
changed teh calls to XSetInputFocus. Using the root window as the fallback when there is nothing to focus instead of the toolbar. Also, always using 'RevertToPointerRoot' instead of sometimes 'RevertToParent'
Diffstat (limited to 'src/Window.cc')
| -rw-r--r-- | src/Window.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Window.cc b/src/Window.cc index 5a28d232..6222546f 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -1388,7 +1388,7 @@ Bool OpenboxWindow::setInputFocus(void) { } else if (! flags.focused) { if (focus_mode == F_LocallyActive || focus_mode == F_Passive) XSetInputFocus(display, client.window, - RevertToPointerRoot, CurrentTime); + RevertToPointerRoot, CurrentTime); else XSetInputFocus(display, screen->getRootWindow(), RevertToNone, CurrentTime); |
