weston/libweston-desktop
Pekka Paalanen 055c1137ae libweston: make wl_output point to weston_head
The user data of a wl_resource representing a wl_output protocol object
used to be a pointer to weston_output. Now that weston_output is being
split, wl_output more accurately refers to weston_head which is a single
monitor.

Change the wl_output user data to point to weston_head.
weston_output_from_resource() is replaced with
weston_head_from_resource().

This change is not strictly necessary, but architecturally it is the
right thing to do. In the future there might appear the need to refer to
a specific head of a cloned pair, for instance.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
v5 Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Ian Ray <ian.ray@ge.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Acked-by: Derek Foreman <derekf@osg.samsung.com>
2018-04-10 14:33:59 +03:00
..
client.c Introduce libweston-desktop 2016-08-14 09:29:00 +02:00
internal.h libweston-desktop/xdg-shell-v5: Drop xdg-shell v5 support 2018-02-14 10:09:51 +02:00
libweston-desktop-uninstalled.pc.in buildsystem: add missing pkg-config stub for libweston uninstalled 2017-11-10 12:50:41 -06:00
libweston-desktop.c libweston-desktop/xdg-shell-v5: Drop xdg-shell v5 support 2018-02-14 10:09:51 +02:00
libweston-desktop.h libweston-desktop: add signal for title/app-id changes 2017-12-08 15:16:08 +01:00
libweston-desktop.pc.in libweston-desktop: Fix libweston-desktop.pc 2016-08-15 11:46:46 +03:00
seat.c libweston: Make weston_seat release safe 2018-02-15 13:14:14 +02:00
surface.c libweston-desktop: add signal for title/app-id changes 2017-12-08 15:16:08 +01:00
wl-shell.c libweston: make wl_output point to weston_head 2018-04-10 14:33:59 +03:00
xdg-shell-v6.c libweston: make wl_output point to weston_head 2018-04-10 14:33:59 +03:00
xwayland.c libweston-desktop/xwayland: Make sure racy surfaces are properly mapped 2017-12-11 09:34:26 +00:00