bugfix
This commit is contained in:
		
							
								
								
									
										2
									
								
								dwm.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								dwm.c
									
									
									
									
									
								
							@@ -330,7 +330,7 @@ buttonpress(XEvent *e) {
 | 
				
			|||||||
		x = bgw;
 | 
							x = bgw;
 | 
				
			||||||
		for(i = 0; i < LENGTH(tags); i++) {
 | 
							for(i = 0; i < LENGTH(tags); i++) {
 | 
				
			||||||
			x += textw(tags[i]);
 | 
								x += textw(tags[i]);
 | 
				
			||||||
			if(ev->x > bgw && ev->x < x) {
 | 
								if(ev->x >= bgw && ev->x < x) {
 | 
				
			||||||
				if(ev->button == Button1) {
 | 
									if(ev->button == Button1) {
 | 
				
			||||||
					if(ev->state & MODKEY)
 | 
										if(ev->state & MODKEY)
 | 
				
			||||||
						tag(tags[i]);
 | 
											tag(tags[i]);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user