sway-patched-tray-menu/include/sway/tree
Ryan Dwyer 5653fc754b Deny moving a sticky container to workspace if it's the same output
Rationale: Sticky containers are always assigned to the visible
workspace.

The basic idea here is to check the destination's output (move.c:190).
But if the command was `move container to workspace x` then a workspace
might have been created for it. We could destroy the workspace in this
case, but that results in unnecessary IPC events.

To avoid this, the logic for `move container to workspace x` has been
adjusted. It now delays creating the workspace until the end, and uses
`workspace_get_initial_output` to determine and check the output before
creating it.
2018-08-08 12:50:42 +10:00
..
arrange.h Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
container.h Fix edge cases when moving floating container to new workspace 2018-08-08 08:48:20 +10:00
layout.h Separate root-related code 2018-08-04 14:01:20 +10:00
output.h move output create to its own file 2018-04-03 20:00:09 -04:00
root.h Move workspace pid code to root.c 2018-08-04 14:01:49 +10:00
view.h Merge pull request #2268 from emersion/server-decoration-borders 2018-08-06 11:32:17 -04:00
workspace.h Deny moving a sticky container to workspace if it's the same output 2018-08-08 12:50:42 +10:00