compositor: protocol logger

Graphics / Wayland / Weston - Pekka Paalanen [iki.fi] - 17 September 2018 12:29 EDT

This is better than running Weston with WAYLAND_DEBUG=server:- It is enabled on demand, no unnecessary flooding and no need to restart the compositor if debug was enabled.- It prints client pointers so that messages with different clients can be seen apart.

5c91bb8d compositor: protocol logger
compositor/main.c | 130 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 128 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share