[PATCH weston 6/8] xwm: move FILE to the callers of dump_property()
Pekka Paalanen
ppaalanen at gmail.com
Wed Aug 30 12:57:42 UTC 2017
On Thu, 24 Aug 2017 16:16:20 +0200
Maniraj Devadoss <external.mdevadoss at de.adit-jv.com> wrote:
> This is preparation for using the weston-debug infrastructure for
> WM_DEBUG. dump_property() may be called from different debugging
> contexts and often needs to be prefixed with more information.
>
> An alternative to this patch would be to pass in the weston_debug_scope
> as an argument to dump_property(), but then all callers would need to be
> converted to weston-debug infra in a single commit.
>
> Therefore require the callers to provide the FILE* to print to.
>
> Signed-off-by: Pekka Paalanen <pq at iki.fi>
> Signed-off-by: Maniraj Devadoss <external.mdevadoss at de.adit-jv.com>
> ---
> xwayland/selection.c | 39 ++++++++++++++++++++++++---
> xwayland/window-manager.c | 67 +++++++++++++++++++----------------------------
> xwayland/xwayland.h | 3 ++-
> 3 files changed, 65 insertions(+), 44 deletions(-)
Hi,
this also is exactly the same change as I sent.
Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20170830/6996acd0/attachment.sig>
More information about the wayland-devel
mailing list