wails/.github
Lea Anthony 8eaed8c5f6
fix(linux): remove Screen typedef collision with X11 Xlib.h (#4979)
* fix(linux): remove unused C Screen typedef that collides with X11 Xlib.h

The GTK4 backend includes <gdk/x11/gdkx.h> for X11 window positioning,
which pulls in <X11/Xlib.h>. Xlib defines its own `Screen` typedef,
conflicting with the identically-named struct in linux_cgo_gtk4.h.

The C Screen struct was unused - the Go code constructs Go Screen structs
directly from GDK monitor data, never referencing C.Screen.

Fixes #4957

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* ci: run GTK4 build and tests on all v3-alpha PRs

The GTK4 CI steps were gated on github.head_ref == 'feature/webkit-gtk6-support',
meaning no other branch ever ran GTK4 compilation checks. This allowed the
Screen typedef collision to slip through undetected.

Now that GTK4 support has been merged, run GTK4 dependency installation,
example builds, and test suite on every PR targeting v3-alpha.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* docs: add GTK4 Screen typedef fix to unreleased changelog

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Fix changelog

* fix changelog

* fix(ci): pass BUILD_TAGS through to go build in test:example:linux

The GTK4 CI step ran BUILD_TAGS=gtk4 task test:examples but the
Taskfile task ignored the env var, always building with no -tags flag.
Use shell parameter expansion so BUILD_TAGS flows through to go build.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 21:44:03 +11:00
..
ISSUE_TEMPLATE Documentation updates. 2024-12-16 20:00:56 +11:00
workflows fix(linux): remove Screen typedef collision with X11 Xlib.h (#4979) 2026-02-09 21:44:03 +11:00
file-labeler.yml Add issue management automation tools 2025-05-14 20:47:45 +10:00
FUNDING.yml [v2] beta.0 test 2021-09-27 21:05:43 +10:00
issue-labeler.yml Add issue management automation tools 2025-05-14 20:47:45 +10:00
pull_request_template.md Update pull_request_template.md 2025-07-19 16:55:32 +10:00
stale.yml Update stale bot configuration to protect older issues 2025-05-14 20:49:28 +10:00