mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Rewrite of resize command to make it more sane
This commit is contained in:
		
							parent
							
								
									c9935507f2
								
							
						
					
					
						commit
						f589731f29
					
				
					 5 changed files with 60 additions and 47 deletions
				
			
		| 
						 | 
				
			
			@ -142,8 +142,8 @@ static void container_log(const swayc_t *c) {
 | 
			
		|||
			c->layout == L_STACKED  ? "Stacked|":
 | 
			
		||||
			c->layout == L_FLOATING ? "Floating|":
 | 
			
		||||
			"Unknown|");
 | 
			
		||||
	fprintf(stderr, "w:%d|h:%d|", c->width, c->height);
 | 
			
		||||
	fprintf(stderr, "x:%d|y:%d|", c->x, c->y);
 | 
			
		||||
	fprintf(stderr, "w:%f|h:%f|", c->width, c->height);
 | 
			
		||||
	fprintf(stderr, "x:%f|y:%f|", c->x, c->y);
 | 
			
		||||
	fprintf(stderr, "vis:%c|", c->visible?'t':'f');
 | 
			
		||||
	fprintf(stderr, "name:%.16s|", c->name);
 | 
			
		||||
	fprintf(stderr, "children:%d\n",c->children?c->children->length:0);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue