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/Toolbar.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/Toolbar.cc')
| -rw-r--r-- | src/Toolbar.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc index 7659c87f..7e28fe62 100644 --- a/src/Toolbar.cc +++ b/src/Toolbar.cc @@ -971,9 +971,7 @@ void Toolbar::edit() { return; XSetInputFocus(display, frame.workspace_label, - ((screen.sloppyFocus()) ? RevertToPointerRoot : - RevertToParent), - CurrentTime); + RevertToPointerRoot, CurrentTime); XClearWindow(display, frame.workspace_label); openbox.setNoFocus(True); |
