virtualbox/fix_wayland_crash.patch
Larry Finger b2c5acc97e Accepting request 810259 from home:lwfinger:branches:Virtualization
- Gsoap 2.8.103 changes the way that "soap_socket_errno" is handled.
  File "handle_gsoap_208103.patch" is added.
  Handle case where Wayland chooses wrong video. File "fix_wayland_crash.patch" is added.

OBS-URL: https://build.opensuse.org/request/show/810259
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=552
2020-05-29 18:57:25 +00:00

14 lines
652 B
Diff

Index: VirtualBox-6.1.8/src/VBox/Frontends/VirtualBox/src/main.cpp
===================================================================
--- VirtualBox-6.1.8.orig/src/VBox/Frontends/VirtualBox/src/main.cpp
+++ VirtualBox-6.1.8/src/VBox/Frontends/VirtualBox/src/main.cpp
@@ -669,6 +669,8 @@ extern "C" DECLEXPORT(int) TrustedMain(i
/* Make sure multi-threaded environment is safe: */
if (!MakeSureMultiThreadingIsSafe())
break;
+ /* Force using Qt platform module 'xcb', we have X11 specific code: */
+ RTEnvSet("QT_QPA_PLATFORM", "xcb");
#endif /* VBOX_WS_X11 */
/* Console help preprocessing: */