aboutsummaryrefslogtreecommitdiffstats
path: root/sway/focus.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/focus.c')
-rw-r--r--sway/focus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/focus.c b/sway/focus.c
index e9b032f8..66f7ee17 100644
--- a/sway/focus.c
+++ b/sway/focus.c
@@ -4,7 +4,6 @@
4#include "sway/workspace.h" 4#include "sway/workspace.h"
5#include "sway/layout.h" 5#include "sway/layout.h"
6#include "sway/config.h" 6#include "sway/config.h"
7#include "sway/extensions.h"
8#include "sway/input_state.h" 7#include "sway/input_state.h"
9#include "sway/ipc-server.h" 8#include "sway/ipc-server.h"
10#include "sway/border.h" 9#include "sway/border.h"
@@ -163,12 +162,14 @@ bool set_focused_container(swayc_t *c) {
163 if (c->type == C_VIEW) { 162 if (c->type == C_VIEW) {
164 wlc_view_set_state(c->handle, WLC_BIT_ACTIVATED, true); 163 wlc_view_set_state(c->handle, WLC_BIT_ACTIVATED, true);
165 } 164 }
165 /* TODO WLR
166 if (!desktop_shell.is_locked) { 166 if (!desktop_shell.is_locked) {
167 // If the system is locked, we do everything _but_ actually setting 167 // If the system is locked, we do everything _but_ actually setting
168 // focus. This includes making our internals think that this view is 168 // focus. This includes making our internals think that this view is
169 // focused. 169 // focused.
170 wlc_view_focus(c->handle); 170 wlc_view_focus(c->handle);
171 } 171 }
172 */
172 if (c->parent->layout != L_TABBED && c->parent->layout != L_STACKED) { 173 if (c->parent->layout != L_TABBED && c->parent->layout != L_STACKED) {
173 update_container_border(c); 174 update_container_border(c);
174 } 175 }