]> Dogcows Code - chaz/openbox/blobdiff - src/Workspace.cc
add the date
[chaz/openbox] / src / Workspace.cc
index b03ee7b2ea0817b88253db96835d8a480c4bbc1f..11d5187ddf35512a8a9cfbc69fecff71d3f16c91 100644 (file)
@@ -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
This page took 0.020877 seconds and 4 git commands to generate.