mirror of
https://github.com/swaywm/sway.git
synced 2024-11-28 19:01:29 +00:00
parent
7c166e350b
commit
cc5dab721e
|
@ -106,7 +106,7 @@ bool set_focused_container(swayc_t *c) {
|
|||
}
|
||||
|
||||
swayc_t *workspace = swayc_active_workspace_for(c);
|
||||
swayc_t *focused = get_focused_container(&root_container);
|
||||
swayc_t *focused = get_focused_container(workspace);
|
||||
|
||||
if (swayc_is_fullscreen(get_focused_container(workspace))) {
|
||||
// if switching to a workspace with a fullscreen view,
|
||||
|
|
Loading…
Reference in a new issue