mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-06-13 14:32:57 -04:00
account for scale factor
This commit is contained in:
parent
77e59d5991
commit
8b95c20250
1 changed files with 1 additions and 0 deletions
|
|
@ -92,6 +92,7 @@ static void handle_hidden_frame(struct wl_listener *listener, void *data) {
|
|||
struct wlr_output_state state;
|
||||
wlr_output_state_init(&state);
|
||||
wlr_output_state_set_enabled(&state, true);
|
||||
wlr_output_state_set_scale(&state, source->output->scale);
|
||||
if (!wlr_scene_output_build_state(source->hidden_scene_output,
|
||||
&state, &opts)) {
|
||||
wlr_output_state_finish(&state);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue