summaryrefslogtreecommitdiffstats
path: root/sway/desktop/output.c
diff options
context:
space:
mode:
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,
341 output_damage_whole(output); 341 output_damage_whole(output);
342} 342}
343 343
344void output_damage_whole_surface(struct sway_output *output,
345 struct wlr_surface *surface, double ox, double oy) {
346 // TODO
347 output_damage_whole(output);
348}
349
344static void damage_handle_destroy(struct wl_listener *listener, void *data) { 350static void damage_handle_destroy(struct wl_listener *listener, void *data) {
345 struct sway_output *output = 351 struct sway_output *output =
346 wl_container_of(listener, output, damage_destroy); 352 wl_container_of(listener, output, damage_destroy);