mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Merge pull request #613 from mikkeloscar/init-y
Fix uninitialized variable
This commit is contained in:
		
						commit
						0dd1dc05c3
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -626,7 +626,7 @@ void update_geometry(swayc_t *container) {
 | 
				
			||||||
			geometry.size.h -= (border_bottom + title_bar.size.h);
 | 
								geometry.size.h -= (border_bottom + title_bar.size.h);
 | 
				
			||||||
			container->title_bar_geometry = title_bar;
 | 
								container->title_bar_geometry = title_bar;
 | 
				
			||||||
		} else if (parent->layout == L_STACKED) {
 | 
							} else if (parent->layout == L_STACKED) {
 | 
				
			||||||
			int i, y;
 | 
								int i, y = 0;
 | 
				
			||||||
			for (i = 0; i < parent->children->length; ++i) {
 | 
								for (i = 0; i < parent->children->length; ++i) {
 | 
				
			||||||
				swayc_t *view = parent->children->items[i];
 | 
									swayc_t *view = parent->children->items[i];
 | 
				
			||||||
				if (view == container) {
 | 
									if (view == container) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue