dont change last active while cycling around in stacked mode
authorDana Jansens <danakj@orodu.net>
Mon, 26 Aug 2002 22:08:54 +0000 (22:08 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 26 Aug 2002 22:08:54 +0000 (22:08 +0000)
util/epist/screen.cc

index c3ea4fb..0fa5d89 100644 (file)
@@ -554,9 +554,9 @@ void screen::updateActiveWindow() {
       _clients.remove(win);
       _clients.push_front(win);
       _active = _clients.begin();
-    }
 
-    _last_active = _active;
+      _last_active = _active;
+    }
   }
 
   /*  cout << "Active window is now: ";