Add SDL3 support and fix wayland issue (PR #26435)

21 views
Skip to first unread message

Andy Vandijck

unread,
May 9, 2026, 11:27:45 AM (5 days ago) May 9
to wx-...@googlegroups.com, Subscribed

SDL3 support
Minor wayland fix


You can view, comment on, or merge this pull request online at:

  https://github.com/wxWidgets/wxWidgets/pull/26435

Commit Summary

  • aa138aa Add SDL3 support and fix wayland issue

File Changes

(7 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26435@github.com>

VZ

unread,
May 9, 2026, 12:03:02 PM (5 days ago) May 9
to wx-...@googlegroups.com, Subscribed

@vadz commented on this pull request.

Thanks for updating the code to use SDL3, this is much appreciated!

I'd like to merge this, however I'm not sure about what the Wayland issue is and whether this is the right fix for it — maybe it should be dealt with in a separate PR?

Also, it looks configure was regenerated using a different version of autoconf, which might account for the CI build failures. Could you please follow build/tools/autoconf/README.md to update it?


In build/cmake/setup.h.in:

> @@ -628,7 +628,7 @@
 
     Recommended setting: 1, only set to 0 if wayland-client is not available.
  */
-#cmakedefine01 wxHAVE_WAYLAND_CLIENT
+#cmakedefine wxHAVE_WAYLAND_CLIENT 1

Could you please explain why is this needed?


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26435/review/4258005133@github.com>

Andy Vandijck

unread,
May 9, 2026, 2:00:09 PM (5 days ago) May 9
to wx-...@googlegroups.com, Subscribed

@andyvand commented on this pull request.


In build/cmake/setup.h.in:

> @@ -628,7 +628,7 @@
 
     Recommended setting: 1, only set to 0 if wayland-client is not available.
  */
-#cmakedefine01 wxHAVE_WAYLAND_CLIENT
+#cmakedefine wxHAVE_WAYLAND_CLIENT 1

It doesn't build right without this


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26435/review/4258208610@github.com>

VZ

unread,
May 9, 2026, 2:07:04 PM (5 days ago) May 9
to wx-...@googlegroups.com, Subscribed

@vadz commented on this pull request.


In build/cmake/setup.h.in:

> @@ -628,7 +628,7 @@
 
     Recommended setting: 1, only set to 0 if wayland-client is not available.
  */
-#cmakedefine01 wxHAVE_WAYLAND_CLIENT
+#cmakedefine wxHAVE_WAYLAND_CLIENT 1

Sorry, what do you mean by "right"?

In any case, maybe I should be more explicit: this change is almost certainly not correct, wxHAVE_WAYLAND_CLIENT should be set by the code in build/cmake/init.cmake and if there is something wrong with it, this should be fixed there.

But, again, let's not deal with this here, please undo this change and regenerate configure to check if this fixes the failing CI builds so that the rest of the changes could be merged.

TIA!


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26435/review/4258228282@github.com>

VZ

unread,
May 12, 2026, 10:58:45 AM (2 days ago) May 12
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26435)

MSW CI failures seem to be spurious, but I'm less sure about the Mac builds, it looks like something could be wrong with configure, could you please check?

Also, do we absolutely have to include SDL3 headers using #include <SDL3/SDL.h> instead of just #include <SDL.h>? If we could keep the latter, we could avoid adding wxUSE_LIBSDL3 which would be nice(r).


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26435/c4431592057@github.com>

Reply all
Reply to author
Forward
0 new messages