diff options
author | emersion <contact@emersion.fr> | 2018-04-06 11:27:40 -0400 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-04-06 11:45:40 -0400 |
commit | 516f5454adb3fc7dd2e02258251b7cb6d6949aa3 (patch) | |
tree | 22c6bdfa1f79224daca6403162d24acdf611a6f9 /sway/desktop/output.c | |
parent | Merge pull request #1755 from emersion/view-child-hidpi (diff) | |
download | sway-516f5454adb3fc7dd2e02258251b7cb6d6949aa3.tar.gz sway-516f5454adb3fc7dd2e02258251b7cb6d6949aa3.tar.zst sway-516f5454adb3fc7dd2e02258251b7cb6d6949aa3.zip |
Simplify damage tracking functions, use them in layer shell
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r-- | sway/desktop/output.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index aa18f1b8..3bbd0bb2 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c | |||
@@ -332,14 +332,14 @@ void output_damage_whole(struct sway_output *output) { | |||
332 | wlr_output_damage_add_whole(output->damage); | 332 | wlr_output_damage_add_whole(output->damage); |
333 | } | 333 | } |
334 | 334 | ||
335 | void output_damage_whole_surface(struct sway_output *output, | 335 | void output_damage_surface(struct sway_output *output, double ox, double oy, |
336 | double ox, double oy, struct wlr_surface *surface) { | 336 | struct wlr_surface *surface, bool whole) { |
337 | // TODO | 337 | // TODO |
338 | output_damage_whole(output); | 338 | output_damage_whole(output); |
339 | } | 339 | } |
340 | 340 | ||
341 | void output_damage_whole_view(struct sway_output *output, | 341 | void output_damage_view(struct sway_output *output, struct sway_view *view, |
342 | struct sway_view *view) { | 342 | bool whole) { |
343 | // TODO | 343 | // TODO |
344 | output_damage_whole(output); | 344 | output_damage_whole(output); |
345 | } | 345 | } |