aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-29 23:53:46 +0100
committerGitHub <noreply@github.com>2018-04-29 23:53:46 +0100
commitb84dfa794c4bc24d3338995cf89fb4864ab63e99 (patch)
tree86852b19e194dd1ae9466ed52950c232db178826 /sway
parent78e3bc1329e865fe8df2da77693868f38380ab30 (diff)
parent312fdf313f2ec11907328174f38ad3607eab7a5b (diff)
Merge pull request #1873 from RyanDwyer/remove-arrange-windows
Remove arrange_windows()
Diffstat (limited to 'sway')
-rw-r--r--sway/tree/arrange.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/sway/tree/arrange.c b/sway/tree/arrange.c
index dd87ce7c..e1f3ad13 100644
--- a/sway/tree/arrange.c
+++ b/sway/tree/arrange.c
@@ -17,30 +17,6 @@
struct sway_container root_container;
-void arrange_windows(struct sway_container *container) {
- switch (container->type) {
- case C_ROOT:
- arrange_root();
- break;
- case C_OUTPUT:
- arrange_output(container);
- break;
- case C_WORKSPACE:
- arrange_workspace(container);
- break;
- case C_CONTAINER:
- arrange_children_of(container);
- break;
- case C_VIEW:
- // ignore
- break;
- case C_TYPES:
- sway_assert(
- false, "Called arrange_windows() with container type C_TYPES");
- break;
- }
-}
-
void arrange_root() {
if (config->reloading) {
return;