diff options
Diffstat (limited to 'sway/focus.c')
-rw-r--r-- | sway/focus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/focus.c b/sway/focus.c index a6ffe73f..5008dbbf 100644 --- a/sway/focus.c +++ b/sway/focus.c | |||
@@ -21,7 +21,7 @@ static void update_focus(swayc_t *c) { | |||
21 | // Case where output changes | 21 | // Case where output changes |
22 | case C_OUTPUT: | 22 | case C_OUTPUT: |
23 | wlc_output_focus(c->handle); | 23 | wlc_output_focus(c->handle); |
24 | //Set new workspace to the outputs focused workspace | 24 | // Set new workspace to the outputs focused workspace |
25 | active_workspace = c->focused; | 25 | active_workspace = c->focused; |
26 | break; | 26 | break; |
27 | 27 | ||
@@ -118,7 +118,7 @@ void set_focused_container(swayc_t *c) { | |||
118 | // activate current focus | 118 | // activate current focus |
119 | if (p->type == C_VIEW) { | 119 | if (p->type == C_VIEW) { |
120 | wlc_view_set_state(p->handle, WLC_BIT_ACTIVATED, true); | 120 | wlc_view_set_state(p->handle, WLC_BIT_ACTIVATED, true); |
121 | //set focus if view_focus is unlocked | 121 | // set focus if view_focus is unlocked |
122 | if (!locked_view_focus) { | 122 | if (!locked_view_focus) { |
123 | wlc_view_focus(p->handle); | 123 | wlc_view_focus(p->handle); |
124 | } | 124 | } |