In Wayland array can contain only integers.
See how listing of outputs is done. Server creates one global `wl_output` per output, client binds to the global, server sends events with output parameters (list of modes among them) and then event `done` to indicate it stopped sending info about this output. You probably don't want one global per window. I'd go with one global `window_manager` which sends events (one per window) after bind and after creation of window (or on request, depending on your needs).
_______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel