Skip to content

Commit

Permalink
layer-shell: adjust keyboard-interactivity
Browse files Browse the repository at this point in the history
Only a value of 1 is interpreted as a request for exclusive focus. Other > 0 values result in normal focus semantics.
  • Loading branch information
dkondor committed Dec 28, 2020
1 parent 4097e97 commit 37e3e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view/layer-shell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ struct wf_layer_shell_manager
for (auto& v : layer)
{
if (v->is_mapped() &&
v->lsurface->client_pending.keyboard_interactive)
(v->lsurface->client_pending.keyboard_interactive == 1))
{
focus_mask = std::max(focus_mask, (uint32_t)v->get_layer());
}
Expand Down

0 comments on commit 37e3e09

Please sign in to comment.