workspace: Learn sticky.

A floating window that's sticky will move to the new active workspace
whenever the workspace on the same output changes.
This commit is contained in:
S. Christoffer Eliesen 2015-11-26 23:53:20 +01:00
parent db642fc8c5
commit 2d0f78c0d6
5 changed files with 52 additions and 1 deletions

View file

@ -74,6 +74,7 @@ struct sway_container {
bool visible;
bool is_floating;
bool is_focused;
bool sticky; // floating view always visible on its output
// Attributes that mostly views have.
char *name;