swayfx/include/sway
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
..
desktop Correctly track saved surfaces during multiple transactions 2018-08-01 16:24:15 +10:00
input ipc: prevent emitting a workspace::focus event when moving a container to a different workspace or output 2018-08-01 16:57:15 +01:00
tree Deny moving a sticky container to workspace if it's the same output 2018-08-08 12:50:42 +10:00
commands.h Write to swaynag pipe fd directly on config errors 2018-08-03 10:37:35 -04:00
config.h Write to swaynag pipe fd directly on config errors 2018-08-03 10:37:35 -04:00
criteria.h reverted includes of "sway/config.h" and replaced with "config.h" from meson build 2018-07-25 13:32:20 +02:00
debug.h Add extended debugging flags 2018-07-14 20:44:32 -04:00
decoration.h Handle views created after decoration mode is sent for xdg-shell 2018-08-06 15:20:30 +01:00
desktop.h Implement some floating move commands 2018-07-09 23:38:29 +10:00
ipc-json.h Store sway_outputs so that they can be reenabled 2018-06-06 20:11:24 -04:00
ipc-server.h ipc: add binding event 2018-08-01 16:57:15 +01:00
layers.h sway views: add helpers to get view and layer from wlr_surface 2018-06-30 22:31:14 +09:00
output.h Revert "Revert "Fix popups"" 2018-08-02 23:36:36 +10:00
security.h Move get_feature_policy to sway/security.c 2017-04-16 17:09:53 +03:00
server.h Handle views created after decoration mode is sent for xdg-shell 2018-08-06 15:20:30 +01:00
swaynag.h Remove swaynag_clone and use memcpy 2018-08-03 10:40:09 -04:00
xwayland.h more style fixes, included "sway/config.h" where needed 2018-07-25 12:17:10 +02:00