aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/desktop.h
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-04-06 11:27:40 -0400
committerLibravatar emersion <contact@emersion.fr>2018-04-06 11:45:40 -0400
commit516f5454adb3fc7dd2e02258251b7cb6d6949aa3 (patch)
tree22c6bdfa1f79224daca6403162d24acdf611a6f9 /include/sway/desktop.h
parentMerge pull request #1755 from emersion/view-child-hidpi (diff)
downloadsway-516f5454adb3fc7dd2e02258251b7cb6d6949aa3.tar.gz
sway-516f5454adb3fc7dd2e02258251b7cb6d6949aa3.tar.zst
sway-516f5454adb3fc7dd2e02258251b7cb6d6949aa3.zip
Simplify damage tracking functions, use them in layer shell
Diffstat (limited to 'include/sway/desktop.h')
-rw-r--r--include/sway/desktop.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/sway/desktop.h b/include/sway/desktop.h
index 96bdc94c..f1ad759a 100644
--- a/include/sway/desktop.h
+++ b/include/sway/desktop.h
@@ -1,7 +1,4 @@
1#include <wlr/types/wlr_surface.h> 1#include <wlr/types/wlr_surface.h>
2 2
3void desktop_damage_whole_surface(struct wlr_surface *surface, double lx, 3void desktop_damage_surface(struct wlr_surface *surface, double lx, double ly,
4 double ly); 4 bool whole);
5
6void desktop_damage_from_surface(struct wlr_surface *surface, double lx,
7 double ly);