Repository navigation
frontend: main window controls through the platform facade (#873) - #2037
Merged
Merged
Conversation
zackees
force-pushed
the
infra/873-maincontrols
branch
from
October 24, 2026 03:32
26ecfb4 to
d0345e5
Compare
zackees
marked this pull request as ready for review
October 24, 2026 03:32
zackees
enabled auto-merge
October 24, 2026 03:32
6 of 7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #873 (OBSBasic_MainControls).
Moves 4 of the 5 host conditionals in
frontend/widgets/OBSBasic_MainControls.cpp.hppbehind the platform facade:__APPLE__permission dialog inon_actionShowMacPermissions_triggeredShowPlatformPermissionsDialog(QWidget *): macOS showsOBSPermissions; a no-op elsewhere!_WIN32CloseDialogs()before the always-on-top togglePlatformRecreatesWindowsOnTopToggle(): false on Windows only__APPLE__EnableOSXDockIcon(false/true)inToggleShowHideSetPlatformDockIconVisible, from #2025_WIN32update check inon_actionCheckForUpdates_triggered, which belongs with theOBSBasic_Updaterslice.OBSPermissions.hppmoves fromfrontend-widgets.pch.hpp, where it was under__APPLE__, tofrontend-macos-arc-mm.pch.hpp. BUILD.md's full Windows/macOS run is required: dispatchedci.ymlrun https://github.com/obs-rust/obs-studio/actions/runs/40056113916.RED
test_main_controls_go_through_the_facadefails on master. GREEN it passes, and./lintis clean.Full run 40056113916, on the stacked branch before the rebase: Windows x64/arm64, macOS arm64/x86_64, Ubuntu (OBS-Studio-Rust) and Flatpak all built successfully. #2029 has merged, and this branch is rebased onto master.