mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-29 07:58:01 -04:00
wayland: set scale to 1 by default
The wl_output protocol specifies that the client should assume that scale is 1 if not set by the compositor.
This commit is contained in:
parent
075290deb6
commit
52f50c556d
1 changed files with 1 additions and 0 deletions
|
|
@ -964,6 +964,7 @@ handle_global(void *data, struct wl_registry *registry,
|
||||||
tll_push_back(
|
tll_push_back(
|
||||||
wayl->monitors,
|
wayl->monitors,
|
||||||
((struct monitor){.wayl = wayl, .output = output, .wl_name = name,
|
((struct monitor){.wayl = wayl, .output = output, .wl_name = name,
|
||||||
|
.scale = 1,
|
||||||
.use_output_release = version >= WL_OUTPUT_RELEASE_SINCE_VERSION}));
|
.use_output_release = version >= WL_OUTPUT_RELEASE_SINCE_VERSION}));
|
||||||
|
|
||||||
struct monitor *mon = &tll_back(wayl->monitors);
|
struct monitor *mon = &tll_back(wayl->monitors);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue