Kaynağa Gözat

fixed windowed mode

UwU 1 ay önce
ebeveyn
işleme
c3ed750a9d
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  1. 3 0
      src/main/services/lwe.service.ts

+ 3 - 0
src/main/services/lwe.service.ts

@@ -984,6 +984,9 @@ export function buildLweArgs(
     // without it the engine's window is a normal one on top of everything
     if (!capture && options.engineFlags?.windowBackground && supportsFlag('--window-background')) {
       args.push('--window-background')
+    } else if (!capture && supportsFlag('--window-normal')) {
+      // otherwise the window has no frame and stays above every other window
+      args.push('--window-normal')
     }
   } else if (options.split && options.screen && options.screen !== ALL_SCREENS) {
     // every option after a --screen-slot belongs to that slot