Skip to content

Commit ae1a5f0

Browse files
committed
osc.lua: fix window controls not showing in fullscreen
1 parent 88ac54b commit ae1a5f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

player/lua/osc.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ end
650650
local function window_controls_enabled()
651651
local val = user_opts.windowcontrols
652652
if val == "auto" then
653-
return not (state.border and state.title_bar)
653+
return state.fullscreen or not state.border or not state.title_bar
654654
else
655655
return val ~= "no"
656656
end

0 commit comments

Comments
 (0)