qutebrowser: Force Qt to use XCB as QPA platform

This somewhat alleviates the memory leaks, though it also creates new
issues, like problems with context menus on multi-monitor setups.

Meh…
neomutt
Simon Bruder 2021-11-20 16:45:30 +01:00
parent f2d9a44800
commit d394b1f802
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
2 changed files with 4 additions and 0 deletions

View File

@ -197,6 +197,9 @@ in
url.default_page = "about:blank";
url.start_pages = [ "about:blank" ];
# hack to circumvent memory leak (https://github.com/qutebrowser/qutebrowser/issues/1476)
qt.force_platform = "xcb";
# Privacy
content.cookies.accept = "no-3rdparty";
content.headers.user_agent = "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0";

View File

@ -169,6 +169,7 @@ in
"2" = [
{ app_id = "firefox"; }
{ app_id = "org.qutebrowser.qutebrowser"; }
{ class = "qutebrowser"; } # workaround for qutebrowser running under Xwayland
#{ class="Chromium"; }
];
"3" = [