[Xfce4-commits] [xfce/xfwm4] 01/01: compositor: Refresh the zoom at refresh rate

noreply at xfce.org noreply at xfce.org
Sun May 12 19:46:08 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 0a8f00c74dffc93900e7aae545c56a4eaa023f4b
Author: Alistair Buxton <a.j.buxton at gmail.com>
Date:   Sun May 12 15:55:22 2019 +0100

    compositor: Refresh the zoom at refresh rate
    
    Bug: 15391
    
    The compositor zoom refresh rate is currently hardcoded at half the
    refresh rate, or 30 FPS.
    
    Increase the zoom refresh to the same as the refresh rate, or 60 FPS.
---
 src/compositor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/compositor.c b/src/compositor.c
index ab4f4db..10ce859 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -4183,7 +4183,7 @@ compositorZoomIn (ScreenInfo *screen_info, XfwmEventButton *event)
     {
         gint timeout_rate;
 
-        timeout_rate = xfwm_get_primary_refresh_rate (screen_info->gscr) / 2;
+        timeout_rate = xfwm_get_primary_refresh_rate (screen_info->gscr);
         screen_info->zoom_timeout_id = g_timeout_add ((1000 / timeout_rate /* per second */),
                                                       zoom_timeout_cb, screen_info);
     }

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


More information about the Xfce4-commits mailing list