summaryrefslogtreecommitdiff
path: root/sway/desktop/output.c
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 /sway/desktop/output.c
parent07f3bb3ad126e48247207126b977688a77e03928 (diff)
Add damage tracking for xwayland unmanaged surfaces
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r--sway/desktop/output.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index 0e8a9485..0ae5e782 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -341,6 +341,12 @@ void output_damage_whole_view(struct sway_output *output,
output_damage_whole(output);
}
+void output_damage_whole_surface(struct sway_output *output,
+ struct wlr_surface *surface, double ox, double oy) {
+ // TODO
+ output_damage_whole(output);
+}
+
static void damage_handle_destroy(struct wl_listener *listener, void *data) {
struct sway_output *output =
wl_container_of(listener, output, damage_destroy);