mirror of
				https://codeberg.org/dwl/dwl.git
				synced 2025-11-03 09:01:45 -05:00 
			
		
		
		
	resize clients on commit
Fixes: https://github.com/djpohly/dwl/issues/515
This reverts commit 4567979b16.
			
			
This commit is contained in:
		
							parent
							
								
									2751a6195d
								
							
						
					
					
						commit
						32e66f4582
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		
							
								
								
									
										3
									
								
								dwl.c
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								dwl.c
									
										
									
									
									
								
							| 
						 | 
					@ -738,6 +738,9 @@ commitnotify(struct wl_listener *listener, void *data)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	Client *c = wl_container_of(listener, c, commit);
 | 
						Client *c = wl_container_of(listener, c, commit);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						if (client_surface(c)->mapped)
 | 
				
			||||||
 | 
							resize(c, c->geom, (c->isfloating && !c->isfullscreen));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* mark a pending resize as completed */
 | 
						/* mark a pending resize as completed */
 | 
				
			||||||
	if (c->resize && c->resize <= c->surface.xdg->current.configure_serial)
 | 
						if (c->resize && c->resize <= c->surface.xdg->current.configure_serial)
 | 
				
			||||||
		c->resize = 0;
 | 
							c->resize = 0;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue