mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	interactive.c: do not allow move/resize when maximized
This commit is contained in:
		
							parent
							
								
									ebd167a5eb
								
							
						
					
					
						commit
						6ece805e88
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -3,6 +3,10 @@
 | 
			
		|||
void
 | 
			
		||||
interactive_begin(struct view *view, enum input_mode mode, uint32_t edges)
 | 
			
		||||
{
 | 
			
		||||
	if (view->maximized) {
 | 
			
		||||
		return;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	/*
 | 
			
		||||
	 * This function sets up an interactive move or resize operation, where
 | 
			
		||||
	 * the compositor stops propegating pointer events to clients and
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue