Redraw buffer after showing window
For some reason if unpausing via dunstctl the window is invisible until the next window update. Redrawing the buffer after showing fixes it. Fixes #827
This commit is contained in:
		
							parent
							
								
									f976c2d44c
								
							
						
					
					
						commit
						ace514ffc7
					
				| @ -736,6 +736,7 @@ void x_win_show(window winptr) | |||||||
|         if (win->visible) |         if (win->visible) | ||||||
|                 return; |                 return; | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|         x_shortcut_grab(&settings.close_ks); |         x_shortcut_grab(&settings.close_ks); | ||||||
|         x_shortcut_grab(&settings.close_all_ks); |         x_shortcut_grab(&settings.close_all_ks); | ||||||
|         x_shortcut_grab(&settings.context_ks); |         x_shortcut_grab(&settings.context_ks); | ||||||
| @ -757,6 +758,8 @@ void x_win_show(window winptr) | |||||||
| 
 | 
 | ||||||
|         XMapRaised(xctx.dpy, win->xwin); |         XMapRaised(xctx.dpy, win->xwin); | ||||||
|         win->visible = true; |         win->visible = true; | ||||||
|  | 
 | ||||||
|  |         x_display_surface(win->root_surface, win, &win->dim); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| /*
 | /*
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Nikos Tsipinakis
						Nikos Tsipinakis