mirror of
https://github.com/cage-kiosk/cage.git
synced 2025-11-26 07:00:00 -05:00
output: add cage_output_damage_surface
This commit is contained in:
parent
5feeb33505
commit
0e9dae18e6
3 changed files with 30 additions and 19 deletions
|
|
@ -5,6 +5,7 @@
|
|||
#include <wlr/types/wlr_box.h>
|
||||
#include <wlr/types/wlr_output.h>
|
||||
#include <wlr/types/wlr_output_damage.h>
|
||||
#include <wlr/types/wlr_surface.h>
|
||||
|
||||
struct cg_output {
|
||||
struct wlr_output *wlr_output;
|
||||
|
|
@ -26,6 +27,7 @@ struct cg_output {
|
|||
|
||||
void cage_output_damage_whole(struct cg_output *output);
|
||||
void cage_output_damage_region(struct cg_output *output, struct wlr_box *region);
|
||||
void cage_output_damage_surface(struct cg_output *output, struct wlr_surface *surface, int sx, int sy);
|
||||
void cage_output_get_geometry(struct cg_output *output, struct wlr_box *geometry);
|
||||
void cage_output_disable(struct cg_output *output);
|
||||
void cage_output_enable(struct cg_output *output);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue