mirror of
https://github.com/swaywm/sway.git
synced 2025-11-12 13:29:56 -05:00
enforce workspace output assignents
when creating a new output, move to that output all extant workspaces that are assigned to that output. (unrelated) remove comment that was no longer applicable, fix spacing in an assignment
This commit is contained in:
parent
a0315dc849
commit
d291a29f30
3 changed files with 22 additions and 15 deletions
|
|
@ -110,7 +110,7 @@ bool set_focused_container(swayc_t *c) {
|
|||
// Get workspace for c, get that workspaces current focused container.
|
||||
swayc_t *workspace = swayc_active_workspace_for(c);
|
||||
swayc_t *focused = get_focused_view(workspace);
|
||||
// if the workspace we are changing focus to has a fullscreen view return
|
||||
|
||||
if (swayc_is_fullscreen(focused) && focused != c) {
|
||||
// if switching to a workspace with a fullscreen view,
|
||||
// focus on the fullscreen view
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue