mirror of
https://github.com/swaywm/sway.git
synced 2025-11-16 06:59:49 -05:00
Simplify damage tracking functions, use them in layer shell
This commit is contained in:
parent
d447460c01
commit
516f5454ad
11 changed files with 64 additions and 75 deletions
|
|
@ -1,7 +1,4 @@
|
|||
#include <wlr/types/wlr_surface.h>
|
||||
|
||||
void desktop_damage_whole_surface(struct wlr_surface *surface, double lx,
|
||||
double ly);
|
||||
|
||||
void desktop_damage_from_surface(struct wlr_surface *surface, double lx,
|
||||
double ly);
|
||||
void desktop_damage_surface(struct wlr_surface *surface, double lx, double ly,
|
||||
bool whole);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue