mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01:00
Merge pull request #1873 from RyanDwyer/remove-arrange-windows
Remove arrange_windows()
This commit is contained in:
commit
b84dfa794c
2 changed files with 0 additions and 26 deletions
|
@ -3,8 +3,6 @@
|
|||
|
||||
struct sway_container;
|
||||
|
||||
void arrange_windows(struct sway_container *container);
|
||||
|
||||
// Determine the root container's geometry, then iterate to everything below
|
||||
void arrange_root(void);
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue