Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/gioui/gio

Mirror of the Gio main repository (https://git.sr.ht/~eliasnaur/gio)
https://github.com/gioui/gio

io/router: replace cursor stack with area field

There's no need to track cursors separately from areas.

Signed-off-by: Elias Naur <mail@eliasna...

3e18a310af312d0daa61a80cffc386f45d586086 authored almost 3 years ago by Elias Naur <[email protected]>
io/router: always choose the topmost cursor among candidates

Fixes: https://todo.sr.ht/~eliasnaur/gio/373
Signed-off-by: Elias Naur <[email protected]>

99bb5429601e9162af53adfb8da4bfb386875716 authored almost 3 years ago by Elias Naur <[email protected]>
io/router: ensure root pointer area in deferred calls

Fixes: https://todo.sr.ht/~eliasnaur/gio/372
Signed-off-by: Elias Naur <[email protected]>

68544111c1804fceeae704e8829137496f3c4daa authored almost 3 years ago by Elias Naur <[email protected]>
app: [windows] fix maximized window size

Previously, the window size is equal to the screen size. That doesn't
consider the size of the t...

b82427d412b64c902c024392e3807c5ee28ca678 authored almost 3 years ago by Inkeliz <[email protected]>
.builds: upgrade Android builds tools and SDK

Fixes the build.

Signed-off-by: Elias Naur <[email protected]>

2b0898fc67debea16736a211c600ba1bb0a8d0c0 authored almost 3 years ago by Elias Naur <[email protected]>
app: replace C-to-Go handle maps with cgo.Handle

Signed-off-by: Elias Naur <[email protected]>

c0c25b777b1e3a394156dac5f6acfca4f62d6fd4 authored almost 3 years ago by Elias Naur <[email protected]>
app/internal/windows,app: [Windows] generalize windows.GetPointerLong

We're about to use it to store the Go window cgo.Handle.

Signed-off-by: Elias Naur <mail@eliasn...

95365d587865d24a0cdf7f208e1fe79faa5371ef authored almost 3 years ago by Elias Naur <[email protected]>
app: [iOS] disable fallback decorations

Before this change, the iOS backend would not report decoration
support at window creation.

Sig...

b9e8a177f0e602a6e14b181e95a7ed77fe36ff5b authored almost 3 years ago by Elias Naur <[email protected]>
.builds: upgrade to Go 1.17.7

Signed-off-by: Elias Naur <[email protected]>

09309d330d0b809f02c3ef9ab2d715bd31668c47 authored almost 3 years ago by Elias Naur <[email protected]>
all: replace unsafe slice operations with unsafe.Slice

Signed-off-by: Elias Naur <[email protected]>

fea2f888bbc0e6d370f07c67ef3503907b1bf153 authored almost 3 years ago by Elias Naur <[email protected]>
go.*: upgrade to Go 1.17

Signed-off-by: Elias Naur <[email protected]>

af8ca964144ddbc927dca78e501e8a53e852bc02 authored almost 3 years ago by Elias Naur <[email protected]>
app: [Android] avoid a null pointer exception at initialization

GioView.onCreateView may call methods on the imm field of GioView.
Make sure it is initialized b...

b0838bf697fed8eeba7570783ae9ebe72fd1b954 authored almost 3 years ago by Elias Naur <[email protected]>
widget: test caret coordinates

This commit adds a check that caret coordinates never exceed
the max constraints of the editor.
...

9b69233924e5dd8aa400e992f600099f2e861a89 authored almost 3 years ago by Chris Waldon <[email protected]>
app: [macOS] redraw when window moves to a different monitor

The monitor may have a different backing store scale, yet the
system doesn't redraw automaticall...

1fa9dd0fd0ccea9c63529dd4f36e823ae1f764f9 authored almost 3 years ago by Elias Naur <[email protected]>
Revert "app: [macOS] pace display link"

This reverts commit 11f39582b84703c33d3aae4c1b703698a1bb4ea6 that
introduced pacing of display l...

34f10d9cbb3a45da2ecb8a9fab60b0a5995c1a31 authored almost 3 years ago by Elias Naur <[email protected]>
app,io/pointer: [API] remove CursorNameOp and rename CursorName -> Cursor

It's now possible to directly user pointer.Cursor to add to the ops.

pointer.CursorText.Add(...

cdb288d1f98a50b377cc6e916edabb297977670d authored almost 3 years ago by Egon Elbre <[email protected]>
io/pointer: [API] make cursor name into a byte

Add most of the common cursors defined by different systems.

Normalize cursor names to match CS...

4172566aad20b09eed0803873f15942671ccb10c authored almost 3 years ago by Egon Elbre <[email protected]>
widget: fix Editor.CaretCoords when scrolled

This commit fixes the position returned by Editor.CaretCoords
to account for the scroll position...

a401d7aaff5c93ee7bd8083a078849a9e41798f2 authored almost 3 years ago by Chris Waldon <[email protected]>
widget: reset focused states when disabled

Signed-off-by: Elias Naur <[email protected]>

79bfd3adbd3200e6964c4f4ad5912c7aad092919 authored almost 3 years ago by Elias Naur <[email protected]>
app,io/router: map Androids' DPAD_CENTER to a click

Mapping it to key.NameReturn confuses widgets such as Editor that
treats clicks separate from re...

21431975de8abedf38b4d82092bd51c4c0e8b5a9 authored almost 3 years ago by Elias Naur <[email protected]>
widget/material: add focus and hover indicators to Clickable

Signed-off-by: Elias Naur <[email protected]>

50e35c9c3fd2bd6c3a74f5b2eac09ae298449a0a authored almost 3 years ago by Elias Naur <[email protected]>
app: ensure Window.Invalidate redraws after delivering events

Events such as system.CommandEvent may result in Invalidate being
called. Ensure animation state...

f711e7eaa8214a6b3c4b63bcd3fa5387cb66ef55 authored almost 3 years ago by Elias Naur <[email protected]>
widget: treat enter and space as clicks on release, not press

Matches the usual behaviour of GUI toolkits.

Signed-off-by: Elias Naur <[email protected]>

aaf457d6e1a5b90b71c35798e81d6cb3513d3344 authored almost 3 years ago by Elias Naur <[email protected]>
internal/f32color: add support for light widgets to Hovered

Signed-off-by: Elias Naur <[email protected]>

2bea9a373691c7dedc5f31c0aa580b34fda696eb authored almost 3 years ago by Elias Naur <[email protected]>
internal/f32color: extract color mixing into separate function

Refactor to enable Hovered for light widgets.

Signed-off-by: Elias Naur <[email protected]>

b74c9f96035df39f23a265a172343baa641d41df authored almost 3 years ago by Elias Naur <[email protected]>
io/router,app: add support for directional focus moves

Implement support for up/down/right/left directional focus moves
and map Android directional pad...

73eabb352d7e486fd59c82a76898e7f0372434af authored almost 3 years ago by Elias Naur <[email protected]>
io/router: move focus on tab and shift+tab

Fixes: https://todo.sr.ht/~eliasnaur/gio/195
Signed-off-by: Elias Naur <[email protected]>

2e9df04a7ba9c4eb5078e00aaa589218bf3a319e authored almost 3 years ago by Elias Naur <[email protected]>
app: [Android] map numpad enter to key.NameReturn

Matches the other platforms by distinguishing NameReturn from NameEnter.

Signed-off-by: Elias N...

eb48b45913ff92b6825f54cb08921b07555c65f8 authored almost 3 years ago by Elias Naur <[email protected]>
widget,widget/material: make Clickable widgets focusable

This change adds focus and keyboard control to Clickable widgets.
They now consider a press of t...

cd2ade0583631db52346d4a283f49e36a69e4656 authored almost 3 years ago by Elias Naur <[email protected]>
widget: only ask for software keyboard once per click

Signed-off-by: Elias Naur <[email protected]>

8ff10a2068be5fd24e92603ab3f75911bb26ef8c authored almost 3 years ago by Elias Naur <[email protected]>
widget: fix editor's io.Seeker implementation

For some reason, widget.Editor had a Seek method that ignored
the supplied offset and always see...

a7afa4d6d19ae25ed9de17067df1ef26c765e352 authored almost 3 years ago by Chris Waldon <[email protected]>
app: [macOS] pass key events to system before handling them

This change solves an issue where an editor key press such as
backspace would apply before the I...

7f90f04c074d86031f48cae0370b2ac06b36a292 authored almost 3 years ago by Elias Naur <[email protected]>
io/pointer: rename cursors to match the JavaScript DOM

The names are a better match for layout.Direction.

Signed-off-by: Inkeliz <[email protected]>

730e04630ce5314dda1b68aa3372ff9834cf0030 authored almost 3 years ago by Inkeliz <[email protected]>
app: [Wayland] always refresh frame pacing notification

Apparently, a Wayland server such as Sway and River may not issue
a frame pacing callback create...

2e91edafbbb2244ee42810dd6e6ac665e0f1ee19 authored almost 3 years ago by Elias Naur <[email protected]>
op/clip: don't panic when stroking empty path

Fixes: https://todo.sr.ht/~eliasnaur/gio/367
Signed-off-by: Elias Naur <[email protected]>

773a7e48a0f223358f818e7ef63da6cbad6403eb authored almost 3 years ago by Elias Naur <[email protected]>
app: [macos] add missing cursors

Signed-off-by: Egon Elbre <[email protected]>

e9e00994cf79350a11be4032e084462b7f35fb60 authored almost 3 years ago by Egon Elbre <[email protected]>
app: [windows] add missing cursors

Signed-off-by: Egon Elbre <[email protected]>

b7a42da386e6e4fb29638cd8f00b5fdab726d03e authored almost 3 years ago by Egon Elbre <[email protected]>
widget: remove pointer area padding from Editor

Pointer padding was introduced in bfece0bebacb5cec4fdf5682b886333e03b6549b.
I don't remember why...

bed5902476c408308230c4d4dfb53e81d4ca1a6e authored almost 3 years ago by Elias Naur <[email protected]>
app: remove defer op in window decorate

Fixes: https://todo.sr.ht/~eliasnaur/gio/361
Signed-off-by: Pierre Curto <[email protected]>

20d4bc21d595f7566570a556f9a73cca3254fcb3 authored almost 3 years ago by Pierre Curto <[email protected]>
widget: adjust Draggable.Pos to be relative

When dragging objects around an area, it is easier to
reason with the relative movement of the d...

42ea56ac44ea8aad8cd5106b1a50c7e42329b689 authored almost 3 years ago by Pierre Curto <[email protected]>
app: [Android] handle DPAD_CENTER keycode

see https://developer.android.com/reference/android/view/KeyEvent#KEYCODE_DPAD_CENTER

cc https:...

27762fdd465845931cd3bdec73ad1fdad1188e17 authored almost 3 years ago by Aman Karmani <[email protected]>
widget: replace segmentIterator with simpler functions

The replacement functions all use the single seeking function, seekPosition.

Signed-off-by: Eli...

41489fb7321f14bff0041c4fca6b4dc691f6dc66 authored almost 3 years ago by Elias Naur <[email protected]>
widget: extract seeking logic from Editor.closestPosition

We'd like to re-use the Editor.closestPosition seeking for
segmentIterator.Next; this change ext...

b7341672e394b1b7f31965559da87a88d590cc3c authored almost 3 years ago by Elias Naur <[email protected]>
widget: fix moveLines residual x offset calculation

Commit c22138f5f broke it, this change fixes it.

Signed-off-by: Elias Naur <[email protected]>

2df3db361f2899da265dff9f23ed601ef74d44bf authored almost 3 years ago by Elias Naur <[email protected]>
io/key: update stale comment

Signed-off-by: Elias Naur <[email protected]>

845d35dd502f510f8d7b52c5cd522b1956737c01 authored almost 3 years ago by Elias Naur <[email protected]>
internal/gl: [js] replace Call to Bind/Invoke

Before that patch, the Call function was used to call each
JS function related to WebGL. The Cal...

182e701081d4e1e428ef774607c651c667516b1f authored almost 3 years ago by Inkeliz <[email protected]>
app: [Wayland] process key repeat events properly

The recent IME changes broke Wayland key repeating. This change
fixes it.

Fixes: https://todo.s...

0d32ab3f62dc6c5c15f542f4e045106ed795c058 authored almost 3 years ago by Elias Naur <[email protected]>
app,widget,io: implement IME positioning

This change implements reporting of the caret position from Editor, as well
as Windows, macOS, A...

31f55232bfc78c940103d466e7d343d64e992c48 authored almost 3 years ago by Elias Naur <[email protected]>
app,app/internal/windows: [Windows] implement IME support

References: https://todo.sr.ht/~eliasnaur/gio/246
Signed-off-by: Elias Naur <[email protected]>

27e0b9cc7d07a3fa17a0889c913b9ccd151f8b75 authored almost 3 years ago by Elias Naur <[email protected]>
app: [macOS] don't reset IME snippet when not needed

Signed-off-by: Elias Naur <[email protected]>

3eeb08b4a1ce65092fcbba482a288113e5d97733 authored almost 3 years ago by Elias Naur <[email protected]>
app: [Windows] simplify GetWindowRect, delete old workaround

Go issue #34474 was fixed in 1.14 and backported to 1.13.

Signed-off-by: Elias Naur <mail@elias...

cffa748c6a02bba2535e326f9d6429ec5252cb00 authored almost 3 years ago by Elias Naur <[email protected]>
app: remove redundant if check

EditorStateChanged is only called when the old and new states
differ.

Signed-off-by: Elias Naur...

bace7062406ff1d1708576a877108ea5be76d40a authored almost 3 years ago by Elias Naur <[email protected]>
app: always preserve IME snippet replacement text

When a text range in the IME snippet is replaced, the replacement
is discarded if the range don'...

216f2c32955669fae06ec2fd570d416c81c3629d authored almost 3 years ago by Elias Naur <[email protected]>
widget: test cursor motion in all editor permutations

This commit adds a testcase to catch unexpected panics in the
editor's scroll offset logic intro...

9e23412a01941ec22c5feb46183ecf50cca26b1f authored almost 3 years ago by Chris Waldon <[email protected]>
op/clip: specify path for stroked Rects

Fixes: https://todo.sr.ht/~eliasnaur/gio/358
Signed-off-by: Elias Naur <[email protected]>

ce116abdedab45e77c42317ea5d5fb6516c043df authored almost 3 years ago by Elias Naur <[email protected]>
gpu/internal/opengl: ensure Backend.queryState is idempotent

Backend.queryState sets GL_ACTIVE_TEXTURE to access texture bindings; this change
makes sure GL_...

242045f66252db6ae78a12888623fe2a242d1b48 authored almost 3 years ago by Elias Naur <[email protected]>
app: [Android] remove dead code

Signed-off-by: Elias Naur <[email protected]>

887ba1b6e9e303e85467d4f58151fefd91974ce6 authored almost 3 years ago by Elias Naur <[email protected]>
widget: fix build on Go 1.17

Signed-off-by: Elias Naur <[email protected]>

912ddb95f8de6050fd5e9c0f267b28a8bee689f5 authored almost 3 years ago by Elias Naur <[email protected]>
app: [macOS] implement IME support

Signed-off-by: Elias Naur <[email protected]>

b162ed56d78978f539acd8aa0366c861f41f5d1b authored almost 3 years ago by Elias Naur <[email protected]>
app: [Android] move UTF-16 to UTF-32 conversion routines to Go

They're easier to test and can be re-used for macOS/Windows.

While here, add a Go 1.18 build ta...

98b02176dba2e6e9d45a0707063788e3283be75b authored almost 3 years ago by Elias Naur <[email protected]>
app: [macOS,iOS] don't use [NSString UTF8String]

UTF8String is lossy in the presence of nul (\x00) runes.

While here, don't CFRelease the input ...

ef9e4071e72463e6ff639b3d261de007225d55db authored almost 3 years ago by Elias Naur <[email protected]>
widget: ensure buffer.Read does nothing to read zero bytes

This commit ensures that the edit buffer used by widget.Editor
does not get EOF when trying to r...

b28307baeb6fcfa330a2670cbec12a6f2967a4d9 authored almost 3 years ago by Chris Waldon <[email protected]>
widget: push calls to Editor.makeValid to lower-level indexPosition

Signed-off-by: Elias Naur <[email protected]>

e32925d6a3c44984c4d4e38e94536c50acb0b503 authored almost 3 years ago by Elias Naur <[email protected]>
widget: don't adjust selection in Editor.makeValid

Only rune positions are tracked for carets, and they only need adjusting
when changing Editor co...

430aee39be94cfd635e1c0a36010be1a848a59f4 authored almost 3 years ago by Elias Naur <[email protected]>
app: ensure derived events are processed

A range loop may not see all items in a slice that is appended to during
iteration. Convert rang...

9d778d7bde573e632ffcf6e221f2f5270bdff46a authored almost 3 years ago by Elias Naur <[email protected]>
internal/stroke: don't draw round join if angle is NaN

References: https://todo.sr.ht/~eliasnaur/gio/331
Signed-off-by: Andy Balholm <[email protected]>

44c9fb7448abfa7a12e1e547e269fe8618b0bec6 authored almost 3 years ago by Andy Balholm <[email protected]>
app,widget: implement Editor IME support, add Android implementation

Fixes: https://todo.sr.ht/~eliasnaur/gio/116
References: https://todo.sr.ht/~eliasnaur/gio/246
S...

58cdb3e1da2ef8986a72e4a097beb6e31fb03073 authored almost 3 years ago by Elias Naur <[email protected]>
widget: track only Editor caret start in runes

The other information can be queries at use.

Signed-off-by: Elias Naur <[email protected]>

c22138f5f81c8e97841b605a1f7f5728cb3e3b30 authored almost 3 years ago by Elias Naur <[email protected]>
widget: track only rune offset in Editor caret end

Signed-off-by: Elias Naur <[email protected]>

e323afa82248f154191b4d68f57ae6a0ce46621d authored almost 3 years ago by Elias Naur <[email protected]>
widget: replace Editor.makeValidCaret

Signed-off-by: Elias Naur <[email protected]>

ff245361a4a4394a982d6fe6e52061150924e9bd authored almost 3 years ago by Elias Naur <[email protected]>
widget: replace Editor.movePosToEnd, movePosToStart

Signed-off-by: Elias Naur <[email protected]>

45078813b39e1755fede98aa97983b0bdd59d959 authored almost 3 years ago by Elias Naur <[email protected]>
widget: replace Editor.movePos

Signed-off-by: Elias Naur <[email protected]>

3a70eaa9c12a217c850dd49c20c7524ae62c63af authored almost 3 years ago by Elias Naur <[email protected]>
widget: replace Editor.seek

Signed-off-by: Elias Naur <[email protected]>

3ce403f8514546b7e1c4158a83536cc3dbdc5550 authored almost 3 years ago by Elias Naur <[email protected]>
widget: replace Editor.movePosToLine

Signed-off-by: Elias Naur <[email protected]>

c071750ed9f596346a3193507a0e2437b1e23a54 authored almost 3 years ago by Elias Naur <[email protected]>
widget: [API] change Editor.SelectionLen, Selection, SetCaret, Len to operate in runes

This change uncovered and fixes a bug in nullLayout.

This is an API change; the methods operate...

44e019617366f047a660156c8106da2a724de8a9 authored almost 3 years ago by Elias Naur <[email protected]>
widget: replace a call to Editor.movePosToLine

Signed-off-by: Elias Naur <[email protected]>

2babf3b99726613e4417abac92b88e6ae00b54f5 authored almost 3 years ago by Elias Naur <[email protected]>
widget: introduce caret indexing to Editor

An efficient index replaces all other ad-hoc caret positioning methods.

Signed-off-by: Elias Na...

b9e8c4eda8aba46faa03a093e58b855359692a9c authored almost 3 years ago by Elias Naur <[email protected]>
widget: simplify Editor.offsetToScreenPos

It used to return an iterator function, now it just takes the result
of a previous call.

Signed...

3614782e0d6ff295617037b54feedeb623a29ba0 authored almost 3 years ago by Elias Naur <[email protected]>
widget: track rune positions for Editor carets

Needed for efficient implementation of the upcoming IME interface.

Also introduce Editor.replac...

d0869ef4574a23e559467393c7070aa1d6c16eb4 authored almost 3 years ago by Elias Naur <[email protected]>
widget: move xoff field out of caret position type

Editor is only interested in one xoff value, this change makes it so
it's the only one tracked.
...

212c3cc1267109683702ded957cd40e380134fd5 authored almost 3 years ago by Elias Naur <[email protected]>
app: [Wayland] make clipboard reads synchronous

app.Window.Event is no longer safe to call for goroutines outside the event
loop. This change en...

77557edd3360405bf4d5f0c71ac066fca29cef5b authored almost 3 years ago by Elias Naur <[email protected]>
app: [Wayland] send WaylandViewEvent before DestroyEvent

Signed-off-by: Elias Naur <[email protected]>

1c2e96bcc79f93830f21fe6f5839998373a95768 authored almost 3 years ago by Elias Naur <[email protected]>
widget/material: add ink effect and semantic information to decorations

Signed-off-by: Elias Naur <[email protected]>

4416a137865b19116e0bd201c30b23eccc3cc20b authored almost 3 years ago by Elias Naur <[email protected]>
app: don't apply fallback decorations when CustomRenderer is set

Fixes the opengl example on client-side decorated Wayland servers.

Signed-off-by: Elias Naur <m...

12deba21952653695bff65eb32f8ca3f5b448eac authored almost 3 years ago by Elias Naur <[email protected]>
app: [API] refactor app.ViewEvent to support wayland

This commit changes the definition of app.ViewEvent on Unix systems
to be an interface implement...

7204632c39d405f5ad2db97dbb5d8fb341555758 authored almost 3 years ago by Chris Waldon <[email protected]>
app: [API] add Window.Perform, replacing Close, Raise, Centered

This new method performs user related actions on the Window, supporting custom window decoration...

74acc90789aa514153189cc0429d13e37721c049 authored almost 3 years ago by Pierre Curto <[email protected]>
cmd/gogio: use JAVA_HOME first

Tools such as the Android SDK `d8` looks for Java tools in JAVA_HOME
before PATH. We should matc...

668d0e7d7996ca3e9a33c1ba6dc4eca0162c17fc authored almost 3 years ago by Inkeliz <[email protected]>
app: [Wayland] update buffer scale immediately

Simpler, and makes sure buffer scaling is set correctly regardless of
the CustomRenderer setting...

6fba94e57305e9f69aeda558f5985faa9140c040 authored almost 3 years ago by Elias Naur <[email protected]>
cmd/gogio: [Android] update arguments to d8

According to the d8 documentation[0] `--lib` should be used to specify
the path to android.jar, ...

69a6b47f7b4485edccd5d57efee1b83e3a59f7c8 authored almost 3 years ago by Elias Naur <[email protected]>
widget/material: split Decorations state and style

Move Decorations to the widget package and
rename material.Decorate to material.Decorations.
Thi...

dcfe36c36736f49403a5accffd2abb5ffb3c4376 authored almost 3 years ago by Pierre Curto <[email protected]>
app: note the implications of custom rendering

Small note to make clear how the window behaviour
changes when you call for custom rendering.

F...

4f9d063e1386df28c2ec5744b9ca8b8b942843bc authored almost 3 years ago by Jack Mordaunt <[email protected]>
app: [Wayland] minimize redraws, ack configure events immediately

There's no reason xdg_surface_ack_configure can't be called immediate,
do that. Then, replace ca...

9f1d6f5ebfef702c52451e26b479b0ca2eea744f authored almost 3 years ago by Elias Naur <[email protected]>
app: revert wrong fix for #340

This is effectively a revert of b2a99fddcad3c952cc7e0dfb05021c57de072693,
which broke Window.Run...

ba732274699d1c8b060fb5932675d603c1b9c6ff authored almost 3 years ago by Elias Naur <[email protected]>
app: delay Window.Close until after event processing

The fix for #340, b2a99fddcad3c952cc7e0dfb05021c57de072693, deferred
all driver functions until ...

f23a4f8452e3cd3264a008c680863105305ff1d7 authored almost 3 years ago by Elias Naur <[email protected]>
app: [macOS] fix initial ConfigEvent.Size

Upon initialization, the reported window size
was incorrect.

Signed-off-by: Pierre Curto <pierr...

7648a5e38123417c8d336ad2b424337da5417c27 authored almost 3 years ago by Pierre Curto <[email protected]>
widget/material: update Decorations

Fix actions not processed and move the Layout method from
Decorations to DecorationsStyle.

Also...

030fd8a171a5328268aa7341964dbadf92262a95 authored almost 3 years ago by Pierre Curto <[email protected]>
app: use material.Decorations on undecorated platforms

This patch implements a mechanism for customizing window
decorations.
If a window is configured ...

5ce1e982827ba0ab4af963b8719701aab8681ac9 authored almost 3 years ago by Pierre Curto <[email protected]>
app: disable Vulkan on X11

According to

https://gioui.org/issue/347 and
https://github.com/godotengine/godot/issues/43714
...

90ad0010ece3bd667af79ac3de905a0c90b837bd authored almost 3 years ago by Elias Naur <[email protected]>
app: ensure deferred functions are run outside of FrameEvents

Simplify callbacks.Event a bit while here.

Fixes: https://todo.sr.ht/~eliasnaur/gio/348
Signed-...

1bad440ef60429b62a30145b712a6e618f748bd1 authored almost 3 years ago by Elias Naur <[email protected]>
.builds: disable OpenGL tests on FreeBSD

For some reason, the Mesa OpenGL software renderer fails to correctly
render some of the tests i...

6294390df2cf67cf3872f037594bb03adf8aefe1 authored almost 3 years ago by Elias Naur <[email protected]>