swayfx/sway
S. Christoffer Eliesen badfb4bb43 cmd_floating: Don't add non-float as sibling to float.
When turning a float to a non-float, `get_focused_container` might
return another floating view, causing the active view to be inserted
into the floating list on its workspace instead of the normal child list
which it should. (Since it has `is_floating` as false the resulting
discrepency triggered other bad behaviour eventually leading sway to
crash.)

This patch fixes that by simply checking floating status before making
it a sibling.
2015-11-29 13:00:10 +01:00
..
commands.c cmd_floating: Don't add non-float as sibling to float. 2015-11-29 13:00:10 +01:00
config.c Allow output config for output named * 2015-11-28 10:18:37 -05:00
container.c Allow output config for output named * 2015-11-28 10:18:37 -05:00
criteria.c criteria: Code formatting. 2015-11-25 14:59:07 +01:00
debug_log.c debug_log: Improve container_log so that debug lines are aligned. 2015-11-27 17:49:07 +01:00
extensions.c extensions: add missing include 2015-11-25 14:39:09 +02:00
focus.c Move IPC client into common, refactor IPC 2015-11-27 09:50:04 -05:00
handlers.c criteria: Add. Learn for_window command. 2015-11-25 14:34:33 +01:00
input_state.c We somewhat more wlc_point now 2015-11-14 17:14:23 -05:00
ipc-server.c Move IPC client into common, refactor IPC 2015-11-27 09:50:04 -05:00
layout.c layout: get_swayc_in_direction_under: Handle floating views. 2015-11-24 21:34:41 +01:00
main.c sway/main: Move wlc init to after args are handled. 2015-11-28 20:35:57 +01:00
output.c output: Support multiple adjacent outputs. 2015-11-16 21:32:18 +01:00
resize.c return after disconnect ipc client and minor checks 2015-09-29 07:19:10 -07:00
util.c added missing util.h/c stuff 2015-08-25 19:53:59 +02:00
workspace.c workspace: Learn sticky. 2015-11-27 17:58:10 +01:00