fixed bpos init
This commit is contained in:
		
							
								
								
									
										1
									
								
								main.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								main.c
									
									
									
									
									
								
							@@ -194,6 +194,7 @@ setup(void) {
 | 
			
		||||
			DefaultDepth(dpy, screen), CopyFromParent, DefaultVisual(dpy, screen),
 | 
			
		||||
			CWOverrideRedirect | CWBackPixmap | CWEventMask, &wa);
 | 
			
		||||
	XDefineCursor(dpy, barwin, cursor[CurNormal]);
 | 
			
		||||
	bpos = BARPOS;
 | 
			
		||||
	updatebarpos();
 | 
			
		||||
	XMapRaised(dpy, barwin);
 | 
			
		||||
	strcpy(stext, "dwm-"VERSION);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user