Review Request 120471: Add Registry::sync() signal
Martin Gräßlin
mgraesslin at kde.org
Mon Oct 6 10:25:03 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120471/#review67980
-----------------------------------------------------------
src/client/registry.h
<https://git.reviewboard.kde.org/r/120471/#comment47383>
I would recommend to move it to ConnectionThread as it's more connection related then registry related.
Also please add a test case for it (both threaded and unthreaded) - should be fairly simple in fact.
- Martin Gräßlin
On Oct. 3, 2014, 5:15 a.m., Sebastian Kügler wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/120471/
> -----------------------------------------------------------
>
> (Updated Oct. 3, 2014, 5:15 a.m.)
>
>
> Review request for kwin, Plasma and Martin Gräßlin.
>
>
> Repository: kwayland
>
>
> Description
> -------
>
> Add Registry::sync() signal
>
> Emitted when the Wayland display is done flushing the initial interface
> callbacks, announcing wl_display properties. This can be used to compress
> events. Note that this signal is emitted only after announcing interfaces,
> such as outputs, but not after receiving callbacks of interface properties,
> such as the output's geometry, modes, etc..
> This signal is emitted from the wl_display_sync callback.
>
> For this, we add a wl_callback_listener to the registry's Private,
> enqueue its events properly, if necessary, and trigger the signal
> through a callback mechanism similar to the wl_registry callbacks.
>
> This signal allows users of the API to find out when the signal
> emissions, such as outputAnnounced, etc. for all currently existing
> interfaces is complete.
>
>
> Diffs
> -----
>
> src/client/registry.h 9e63a2b20c9734cc599f8c612441165b20d361bd
> src/client/registry.cpp 22f948488b88f2a9fbf2fd78f0d223d05585fe17
>
> Diff: https://git.reviewboard.kde.org/r/120471/diff/
>
>
> Testing
> -------
>
> tests in libkscreen exercise this feature, it works as expected, meaning I can notify when all initial synchronization is done.
>
>
> Thanks,
>
> Sebastian Kügler
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20141006/ed7c710e/attachment.html>
More information about the Plasma-devel
mailing list