setmfact should not have any effect if in floating layout
This commit is contained in:
		
							
								
								
									
										2
									
								
								dwm.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								dwm.c
									
									
									
									
									
								
							@@ -1467,7 +1467,7 @@ void
 | 
				
			|||||||
setmfact(const char *arg) {
 | 
					setmfact(const char *arg) {
 | 
				
			||||||
	double delta;
 | 
						double delta;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if(!arg)
 | 
						if(!arg || lt->isfloating)
 | 
				
			||||||
		return;
 | 
							return;
 | 
				
			||||||
	delta = strtod(arg, NULL);
 | 
						delta = strtod(arg, NULL);
 | 
				
			||||||
	if(arg[0] == '-' || arg[0] == '+') {
 | 
						if(arg[0] == '-' || arg[0] == '+') {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user