From 6a8524259a72e857bc100b5b9aa655c9a012fa4a Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Fri, 16 Aug 2013 13:20:59 +0100 Subject: [PATCH] E configs ping interval for clients is in ticks. Wayland event source timers are in mils ... let's do some multiplication here to stop clients from pinging out all the time and getting killed. Signed-off-by: Chris Michael --- src/modules/wl_desktop_shell/e_mod_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/wl_desktop_shell/e_mod_main.c b/src/modules/wl_desktop_shell/e_mod_main.c index 81af709e1..5667a62bb 100644 --- a/src/modules/wl_desktop_shell/e_mod_main.c +++ b/src/modules/wl_desktop_shell/e_mod_main.c @@ -336,7 +336,7 @@ _e_wl_shell_cb_ping(E_Wayland_Surface *ews, unsigned int serial) /* update timer source interval */ wl_event_source_timer_update(tmr->source, - e_config->ping_clients_interval); + e_config->ping_clients_interval * 32); ewss->ping_timer = tmr;