Make full width dmenu respect border width
							parent
							
								
									e84aeb901f
								
							
						
					
					
						commit
						ade1bdb3bd
					
				| 
						 | 
				
			
			@ -682,7 +682,7 @@ setup(void)
 | 
			
		|||
	swa.override_redirect = True;
 | 
			
		||||
	swa.background_pixel = scheme[SchemeNorm][ColBg].pixel;
 | 
			
		||||
	swa.event_mask = ExposureMask | KeyPressMask | VisibilityChangeMask;
 | 
			
		||||
	win = XCreateWindow(dpy, parentwin, x, y, mw, mh, border_width,
 | 
			
		||||
	win = XCreateWindow(dpy, parentwin, x, y, mw - 2 * border_width, mh, border_width,
 | 
			
		||||
	                    CopyFromParent, CopyFromParent, CopyFromParent,
 | 
			
		||||
	                    CWOverrideRedirect | CWBackPixel | CWEventMask, &swa);
 | 
			
		||||
  XSetWindowBorder(dpy, win, scheme[SchemeSel] [ColBg].pixel);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue