diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-08-13 21:14:37 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-08-13 21:14:37 +0000 |
| commit | 91b078433073e674c0844de44124dbce4d1e2b82 (patch) | |
| tree | dd33023ee045a0358a809a1ad262c7a66035d234 /src/Workspace.cc | |
| parent | 1a145bba6121201126ac2ffcbb8b74b7d36c95e7 (diff) | |
don't actually focus windows when adding them to the current workspace. this is already handled elsewhere, ands the window probably isnt evenmapped yet
Diffstat (limited to 'src/Workspace.cc')
| -rw-r--r-- | src/Workspace.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc index b03ee7b2..11d5187d 100644 --- a/src/Workspace.cc +++ b/src/Workspace.cc @@ -101,9 +101,7 @@ void Workspace::addWindow(BlackboxWindow *w, bool place, bool sticky) { if (screen->doFocusNew() || (w->isTransient() && w->getTransientFor() && w->getTransientFor()->isFocused())) { - if (id == screen->getCurrentWorkspaceID()) - w->setInputFocus(); - else { + if (id != screen->getCurrentWorkspaceID()) { /* not on the focused workspace, so the window is not going to get focus but if the user wants new windows focused, then it should get focus |
