summaryrefslogtreecommitdiff
path: root/include/sway/desktop.h
diff options
context:
space:
mode:
authoremersion <[email protected]>2018-04-05 17:37:24 -0400
committeremersion <[email protected]>2018-04-05 17:39:17 -0400
commit1c91d0c10ffbed14cafaba79276a14f55172b7eb (patch)
treecd4e9e420f6765d6643a41528367fcddef13453e /include/sway/desktop.h
parent07f3bb3ad126e48247207126b977688a77e03928 (diff)
Add damage tracking for xwayland unmanaged surfaces
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);