mirror of
				https://github.com/DreamMaoMao/maomaowm.git
				synced 2025-11-03 09:01:47 -05:00 
			
		
		
		
	opt: update mon not change selmon if the selmon not null
This commit is contained in:
		
							parent
							
								
									22665c8952
								
							
						
					
					
						commit
						b8703d10b7
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -7318,7 +7318,8 @@ void updatemons(struct wl_listener *listener, void *data) {
 | 
				
			||||||
		config_head->state.x = m->m.x;
 | 
							config_head->state.x = m->m.x;
 | 
				
			||||||
		config_head->state.y = m->m.y;
 | 
							config_head->state.y = m->m.y;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		selmon = m;
 | 
							if (!selmon)
 | 
				
			||||||
 | 
								selmon = m;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		wl_list_for_each(c, &clients, link) {
 | 
							wl_list_for_each(c, &clients, link) {
 | 
				
			||||||
			if (c->mon && c->mon != m && client_surface(c)->mapped &&
 | 
								if (c->mon && c->mon != m && client_surface(c)->mapped &&
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue