summaryrefslogtreecommitdiff
path: root/media-sound/audacious/files/audacious-4.5.1-rm_gdk_symbols.patch
blob: 5743340b5934750d8cd9b5841439137b37914490 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Avoid superfluous handling for X11/Wayland with gtk+, warn in pkg_postinst intead.
--- a/src/libaudgui/init.cc
+++ b/src/libaudgui/init.cc
@@ -342,7 +342,7 @@ EXPORT void audgui_init ()
     if (init_count ++)
         return;
 
-#if defined(GDK_WINDOWING_WAYLAND) && defined(GDK_WINDOWING_X11)
+#if 0 /// Avoid handling X11/Wayland just for that. Warn in pkg_postinst instead
     // Use X11/XWayland by default, but allow to overwrite it.
     // Especially the Winamp interface is not usable yet on Wayland
     // due to limitations regarding application-side window positioning.