diff options
Diffstat (limited to 'src/ui')
| -rw-r--r-- | src/ui/screenshot_ui.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/screenshot_ui.rs b/src/ui/screenshot_ui.rs index 897761a1..79245387 100644 --- a/src/ui/screenshot_ui.rs +++ b/src/ui/screenshot_ui.rs @@ -316,12 +316,12 @@ impl ScreenshotUi { Ok((rect.size, copy.to_vec())) } - pub fn action(&self, raw: Option<Keysym>, mods: ModifiersState) -> Option<Action> { + pub fn action(&self, raw: Keysym, mods: ModifiersState) -> Option<Action> { if !matches!(self, Self::Open { .. }) { return None; } - action(raw?, mods) + action(raw, mods) } pub fn selection_output(&self) -> Option<&Output> { |
