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 <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-08-16 13:20:59 +01:00
parent 2dce6d935f
commit 6a8524259a
1 changed files with 1 additions and 1 deletions

View File

@ -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;