[Xfce4-commits] [xfce/xfwm4] 02/03: compositor: Fix xpresent

noreply at xfce.org noreply at xfce.org
Thu May 16 22:11:24 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 803ddc68bc4c1483192c6d56b8e0e3e5d250d2f2
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Thu May 16 22:03:10 2019 +0200

    compositor: Fix xpresent
    
    `present_flip()` now takes the buffer number instead of the rendering
    buffer.
    
    Fix the caller to pass the appropriate expected value.
    
    Signed-off-by: Olivier Fourdan <fourdan at xfce.org>
---
 src/compositor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/compositor.c b/src/compositor.c
index 1d6d8d2..70bb41d 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -2352,7 +2352,7 @@ paint_all (ScreenInfo *screen_info, XserverRegion region, gushort buffer)
                               None, screen_info->rootBuffer[buffer],
                               0, 0, 0, 0, 0, 0, screen_width, screen_height);
         }
-        present_flip (screen_info, region, screen_info->rootPixmap[buffer]);
+        present_flip (screen_info, region, buffer);
         screen_info->present_pending = TRUE;
         DBG ("present flip requested, present pending...");
     }

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


More information about the Xfce4-commits mailing list