Skip to content

Commit

Permalink
UI: Disable browser docks on Wayland
Browse files Browse the repository at this point in the history
When running on Wayland, the browser docks look broken and sometimes
they crash OBS Studio. Interestingly, browser sources seem to work
just fine. Ideally we'd be able to dig into the issue and find the
root cause, but time is short for the 27 release and disabling the
docks until this is figured out seems to be the best alternative for
now.

Of course this is a temporary workaround, and eventually this commit
will be reverted, and browser docks will work just fine, flowers and
rainbows and happy unicorns.

Disable browser docks on Wayland.

Related: obsproject/obs-browser#279
  • Loading branch information
GeorgesStavracas committed Apr 2, 2021
1 parent 334146e commit 73d11e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UI/window-basic-main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1928,7 +1928,7 @@ void OBSBasic::OBSInit()
/* add custom browser docks */

#ifdef BROWSER_AVAILABLE
if (cef) {
if (cef && !isWayland) {
QAction *action = new QAction(QTStr("Basic.MainMenu."
"View.Docks."
"CustomBrowserDocks"),
Expand Down

0 comments on commit 73d11e0

Please sign in to comment.