mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-12 04:28:18 -05:00
Merge branch 'fix-nested-hidpi' into 'master'
backend/wayland: Fix HiDPI support for nested compositors Closes #854 See merge request wlroots/wlroots!5186
This commit is contained in:
commit
916e5a6fb1
3 changed files with 134 additions and 1 deletions
|
|
@ -16,6 +16,14 @@
|
|||
#include <wlr/render/drm_format_set.h>
|
||||
#include <wlr/render/drm_syncobj.h>
|
||||
|
||||
struct wlr_wl_parent_output {
|
||||
struct wlr_wl_backend *backend;
|
||||
struct wl_output *wl_output;
|
||||
uint32_t global_name;
|
||||
int32_t scale;
|
||||
struct wl_list link;
|
||||
};
|
||||
|
||||
struct wlr_wl_backend {
|
||||
struct wlr_backend backend;
|
||||
|
||||
|
|
@ -30,6 +38,9 @@ struct wlr_wl_backend {
|
|||
struct wl_listener event_loop_destroy;
|
||||
char *activation_token;
|
||||
|
||||
struct wl_list parent_outputs; // wlr_wl_parent_output.link
|
||||
int32_t max_parent_scale;
|
||||
|
||||
/* remote state */
|
||||
struct wl_display *remote_display;
|
||||
bool own_remote_display;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue