diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-08-18 14:51:57 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-08-18 14:51:57 -0400 |
commit | ef2f3d31155bb2e962a93e5a068858b502f3544c (patch) | |
tree | ea13031298833fff8e57ec2b1f2d652d608b7db5 /sway/commands.c | |
parent | 23b90d8e69d203697c5548fdd140bf3052749dfa (diff) | |
parent | 03e83c7ef94e90a78390209af8d9c2a0c0adb237 (diff) |
Merge pull request #70 from taiyu-len/master
restored fullscreen/focus behavior
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c index ae0bdbe4..6c3efb3b 100644 --- a/sway/commands.c +++ b/sway/commands.c @@ -408,7 +408,7 @@ static bool cmd_fullscreen(struct sway_config *config, int argc, char **argv) { return false; } - swayc_t *container = get_focused_container(&root_container); + swayc_t *container = get_focused_view(&root_container); bool current = (wlc_view_get_state(container->handle) & WLC_BIT_FULLSCREEN) > 0; wlc_view_set_state(container->handle, WLC_BIT_FULLSCREEN, !current); //Resize workspace if going from fullscreen -> notfullscreen |