[Xfce4-commits] [xfce/xfwm4] 01/01: compositor: Do not redraw to back buffer

noreply at xfce.org noreply at xfce.org
Mon May 13 20:15:07 CEST 2019


This is an automated email from the git hooks/post-receive script.

o   l   i   v   i   e   r       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfwm4.

commit 3ff53a9f23131e31208da6d080fa8a070386c271
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Mon May 13 20:12:28 2019 +0200

    compositor: Do not redraw to back buffer
    
    This is not needed and breaks the fence mechanism, hence causing
    flickering.
    
    Signed-off-by: Olivier Fourdan <fourdan at xfce.org>
---
 src/compositor.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/compositor.c b/src/compositor.c
index 10ce859..a800477 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -1619,12 +1619,6 @@ redraw_glx_texture (ScreenInfo *screen_info, XserverRegion region)
     glXSwapBuffers (myScreenGetXDisplay (screen_info),
                     screen_info->glx_window);
 
-    if (!screen_info->zoomed)
-    {
-        /* Once we swapped, re-copy the entire texture to the back buffer */
-        redraw_glx_screen (screen_info);
-    }
-
     glPopMatrix();
 
     glXWaitGL();

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list