diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-07-04 20:33:38 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-07-04 20:33:38 +1000 |
commit | 4cb6c368a7421c0f99c796214696f6b5b3ee95fa (patch) | |
tree | 96cf451093115cf02fda6d3e169566adc27f29e3 | |
parent | Only call view_set_tiled when switching floating mode (diff) | |
download | sway-4cb6c368a7421c0f99c796214696f6b5b3ee95fa.tar.gz sway-4cb6c368a7421c0f99c796214696f6b5b3ee95fa.tar.zst sway-4cb6c368a7421c0f99c796214696f6b5b3ee95fa.zip |
Fix boolean
-rw-r--r-- | sway/tree/container.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c index d19c857c..3614d4e7 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c | |||
@@ -935,7 +935,7 @@ void container_set_floating(struct sway_container *container, bool enable) { | |||
935 | container_add_child(workspace->sway_workspace->floating, container); | 935 | container_add_child(workspace->sway_workspace->floating, container); |
936 | if (container->type == C_VIEW) { | 936 | if (container->type == C_VIEW) { |
937 | view_init_floating(container->sway_view); | 937 | view_init_floating(container->sway_view); |
938 | view_set_tiled(container->sway_view, true); | 938 | view_set_tiled(container->sway_view, false); |
939 | } | 939 | } |
940 | seat_set_focus(seat, seat_get_focus_inactive(seat, container)); | 940 | seat_set_focus(seat, seat_get_focus_inactive(seat, container)); |
941 | container_reap_empty_recursive(workspace); | 941 | container_reap_empty_recursive(workspace); |