diff options
author | emersion <contact@emersion.fr> | 2018-04-05 17:37:24 -0400 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-04-05 17:39:17 -0400 |
commit | 1c91d0c10ffbed14cafaba79276a14f55172b7eb (patch) | |
tree | cd4e9e420f6765d6643a41528367fcddef13453e /sway/desktop/output.c | |
parent | Handle xwayland configure requests for unmanaged surfaces (diff) | |
download | sway-1c91d0c10ffbed14cafaba79276a14f55172b7eb.tar.gz sway-1c91d0c10ffbed14cafaba79276a14f55172b7eb.tar.zst sway-1c91d0c10ffbed14cafaba79276a14f55172b7eb.zip |
Add damage tracking for xwayland unmanaged surfaces
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r-- | sway/desktop/output.c | 6 |
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 | ||
344 | void 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 | |||
344 | static void damage_handle_destroy(struct wl_listener *listener, void *data) { | 350 | static 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); |