xwm: add newline to cardinal array
authorPekka Paalanen <pekka.paalanen@collabora.com>
Tue, 3 Dec 2019 13:40:05 +0000 (15:40 +0200)
committerPekka Paalanen <pekka.paalanen@collabora.com>
Thu, 12 Dec 2019 11:15:52 +0000 (13:15 +0200)
Add the missing newline to printing a property that is of type cardinal array.
Fixes messed up debug scope output.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
xwayland/window-manager.c

index 80b13d6bec88f3044c86e2df95b4b11ac46486d6..3643a4beec8146caef03e9cc0365209738fb0e51 100644 (file)
@@ -466,6 +466,7 @@ dump_property(FILE *fp, struct weston_wm *wm,
                fprintf(fp, "\n");
        } else if (reply->type == XCB_ATOM_CARDINAL) {
                dump_cardinal_array(fp, reply);
+               fprintf(fp, "\n");
        } else if (reply->type == XCB_ATOM_WINDOW && reply->format == 32) {
                window_value = xcb_get_property_value(reply);
                fprintf(fp, "win %u\n", *window_value);