input: Consider any unpressed modifier to cancel overview mode
Fixes #115.
This commit is contained in:
parent
bc9f673c7b
commit
8201ba023d
1 changed files with 4 additions and 4 deletions
|
|
@ -232,10 +232,10 @@ impl State {
|
|||
if let OverviewMode::Started(action_modifiers, _) =
|
||||
data.common.shell.overview_mode()
|
||||
{
|
||||
if !(action_modifiers.ctrl && modifiers.ctrl)
|
||||
&& !(action_modifiers.alt && modifiers.alt)
|
||||
&& !(action_modifiers.logo && modifiers.logo)
|
||||
&& !(action_modifiers.shift && modifiers.shift)
|
||||
if (!action_modifiers.ctrl || modifiers.ctrl)
|
||||
&& (!action_modifiers.alt || modifiers.alt)
|
||||
&& (!action_modifiers.logo || modifiers.logo)
|
||||
&& (!action_modifiers.shift || modifiers.shift)
|
||||
{
|
||||
data.common.shell.set_overview_mode(None);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue