[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Set the GDK backend to fix the crash with wayland
From: |
Daniel Leidert |
Subject: |
Set the GDK backend to fix the crash with wayland |
Date: |
Wed, 28 Oct 2020 01:14:02 +0100 |
User-agent: |
Evolution 3.36.4-2 |
Hi Jean,
I hope you can help me out here. As you know some of the binaries crash with
Wayland which is the default for many Linux distributions. Setting the
GDK_BACKEND to x11 "fixes" the problem. Now I have some possible ways to use
this:
1) Use a script and set GDK_BACKEND and then call the binary
2) Use g_setenv() in the source code or
3) Use gdk_set_allowed_backends ("x11,*") and try the x11 backend first.
I think 3) seems to be a good choice to avoid the crash. Where would be the
best place to set this in the source?
Regards, Daniel
- Set the GDK backend to fix the crash with wayland,
Daniel Leidert <=