sanders patch for b2 toggle
This commit is contained in:
		
							
								
								
									
										2
									
								
								dwm.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								dwm.c
									
									
									
									
									
								
							@@ -340,7 +340,7 @@ buttonpress(XEvent *e) {
 | 
				
			|||||||
			movemouse(c);
 | 
								movemouse(c);
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		else if(ev->button == Button2) {
 | 
							else if(ev->button == Button2) {
 | 
				
			||||||
			if((floating != layout->arrange) && !c->isfixed && c->isfloating)
 | 
								if((floating != layout->arrange) && c->isfloating)
 | 
				
			||||||
				togglefloating(NULL);
 | 
									togglefloating(NULL);
 | 
				
			||||||
			else
 | 
								else
 | 
				
			||||||
				zoom(NULL);
 | 
									zoom(NULL);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user