forked from enlightenment/enlightenment
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:
parent
2dce6d935f
commit
6a8524259a
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue