Allow spawn and spawn-sh while in the screenshot UI
Browse files at this commit1f07cffa9f355298a31d7efe1b400ede93a97728Parent: cb3a06c1 changed file +3 -0
- src/input/mod.rs +3 -0
src/input/mod.rsmodified+3 -0
| @@ -4653,6 +4653,9 @@ fn allowed_during_screenshot(action: &Action) -> bool { | |||
| 4653 | | Action::Suspend | 4653 | | Action::Suspend |
| 4654 | | Action::PowerOffMonitors | 4654 | | Action::PowerOffMonitors |
| 4655 | | Action::PowerOnMonitors | 4655 | | Action::PowerOnMonitors |
| 4656 | + // Intended for binds such as volume up/down, lock the screen, etc. | ||
| 4657 | + | Action::Spawn(_) | ||
| 4658 | + | Action::SpawnSh(_) | ||
| 4656 | // The screenshot UI can handle these. | 4659 | // The screenshot UI can handle these. |
| 4657 | | Action::MoveColumnLeft | 4660 | | Action::MoveColumnLeft |
| 4658 | | Action::MoveColumnLeftOrToMonitorLeft | 4661 | | Action::MoveColumnLeftOrToMonitorLeft |