mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-11-04 09:42:42 +01:00 
			
		
		
		
	fix(workspaces): order
This commit is contained in:
		@@ -83,8 +83,8 @@ void Workspaces::onCmd(const struct Ipc::ipc_response &res) {
 | 
			
		||||
 | 
			
		||||
        if (workspaces_order_.empty()) {
 | 
			
		||||
          // Saving starting order
 | 
			
		||||
          workspaces_order_.reserve(workspaces_.size());
 | 
			
		||||
          for (const Json::Value &workspace : workspaces_) {
 | 
			
		||||
          workspaces_order_.reserve(payload.size());
 | 
			
		||||
          for (const Json::Value &workspace : payload) {
 | 
			
		||||
            workspaces_order_.emplace_back(workspace["name"].asString());
 | 
			
		||||
          }
 | 
			
		||||
        } else {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user