https://bugs.kde.org/show_bug.cgi?id=438312
--- Comment #16 from Aaron Rainbolt <arraybo...@gmail.com> --- Wow, in retrospect that code is SO BAD. A typo, I'm probably missing C++ syntax, and the pseudocode logic is itself flawed. :facepalm: I think I meant something more like this: > bool Activities::start(const QString &id) > { > Workspace *ws = Workspace::self(); > //pseudocode starts here > foreach(Window w in ws.WindowList) { > if(w.IsOnActivity(id) { > toggleWindowOnActivity(w, id, true); > toggleWindowOnActivity(w, id, true); > } > } > //pseudocode ends here > if (ws->sessionManager()->state() == SessionState::Saving) { > return false; // ksmserver doesn't queue requests (yet) > } > ... Still probably messed up the syntax horribly, but at least the logic is right this time. -- You are receiving this mail because: You are watching all bug changes.