[PATCH 10/10] Cleanup unneeded stuff left during the porting phrase

Pekka Paalanen ppaalanen at gmail.com
Fri Aug 12 12:50:41 UTC 2016


On Thu, 11 Aug 2016 17:34:05 +0200
Armin Krezović <krezovic.armin at gmail.com> wrote:

> - Removed weston_backend_output_config structure; Outputs
>   should be configured from compositors using plugin-api.
> 
> - Merged weston_output_init() into weston_output_enable()
> 
> - Renamed weston_output_init_pending() to weston_output_init()

Hi Armin,

I think these should really be three separate patches.

This patch should update the weston_output_deinit() documentation to
say it undoes weston_output_enable(). Maybe even rename it to
weston_output_enable_undo(), since you cannot just call
weston_output_disable().

> 
> Signed-off-by: Armin Krezović <krezovic.armin at gmail.com>
> ---
>  libweston/compositor-drm.c      |   2 +-
>  libweston/compositor-fbdev.c    |   2 +-
>  libweston/compositor-headless.c |   2 +-
>  libweston/compositor-rdp.c      |   2 +-
>  libweston/compositor-wayland.c  |   4 +-
>  libweston/compositor-x11.c      |   2 +-
>  libweston/compositor.c          | 130 ++++++++++++++--------------------------
>  libweston/compositor.h          |  22 +------
>  8 files changed, 54 insertions(+), 112 deletions(-)


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20160812/d6380081/attachment.sig>


More information about the wayland-devel mailing list