diff --git a/dist-electron/main.js b/dist-electron/main.js
index 3b65ece..1f75be9 100644
--- a/dist-electron/main.js
+++ b/dist-electron/main.js
@@ -84,7 +84,8 @@ function createSourceSelectorWindow() {
frame: false,
resizable: false,
alwaysOnTop: true,
- backgroundColor: "#ffffff",
+ transparent: true,
+ backgroundColor: "#00000000",
webPreferences: {
preload: path.join(__dirname$1, "preload.mjs"),
nodeIntegration: false,
diff --git a/electron/windows.ts b/electron/windows.ts
index d1d7137..cf63669 100644
--- a/electron/windows.ts
+++ b/electron/windows.ts
@@ -97,7 +97,8 @@ export function createSourceSelectorWindow(): BrowserWindow {
frame: false,
resizable: false,
alwaysOnTop: true,
- backgroundColor: '#ffffff',
+ transparent: true,
+ backgroundColor: '#00000000',
webPreferences: {
preload: path.join(__dirname, 'preload.mjs'),
nodeIntegration: false,
diff --git a/src/App.tsx b/src/App.tsx
index 9102413..98c29c9 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -10,7 +10,7 @@ export default function App() {
const params = new URLSearchParams(window.location.search);
const type = params.get('windowType') || '';
setWindowType(type);
- if (type === 'hud-overlay') {
+ if (type === 'hud-overlay' || type === 'source-selector') {
document.body.style.background = 'transparent';
document.documentElement.style.background = 'transparent';
document.getElementById('root')?.style.setProperty('background', 'transparent');
diff --git a/src/components/launch/LaunchWindow.module.css b/src/components/launch/LaunchWindow.module.css
new file mode 100644
index 0000000..0f1f63d
--- /dev/null
+++ b/src/components/launch/LaunchWindow.module.css
@@ -0,0 +1,6 @@
+.electronDrag {
+ -webkit-app-region: drag;
+}
+.electronNoDrag {
+ -webkit-app-region: no-drag;
+}
diff --git a/src/components/launch/LaunchWindow.tsx b/src/components/launch/LaunchWindow.tsx
index 6a1d99e..ae576f3 100644
--- a/src/components/launch/LaunchWindow.tsx
+++ b/src/components/launch/LaunchWindow.tsx
@@ -1,4 +1,5 @@
import { useState, useEffect } from "react";
+import styles from "./LaunchWindow.module.css";
import { useScreenRecorder } from "../../hooks/useScreenRecorder";
import { Button } from "../ui/button";
import { BsRecordCircle } from "react-icons/bs";
@@ -43,34 +44,45 @@ export function LaunchWindow() {
return (
-
+
-
+