mirror of
				https://github.com/DreamMaoMao/maomaowm.git
				synced 2025-11-03 09:01:47 -05:00 
			
		
		
		
	opt: not resize maximize and fullscreen window
This commit is contained in:
		
							parent
							
								
									e925309ae4
								
							
						
					
					
						commit
						f4de69abf6
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -470,6 +470,10 @@ void resize_tile_scroller(Client *grabc, bool isdrag, int offsetx, int offsety,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void resize_tile_client(Client *grabc, bool isdrag, int offsetx, int offsety,
 | 
					void resize_tile_client(Client *grabc, bool isdrag, int offsetx, int offsety,
 | 
				
			||||||
						unsigned int time) {
 | 
											unsigned int time) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						if (!grabc || grabc->isfullscreen || grabc->ismaxmizescreen)
 | 
				
			||||||
 | 
							return;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	const Layout *current_layout =
 | 
						const Layout *current_layout =
 | 
				
			||||||
		grabc->mon->pertag->ltidxs[grabc->mon->pertag->curtag];
 | 
							grabc->mon->pertag->ltidxs[grabc->mon->pertag->curtag];
 | 
				
			||||||
	if (current_layout->id == TILE || current_layout->id == DECK ||
 | 
						if (current_layout->id == TILE || current_layout->id == DECK ||
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue