You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wxGTK3/wxGTK3-3.0.0-gtk3_build.patch

21 lines
695 B

Index: /wxWidgets/trunk/src/gtk/toplevel.cpp
===================================================================
--- src/gtk/toplevel.cpp (revision 74977)
+++ src/gtk/toplevel.cpp (revision 75182)
@@ -39,4 +39,7 @@
#include <X11/Xatom.h> // XA_CARDINAL
#include "wx/unix/utilsx11.h"
+#endif
+#ifdef GDK_WINDOWING_WAYLAND
+ #include <gdk/gdkwayland.h>
#endif
@@ -731,5 +734,5 @@
#if defined(GDK_WINDOWING_WAYLAND) && GTK_CHECK_VERSION(3,10,0)
else if (
- GDK_IS_WAYLAND_SCREEN(gtk_window_get_screen(GTK_WINDOW(m_widget))) &&
+ GDK_IS_WAYLAND_DISPLAY(gtk_widget_get_display(m_widget)) &&
gtk_check_version(3,10,0) == NULL)
{