diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/handlers/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/handlers/mod.rs b/src/handlers/mod.rs index 3fccfae7..8dba90a0 100644 --- a/src/handlers/mod.rs +++ b/src/handlers/mod.rs @@ -519,10 +519,10 @@ impl XdgActivationHandler for State { }; let keyboard = seat.get_keyboard().unwrap(); - return keyboard + keyboard .last_enter() .map(|last_enter| serial.is_no_older_than(&last_enter)) - .unwrap_or(false); + .unwrap_or(false) } fn request_activation( |
