Skip to content

Commit

Permalink
layer-shell: adjust keyboard-interactivity (#962)
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 authored Jan 6, 2021
1 parent b7e1b3e commit e76c94e
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 e76c94e

Please sign in to comment.