From 1132efe42e8086216c7bab6b405d09a22231dde5 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 4 May 2018 08:41:16 -0400 Subject: Send frame done to floating views Also centers them on the screen when initially floated In the future we'll need a more sophisticated solution than that --- sway/debug-tree.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sway/debug-tree.c') diff --git a/sway/debug-tree.c b/sway/debug-tree.c index ae0a1869..5af5b565 100644 --- a/sway/debug-tree.c +++ b/sway/debug-tree.c @@ -22,8 +22,6 @@ static const char *layout_to_str(enum sway_container_layout layout) { return "L_STACKED"; case L_TABBED: return "L_TABBED"; - case L_FLOATING: - return "L_FLOATING"; case L_NONE: default: return "L_NONE"; -- cgit v1.2.3 From 00f6e179cd22ea046a25eb8a099f434de9e8fe57 Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Sat, 26 May 2018 09:23:12 +1000 Subject: Add L_FLOATING back to debug tree --- sway/debug-tree.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sway/debug-tree.c') diff --git a/sway/debug-tree.c b/sway/debug-tree.c index 5af5b565..f3465afe 100644 --- a/sway/debug-tree.c +++ b/sway/debug-tree.c @@ -22,10 +22,12 @@ static const char *layout_to_str(enum sway_container_layout layout) { return "L_STACKED"; case L_TABBED: return "L_TABBED"; + case L_FLOATING: + return "L_FLOATING"; case L_NONE: - default: return "L_NONE"; } + return "L_NONE"; } static int draw_container(cairo_t *cairo, struct sway_container *container, -- cgit v1.2.3