Skip to content
Snippets Groups Projects
Commit 1bd3f382 authored by Simon McVittie's avatar Simon McVittie
Browse files

pressure-vessel: Always disable gtk3-nocsd

This module interposes in front of g_object_get(), and is known to cause
crashes, even in programs that use GObject but not GTK, such as either
pressure-vessel-launch or pressure-vessel-launcher (it's unclear which).

Resolves: https://github.com/ValveSoftware/steam-runtime/issues/286


Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent c1c2511c
No related branches found
No related tags found
1 merge request!191pressure-vessel: Always disable gtk3-nocsd
Pipeline #5835 passed
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include <locale.h> #include <locale.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h>
#include "steam-runtime-tools/glib-backports-internal.h" #include "steam-runtime-tools/glib-backports-internal.h"
#include "steam-runtime-tools/utils-internal.h" #include "steam-runtime-tools/utils-internal.h"
...@@ -1898,6 +1899,12 @@ main (int argc, ...@@ -1898,6 +1899,12 @@ main (int argc,
g_assert (g_str_has_prefix (preload, "host:")); g_assert (g_str_has_prefix (preload, "host:"));
preload = preload + 5; preload = preload + 5;
if (strstr (preload, "gtk3-nocsd") != NULL)
{
g_warning ("Disabling gtk3-nocsd LD_PRELOAD: it is known to cause crashes.");
continue;
}
if (g_file_test (preload, G_FILE_TEST_EXISTS)) if (g_file_test (preload, G_FILE_TEST_EXISTS))
{ {
if (opt_remove_game_overlay if (opt_remove_game_overlay
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment