mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 21:05:58 +01:00
Fix issues with projection on drm backend
This commit is contained in:
parent
f5423a51b5
commit
bb16025318
1 changed files with 5 additions and 2 deletions
|
@ -89,8 +89,11 @@ bool wlr_output_set_mode(struct wlr_output *output, struct wlr_output_mode *mode
|
||||||
if (!output->impl || !output->impl->set_mode) {
|
if (!output->impl || !output->impl->set_mode) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
bool result = output->impl->set_mode(output->state, mode);
|
||||||
|
if (result) {
|
||||||
wlr_output_update_matrix(output);
|
wlr_output_update_matrix(output);
|
||||||
return output->impl->set_mode(output->state, mode);
|
}
|
||||||
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
void wlr_output_transform(struct wlr_output *output,
|
void wlr_output_transform(struct wlr_output *output,
|
||||||
|
|
Loading…
Reference in a new issue