Revert "Clear window to prevent accumulations"
This reverts commit 7a094bc702149104cd4049281a7dd9ed0ab76c89. This commit caused a flicker effect every time the window was redrawn, reverting it for now.
This commit is contained in:
		
							parent
							
								
									7735c9a4f6
								
							
						
					
					
						commit
						ed3db5048c
					
				| @ -154,9 +154,6 @@ void x_display_surface(cairo_surface_t *srf, struct window_x11 *win, const struc | ||||
|         x_win_move(win, dim->x, dim->y, dim->w, dim->h); | ||||
|         cairo_xlib_surface_set_size(win->root_surface, dim->w, dim->h); | ||||
| 
 | ||||
|         XClearWindow(xctx.dpy, win->xwin); | ||||
|         XFlush(xctx.dpy); | ||||
| 
 | ||||
|         cairo_set_source_surface(win->c_ctx, srf, 0, 0); | ||||
|         cairo_paint(win->c_ctx); | ||||
|         cairo_show_page(win->c_ctx); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Nikos Tsipinakis
						Nikos Tsipinakis