added support for scratchpad moving between monitors in the same way as normal windows
This commit is contained in:
		
							
								
								
									
										5
									
								
								dwm.c
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								dwm.c
									
									
									
									
									
								
							| @@ -1773,7 +1773,12 @@ tagmon(const Arg *arg) | |||||||
| { | { | ||||||
| 	if (!selmon->sel || !mons->next) | 	if (!selmon->sel || !mons->next) | ||||||
| 		return; | 		return; | ||||||
|  | 	if(selmon->sel->tags > 1 << LENGTH(tags) << LENGTH(scratchpads)) | ||||||
| 		sendmon(selmon->sel, dirtomon(arg->i)); | 		sendmon(selmon->sel, dirtomon(arg->i)); | ||||||
|  | 	else { | ||||||
|  | 		dirtomon(arg->i)->tagset[dirtomon(arg->i)->seltags] |= selmon->sel->tags; | ||||||
|  | 		sendmontags(selmon->sel, dirtomon(arg->i), selmon->sel->tags); | ||||||
|  | 	} | ||||||
| } | } | ||||||
|  |  | ||||||
| void | void | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user