added cursor_follows_focus and focus_follows_cursor
This commit is contained in:
parent
52280e9823
commit
7da0bc430a
22 changed files with 844 additions and 384 deletions
|
|
@ -156,7 +156,7 @@ impl XdgActivationHandler for State {
|
|||
let target = element.into();
|
||||
|
||||
std::mem::drop(shell);
|
||||
Shell::set_focus(self, Some(&target), &seat, None);
|
||||
Shell::set_focus(self, Some(&target), &seat, None, false);
|
||||
} else if let Some(w) = shell.space_for(&element).map(|w| w.handle.clone())
|
||||
{
|
||||
shell.append_focus_stack(&element, &seat);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue