diff options
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r-- | sway/tree/container.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c index 7430aebb..4e041508 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c | |||
@@ -949,15 +949,6 @@ void container_set_geometry_from_floating_view(struct sway_container *con) { | |||
949 | con->height = top + view->height + border_width; | 949 | con->height = top + view->height + border_width; |
950 | } | 950 | } |
951 | 951 | ||
952 | bool container_self_or_parent_floating(struct sway_container *container) { | ||
953 | struct sway_container *workspace = container_parent(container, C_WORKSPACE); | ||
954 | if (!workspace) { | ||
955 | return false; | ||
956 | } | ||
957 | return container_has_anscestor(container, | ||
958 | workspace->sway_workspace->floating); | ||
959 | } | ||
960 | |||
961 | bool container_is_floating(struct sway_container *container) { | 952 | bool container_is_floating(struct sway_container *container) { |
962 | struct sway_container *workspace = container_parent(container, C_WORKSPACE); | 953 | struct sway_container *workspace = container_parent(container, C_WORKSPACE); |
963 | if (!workspace) { | 954 | if (!workspace) { |