mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	Chase wlroots X11 hints update
This commit is contained in:
		
							parent
							
								
									c7aaa8dd61
								
							
						
					
					
						commit
						286b2146c3
					
				
					 3 changed files with 6 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -2,6 +2,7 @@
 | 
			
		|||
#include <assert.h>
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
#include <strings.h>
 | 
			
		||||
#include <xcb/xcb_icccm.h>
 | 
			
		||||
#include "labwc.h"
 | 
			
		||||
#include "ssd.h"
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -72,8 +73,8 @@ view_adjust_size(struct view *view, int *w, int *h)
 | 
			
		|||
	int min_height = MIN_VIEW_HEIGHT;
 | 
			
		||||
#if HAVE_XWAYLAND
 | 
			
		||||
	if (view->type == LAB_XWAYLAND_VIEW) {
 | 
			
		||||
		struct wlr_xwayland_surface_size_hints *hints =
 | 
			
		||||
			view->xwayland_surface->size_hints;
 | 
			
		||||
		xcb_size_hints_t *hints = view->xwayland_surface->size_hints;
 | 
			
		||||
 | 
			
		||||
		/*
 | 
			
		||||
		 * Honor size increments from WM_SIZE_HINTS. Typically, X11
 | 
			
		||||
		 * terminal emulators will use WM_SIZE_HINTS to make sure that
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue