fix: update selmon
This commit is contained in:
		
							parent
							
								
									69722bae48
								
							
						
					
					
						commit
						3409d45a62
					
				| @ -288,6 +288,11 @@ static void handleStdin(const std::string& line) | |||||||
| 		uint32_t selected; | 		uint32_t selected; | ||||||
| 		stream >> selected; | 		stream >> selected; | ||||||
| 		mon->bar->setSelected(selected); | 		mon->bar->setSelected(selected); | ||||||
|  | 		if (selected) { | ||||||
|  | 			selmon = &*mon; | ||||||
|  | 		} else if (selmon == &*mon) { | ||||||
|  | 			selmon = nullptr; | ||||||
|  | 		} | ||||||
| 	} else if (command == "tags") { | 	} else if (command == "tags") { | ||||||
| 		uint32_t occupied, tags, clientTags, urgent; | 		uint32_t occupied, tags, clientTags, urgent; | ||||||
| 		stream >> occupied >> tags >> clientTags >> urgent; | 		stream >> occupied >> tags >> clientTags >> urgent; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user