[Xfce4-commits] [xfce/xfwm4] 01/01: compositor: Reduce repaint timeout to 2ms

noreply at xfce.org noreply at xfce.org
Sun Apr 28 15:26:30 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 10b15b1ad69239303944a86f91e5722066506414
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Sun Apr 28 15:24:26 2019 +0200

    compositor: Reduce repaint timeout to 2ms
    
    Bug 14335
    
    Using 10ms means we would miss every vblank on a 144Hz monitor.
    
    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 b86e9da..806291b 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -96,7 +96,7 @@
 #define WIN_IS_REDIRECTED(cw)           (cw->redirected)
 
 /* Set TIMEOUT_REPAINT to 0 to disable timeout repaint */
-#define TIMEOUT_REPAINT       10 /* msec */
+#define TIMEOUT_REPAINT       2 /* msec */
 
 #ifndef MONITOR_ROOT_PIXMAP
 #define MONITOR_ROOT_PIXMAP   1

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


More information about the Xfce4-commits mailing list