Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove GDK_BACKEND to force x11 #1963

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions guake/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@

log = logging.getLogger(__name__)

# Force use X11 backend under wayland before any import of GDK through dependencies
os.environ["GDK_BACKEND"] = "x11"

from guake.globals import NAME
from guake.globals import bindtextdomain
from guake.support import print_support
Expand Down
3 changes: 1 addition & 2 deletions guake/terminal.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,7 @@ def __init__(self, guake):

self.setup_drag_and_drop()

self.ENVV_EXCLUDE_LIST = ["GDK_BACKEND"]
self.envv = [f"{i}={os.environ[i]}" for i in os.environ if i not in self.ENVV_EXCLUDE_LIST]
self.envv = [f"{i}={os.environ[i]}" for i in os.environ]
self.envv.append(f"GUAKE_TAB_UUID={self.uuid}")

def setup_drag_and_drop(self):
Expand Down