mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-04-26 01:21:58 -04:00
UI: Selectively disable focus frame
NoFocusFrameStyle was meant to disable focus frames around the scenes/sources list (on OSX); unfortunately it also removed focus frames from controls that should have focus frames like input boxes in the settings window
This commit is contained in:
@@ -119,6 +119,9 @@ OBSBasic::OBSBasic(QWidget *parent)
|
||||
qRegisterMetaType<OBSSceneItem>("OBSSceneItem");
|
||||
qRegisterMetaType<OBSSource> ("OBSSource");
|
||||
|
||||
ui->scenes->setAttribute(Qt::WA_MacShowFocusRect, false);
|
||||
ui->sources->setAttribute(Qt::WA_MacShowFocusRect, false);
|
||||
|
||||
connect(windowHandle(), &QWindow::screenChanged, [this]() {
|
||||
struct obs_video_info ovi;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user