aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2021-04-26 09:32:26 +0200
committerLibravatar Kenny Levinsen <kl@kl.wtf>2021-04-26 10:36:25 +0200
commitfd36289faa86e92583f014af358f5eca99a3d4aa (patch)
treeb3fdaab905a1d0dda9247e59c5d3b6b080092dd5 /include
parentdesktop/render: Pass explicit clip box to render (diff)
downloadsway-fd36289faa86e92583f014af358f5eca99a3d4aa.tar.gz
sway-fd36289faa86e92583f014af358f5eca99a3d4aa.tar.zst
sway-fd36289faa86e92583f014af358f5eca99a3d4aa.zip
Remove support for arbitrary rotations
There was some unused code-paths for rendering surfaces with an arbitrary rotation applied. This was imported from rootston. Since we don't have plans to make use of this, remove it.
Diffstat (limited to 'include')
-rw-r--r--include/sway/output.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sway/output.h b/include/sway/output.h
index 96986700..0ebcc77d 100644
--- a/include/sway/output.h
+++ b/include/sway/output.h
@@ -72,8 +72,8 @@ struct sway_output *output_get_in_direction(struct sway_output *reference,
72void output_add_workspace(struct sway_output *output, 72void output_add_workspace(struct sway_output *output,
73 struct sway_workspace *workspace); 73 struct sway_workspace *workspace);
74 74
75typedef void (*sway_surface_iterator_func_t)(struct sway_output *output, struct sway_view *view, 75typedef void (*sway_surface_iterator_func_t)(struct sway_output *output,
76 struct wlr_surface *surface, struct wlr_box *box, float rotation, 76 struct sway_view *view, struct wlr_surface *surface, struct wlr_box *box,
77 void *user_data); 77 void *user_data);
78 78
79void output_damage_whole(struct sway_output *output); 79void output_damage_whole(struct sway_output *output);