diff options
author | Simon Ser <contact@emersion.fr> | 2021-04-26 09:32:26 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2021-04-26 10:36:25 +0200 |
commit | fd36289faa86e92583f014af358f5eca99a3d4aa (patch) | |
tree | b3fdaab905a1d0dda9247e59c5d3b6b080092dd5 /include/sway | |
parent | 4e6f51525308a8883bf998a360a192edc0822cdd (diff) | |
download | sway-fd36289faa86e92583f014af358f5eca99a3d4aa.tar.xz |
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/sway')
-rw-r--r-- | include/sway/output.h | 4 |
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, void output_add_workspace(struct sway_output *output, struct sway_workspace *workspace); -typedef void (*sway_surface_iterator_func_t)(struct sway_output *output, struct sway_view *view, - struct wlr_surface *surface, struct wlr_box *box, float rotation, +typedef void (*sway_surface_iterator_func_t)(struct sway_output *output, + struct sway_view *view, struct wlr_surface *surface, struct wlr_box *box, void *user_data); void output_damage_whole(struct sway_output *output); |