mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	Move min/max view width/height to header
Preparatory for snap to window edge framework.
This commit is contained in:
		
							parent
							
								
									0fd26c63fa
								
							
						
					
					
						commit
						5176ac4f64
					
				
					 2 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
					@ -8,6 +8,9 @@
 | 
				
			||||||
#include <wayland-util.h>
 | 
					#include <wayland-util.h>
 | 
				
			||||||
#include <wlr/util/box.h>
 | 
					#include <wlr/util/box.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#define LAB_MIN_VIEW_WIDTH  100
 | 
				
			||||||
 | 
					#define LAB_MIN_VIEW_HEIGHT  60
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * In labwc, a view is a container for surfaces which can be moved around by
 | 
					 * In labwc, a view is a container for surfaces which can be moved around by
 | 
				
			||||||
 * the user. In practice this means XDG toplevel and XWayland windows.
 | 
					 * the user. In practice this means XDG toplevel and XWayland windows.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -19,8 +19,6 @@
 | 
				
			||||||
#include <wlr/xwayland.h>
 | 
					#include <wlr/xwayland.h>
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define LAB_MIN_VIEW_WIDTH  100
 | 
					 | 
				
			||||||
#define LAB_MIN_VIEW_HEIGHT  60
 | 
					 | 
				
			||||||
#define LAB_FALLBACK_WIDTH  640
 | 
					#define LAB_FALLBACK_WIDTH  640
 | 
				
			||||||
#define LAB_FALLBACK_HEIGHT 480
 | 
					#define LAB_FALLBACK_HEIGHT 480
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue