Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

fix(desktop): let menus near the top of the window take clicks

leepokaifecebb83f74e
diff --git a/apps/desktop/src/renderer/components/overlay.css b/apps/desktop/src/renderer/components/overlay.css
index 44d80369..5f3d0f0e 100644
--- a/apps/desktop/src/renderer/components/overlay.css
+++ b/apps/desktop/src/renderer/components/overlay.css
@@ -128,6 +128,15 @@
opacity: 0.85;
}
+/* Floating layers cover the title bar's drag regions (sidebar header, thread chrome), which
+ would turn clicks on them into window drags. A menu takes the whole window, so a click
+ anywhere closes it; sheets and dialogs only their card, so the window still moves. */
+.anchored,
+.modal-content,
+.dialog-card {
+ -webkit-app-region: no-drag;
+}
+
/* Menus */
.anchored {
position: fixed;
diff --git a/apps/desktop/src/renderer/views/chat-window.css b/apps/desktop/src/renderer/views/chat-window.css
index 68616c4f..5e1e3542 100644
--- a/apps/desktop/src/renderer/views/chat-window.css
+++ b/apps/desktop/src/renderer/views/chat-window.css
@@ -150,6 +150,7 @@
inset: 0;
z-index: 50;
pointer-events: auto;
+ -webkit-app-region: no-drag;
}
.account-panel,
.action-menu {