Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

Commit

Permalink
Update morph-browser.cpp (#378)
Browse files Browse the repository at this point in the history
wayland shell integration for fullscreen that hides indicators
  • Loading branch information
mateosalta authored and UniversalSuperBox committed Nov 30, 2020
1 parent a72faf3 commit 4e2a1b5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/webbrowser/morph-browser.cpp
Expand Up @@ -167,6 +167,9 @@ int main(int argc, char** argv)
{
qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--disable-gpu --disable-viz-display-compositor");
}

//hook into wayland shell integration, allows fullscreen that hides indicators
qputenv("QT_WAYLAND_SHELL_INTEGRATION", "wl-shell");

//Set the scale factor based on GRID_UNIT_PX
bool grid_unit_convert_ok = false;
Expand Down

0 comments on commit 4e2a1b5

Please sign in to comment.