srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/crates/x11/src/platform/events.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/x11/src/platform/events.rs')
-rw-r--r--crates/x11/src/platform/events.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/x11/src/platform/events.rs b/crates/x11/src/platform/events.rs
index 10f96a9..545e8f3 100644
--- a/crates/x11/src/platform/events.rs
+++ b/crates/x11/src/platform/events.rs
@@ -89,7 +89,7 @@ impl X11Platform {
(menu.row_at(x, y).map(|r| menu.items[r].1), menu.window)
};
match row_action {
- Some(srdwm_core::context_menu::MenuAction::Separator) => {}
+ Some(action) if !action.is_interactive() => {}
Some(action) => {
self.close_context_menu()?;
self.run_context_menu_action(menu_window, action)?;