debug: Allow WAYLAND_DEBUG=server/client for server/client side only debug
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 21 Nov 2012 22:14:55 +0000 (17:14 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 21 Nov 2012 22:14:55 +0000 (17:14 -0500)
commit0f5d41e3bbc2741c86b4c85f9f52b22cf35aa71b
treee23c9636e767fe3169f47808f6e7e8e517e34261
parent5006829041b202f73d051be016a41adf3662bfdc
debug: Allow WAYLAND_DEBUG=server/client for server/client side only debug

By default the server will dump protocol for both the server and its
clients when run with WAYLAND_DEBUG=1.  That's still the case, but it now
also understands WAYLAND_DEBUG=client or WAYLAND_DEBUG=server, which
will only enable debug dumping on either client or server side.
src/wayland-client.c
src/wayland-server.c