]> Dogcows Code - chaz/openbox/blobdiff - util/epist/screen.cc
Fix send to menu, having deleted workspaces in it.
[chaz/openbox] / util / epist / screen.cc
index e7ebd64cf1d1afb06abd79d40c69b74b6c49a88e..8163107391de84ea015d1bbf3597096054342b20 100644 (file)
@@ -444,7 +444,8 @@ void screen::updateActiveWindow() {
     }
   }
   _active = it;
-  _last_active = it;
+  if (it != end)
+    _last_active = it;
 
   /*  cout << "Active window is now: ";
       if (_active == _clients.end()) cout << "None\n";
This page took 0.019647 seconds and 4 git commands to generate.