mirror of
https://github.com/cage-kiosk/cage.git
synced 2025-11-26 07:00:00 -05:00
output: move scaling to output instead of view
This commit is contained in:
parent
0e9dae18e6
commit
0489045405
2 changed files with 3 additions and 4 deletions
|
|
@ -28,6 +28,7 @@
|
|||
|
||||
#include "output.h"
|
||||
#include "renderer.h"
|
||||
#include "util.h"
|
||||
#include "view.h"
|
||||
|
||||
void
|
||||
|
|
@ -45,6 +46,7 @@ cage_output_damage_region(struct cg_output *output, struct wlr_box *region)
|
|||
assert(region != NULL);
|
||||
assert(output->wlr_output->enabled);
|
||||
|
||||
scale_box(region, output->wlr_output->scale);
|
||||
wlr_output_damage_add_box(output->damage, region);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue