Implement floating enable

This commit is contained in:
Drew DeVault 2018-05-04 08:24:25 -04:00 committed by Ryan Dwyer
parent c47d6cb1c4
commit f3ab895916
8 changed files with 99 additions and 5 deletions

View file

@ -76,6 +76,9 @@ struct sway_container {
enum sway_container_layout layout;
enum sway_container_layout prev_layout;
// Saves us from searching the list of children/floating in the parent
bool is_floating;
// For C_ROOT, this has no meaning
// For C_OUTPUT, this is the output position in layout coordinates
// For other types, this is the position in output-local coordinates