mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
5937a4aff8
SpaceFM is a Gtk+ application that was written with only the X11 backend in mind. By explicitly allowing only the "x11" backend, it will not try to use the wayland backend when it is run under sway, for example. Fixes #107242
11 lines
383 B
Diff
11 lines
383 B
Diff
--- a/src/main.c 2021-02-09 13:54:32.847364236 +0100
|
|
+++ b/src/main.c 2021-02-09 10:41:51.541203271 +0100
|
|
@@ -1350,6 +1351,7 @@
|
|
vfs_file_monitor_clean();
|
|
return 1;
|
|
}
|
|
+ gdk_set_allowed_backends("x11");
|
|
gtk_init (&argc, &argv);
|
|
int ret = custom_dialog_init( argc, argv );
|
|
if ( ret != 0 )
|