hotfix
This commit is contained in:
		
							parent
							
								
									a9e145fe6d
								
							
						
					
					
						commit
						cd96232f7e
					
				
							
								
								
									
										5
									
								
								dwm.c
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								dwm.c
									
									
									
									
									
								
							| @ -625,9 +625,10 @@ Monitor * | |||||||
| dirtomon(int dir) { | dirtomon(int dir) { | ||||||
| 	Monitor *m = NULL; | 	Monitor *m = NULL; | ||||||
| 
 | 
 | ||||||
| 	if(dir > 0) | 	if(dir > 0) { | ||||||
| 		if(!(m = selmon->next)) | 		if(!(m = selmon->next)) | ||||||
| 			m = mons; | 			m = mons; | ||||||
|  | 	} | ||||||
| 	else { | 	else { | ||||||
| 		if(selmon == mons) | 		if(selmon == mons) | ||||||
| 			for(m = mons; m->next; m = m->next); | 			for(m = mons; m->next; m = m->next); | ||||||
| @ -1521,7 +1522,7 @@ tag(const Arg *arg) { | |||||||
| void | void | ||||||
| tagmon(const Arg *arg) { | tagmon(const Arg *arg) { | ||||||
| 	if(!selmon->sel || !mons->next) | 	if(!selmon->sel || !mons->next) | ||||||
| 		return | 		return; | ||||||
| 	sendmon(selmon->sel, dirtomon(arg->i)); | 	sendmon(selmon->sel, dirtomon(arg->i)); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user