File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,6 @@ export class WindowManager {
160160 transparent : true ,
161161 backgroundColor : '#00000000' ,
162162 show : false , // Keep hidden initially
163- alwaysOnTop : true ,
164163 hasShadow : false ,
165164 resizable : true ,
166165 webPreferences : {
@@ -170,6 +169,12 @@ export class WindowManager {
170169 } ,
171170 } ) ;
172171
172+ // Enforce high-level always-on-top (works over fullscreen apps/games on most OS)
173+ this . hudWindow . setAlwaysOnTop ( true , 'screen-saver' ) ;
174+
175+ // Ensure visibility across virtual desktops (Mac/Win)
176+ this . hudWindow . setVisibleOnAllWorkspaces ( true , { visibleOnFullScreen : true } ) ;
177+
173178 // Enforce 16:9 aspect ratio natively
174179 this . hudWindow . setAspectRatio ( 16 / 9 ) ;
175180
You can’t perform that action at this time.
0 commit comments