aboutsummaryrefslogtreecommitdiff
path: root/include/sway/desktop.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-05 22:53:21 -0400
committerGitHub <noreply@github.com>2018-04-05 22:53:21 -0400
commitf63d9417cd4d25121fa1fd309acad14a7562a55c (patch)
treec46a070652793db69ec5d6c5258d0e6cf86c1231 /include/sway/desktop.h
parent268c68b41707a664e5059699c720f000f20e2276 (diff)
parent641807d920854fdecc1307bd809c198db1a7dff1 (diff)
downloadsway-f63d9417cd4d25121fa1fd309acad14a7562a55c.tar.xz
Merge pull request #1743 from emersion/subsurface-damage-tracking
Damage tracking for view children
Diffstat (limited to 'include/sway/desktop.h')
-rw-r--r--include/sway/desktop.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sway/desktop.h b/include/sway/desktop.h
new file mode 100644
index 00000000..96bdc94c
--- /dev/null
+++ b/include/sway/desktop.h
@@ -0,0 +1,7 @@
+#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);