clients: consolidate timer code part 2

Graphics / Wayland / Weston - Pekka Paalanen [collabora.co.uk] - 12 March 2018 08:17 EDT

Continue moving bits to use toytimer instead of carelessly open-coded equivalent. Many of the copies were flawed against the race mentioned in toytimer_fire().

This patch handles window.c's key repeat, confine demo, and desktop-shell panel clock.

64a26bc1 clients: consolidate timer code part 2
clients/confine.c | 35 +++++++----------------------------
clients/desktop-shell.c | 35 +++++++----------------------------
clients/window.c | 41 ++++++++++-------------------------------
3 files changed, 24 insertions(+), 87 deletions(-)

Upstream: cgit.freedesktop.org


  • Share