applied Lukas' focus suggestion at startup, thanks
This commit is contained in:
		
							
								
								
									
										1
									
								
								dwm.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								dwm.c
									
									
									
									
									
								
							@@ -1542,6 +1542,7 @@ setup(void) {
 | 
				
			|||||||
	XChangeWindowAttributes(dpy, root, CWEventMask|CWCursor, &wa);
 | 
						XChangeWindowAttributes(dpy, root, CWEventMask|CWCursor, &wa);
 | 
				
			||||||
	XSelectInput(dpy, root, wa.event_mask);
 | 
						XSelectInput(dpy, root, wa.event_mask);
 | 
				
			||||||
	grabkeys();
 | 
						grabkeys();
 | 
				
			||||||
 | 
						focus(NULL);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user