diff options
Diffstat (limited to 'sway/focus.c')
-rw-r--r-- | sway/focus.c | 3 |
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 @@ #include "sway/workspace.h" #include "sway/layout.h" #include "sway/config.h" -#include "sway/extensions.h" #include "sway/input_state.h" #include "sway/ipc-server.h" #include "sway/border.h" @@ -163,12 +162,14 @@ bool set_focused_container(swayc_t *c) { if (c->type == C_VIEW) { wlc_view_set_state(c->handle, WLC_BIT_ACTIVATED, true); } + /* TODO WLR if (!desktop_shell.is_locked) { // If the system is locked, we do everything _but_ actually setting // focus. This includes making our internals think that this view is // focused. wlc_view_focus(c->handle); } + */ if (c->parent->layout != L_TABBED && c->parent->layout != L_STACKED) { update_container_border(c); } |