compositor: Support xdg_output_unstable_v1
The xdg-output resources are listed in each head struct. They become idle when the respective weston_output has been removed again. The client is supposed to destroy them explicitly afterwards. After starting an XWayland client xrandr displays the logical size as expected. Signed-off-by: Roman Gilg <subdiff@gmail.com>
This commit is contained in:
@@ -187,6 +187,8 @@ struct weston_head {
|
||||
struct wl_list resource_list; /**< wl_output protocol objects */
|
||||
struct wl_global *global; /**< wl_output global */
|
||||
|
||||
struct wl_list xdg_output_resource_list; /**< xdg_output protocol objects */
|
||||
|
||||
int32_t mm_width; /**< physical image width in mm */
|
||||
int32_t mm_height; /**< physical image height in mm */
|
||||
char *make; /**< monitor manufacturer (PNP ID) */
|
||||
|
||||
Reference in New Issue
Block a user