I set the environment GDK_BACKEND=wayland as https://wiki.gnome.org/Initiatives/Wayland/GTK%2B
said, but failed. I think perhaps the wxgtk I used don't support wayland.
So how can I known if or not the wxgtk I used support wayland-backend?
It seems my wxgtk program can't run on wayland.
Re: It seems my wxgtk program can't run on wayland.
I known, the libwxgtk can't support wayland. maybe it uses gtk2 also, not only gtk3.
Re: It seems my wxgtk program can't run on wayland.
Hi,
I suspect you are right. I just tried building wxGTK with gtk+2 on fedora 25, which uses wayland. The build failed with:
error: ‘GDK_DRAG_PROTO_WAYLAND’ was not declared in this scope.
If you want to use wayland, I suggest you build your own wxGTK, either wxWidgets 3.0.3 or 3.1git, passing the configure option --with-gtk=3.
Regards,
David
I suspect you are right. I just tried building wxGTK with gtk+2 on fedora 25, which uses wayland. The build failed with:
error: ‘GDK_DRAG_PROTO_WAYLAND’ was not declared in this scope.
If you want to use wayland, I suggest you build your own wxGTK, either wxWidgets 3.0.3 or 3.1git, passing the configure option --with-gtk=3.
Regards,
David