@@ -303,16 +303,16 @@ function AppContent() {
303303 ) ;
304304
305305 const titleBar = (
306- < div className = "flex items-center gap-1.5 pl-3" >
306+ < div className = "flex h-full items-center gap-1.5 pl-3" data-tauri-drag-region >
307307 < McpMuxGlyph className = "h-4 w-4 shrink-0" />
308- < span className = "select-none text-sm font-bold tracking-tight" >
308+ < span className = "select-none text-sm font-bold tracking-tight" data-tauri-drag-region >
309309 < span style = { { color : 'var(--brand-light)' } } > Mcp</ span >
310310 < span style = { { color : 'var(--brand-dark)' } } > Mux</ span >
311311 </ span >
312- < div className = "mx-2 h-4 w-px bg-[rgb(var(--border))]" />
312+ < div className = "mx-2 h-4 w-px bg-[rgb(var(--border))]" data-tauri-drag-region />
313313 < button
314314 onClick = { toggleDarkMode }
315- className = "rounded-md p-1 transition-colors hover:bg-[rgb(var(--surface-hover))]"
315+ className = "no-drag rounded-md p-1 transition-colors hover:bg-[rgb(var(--surface-hover))]"
316316 title = { theme === 'dark' ? 'Light mode' : 'Dark mode' }
317317 >
318318 { theme === 'dark' ? (
@@ -330,7 +330,7 @@ function AppContent() {
330330 statusBar = { statusBar }
331331 titleBar = { titleBar }
332332 windowControls = {
333- < div className = "flex items-center" >
333+ < div className = "no-drag flex h-full items-center" >
334334 < WindowButton action = "minimize" />
335335 < WindowButton action = "maximize" />
336336 < WindowButton action = "close" />
@@ -416,7 +416,7 @@ function WindowButton({ action }: { action: 'minimize' | 'maximize' | 'close' })
416416 return (
417417 < button
418418 onClick = { handleClick }
419- className = { `flex h-9 w-11 items-center justify-center transition-colors ${
419+ className = { `no-drag flex h-9 w-11 items-center justify-center transition-colors ${
420420 action === 'close'
421421 ? 'hover:bg-red-500 hover:text-white'
422422 : 'hover:bg-[rgb(var(--surface-hover))]'
0 commit comments