libweston: improve weston_output_disable() comments
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>
Wed, 29 Mar 2017 12:45:46 +0000 (15:45 +0300)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Tue, 11 Apr 2017 12:35:12 +0000 (15:35 +0300)
commitc65df6403ab76ccbb3d0d79d553d0bc23557abbb
tree3756d09ed0d5f1487eff9b1f8eabb7ccccc285b1
parent08d4edf20d196d6dd1205a92f89b9f1e01e33d5d
libweston: improve weston_output_disable() comments

Reorder some paragraphs to be more logically ordered. Rewrite the
description of the backend-specific disable function to explain the
semantics instead of the mechanics. Remove the paragraph about
pending_output_list as unnecessary details.

Add a big fat comment on why we call output->disable() always instead of
only for actually enabled outputs.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Armin Krezović <krezovic.armin@gmail.com>
libweston/compositor.c