Skip to content

Commit

Permalink
Merge pull request #12617 from keymanapp/fix/linux/cherry-pick/12587_…
Browse files Browse the repository at this point in the history
…webkit

fix(linux): set environment variable for rendering of downloads dialog 🍒 🏠
  • Loading branch information
mcdurdin authored Nov 6, 2024
2 parents f183880 + 8bff156 commit 34f55bb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions linux/keyman-config/km-config
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import argparse
import logging
import os
import sys
import gi

Expand Down Expand Up @@ -66,6 +67,10 @@ if __name__ == '__main__':
elif args.url:
download_and_install_package(args.url)
else:
# Workaround for bug in webkit2gtk (#12587)
if not 'WEBKIT_DISABLE_DMABUF_RENDERER' in os.environ:
os.environ['WEBKIT_DISABLE_DMABUF_RENDERER'] = '1'

w = ViewInstalledWindow()
try:
w.run()
Expand Down

0 comments on commit 34f55bb

Please sign in to comment.