Fixes #868
This commit is contained in:
Ján Kobezda 2016-09-10 18:09:01 +02:00
parent 7c166e350b
commit cc5dab721e

View file

@ -106,7 +106,7 @@ bool set_focused_container(swayc_t *c) {
} }
swayc_t *workspace = swayc_active_workspace_for(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 (swayc_is_fullscreen(get_focused_container(workspace))) {
// if switching to a workspace with a fullscreen view, // if switching to a workspace with a fullscreen view,