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 /include/sway/output.h | |
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 'include/sway/output.h')
-rw-r--r-- | include/sway/output.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/sway/output.h b/include/sway/output.h index 4bffa2b7..56571548 100644 --- a/include/sway/output.h +++ b/include/sway/output.h | |||
@@ -34,11 +34,11 @@ struct sway_output { | |||
34 | 34 | ||
35 | void output_damage_whole(struct sway_output *output); | 35 | void output_damage_whole(struct sway_output *output); |
36 | 36 | ||
37 | void output_damage_whole_surface(struct sway_output *output, | 37 | void output_damage_surface(struct sway_output *output, double ox, double oy, |
38 | double ox, double oy, struct wlr_surface *surface); | 38 | struct wlr_surface *surface, bool whole); |
39 | 39 | ||
40 | void output_damage_whole_view(struct sway_output *output, | 40 | void output_damage_view(struct sway_output *output, struct sway_view *view, |
41 | struct sway_view *view); | 41 | bool whole); |
42 | 42 | ||
43 | void output_damage_whole_container(struct sway_output *output, | 43 | void output_damage_whole_container(struct sway_output *output, |
44 | struct sway_container *con); | 44 | struct sway_container *con); |