Fix code example (#1)
This commit is contained in:
parent
f340d04eca
commit
fd131c83a9
1 changed files with 2 additions and 2 deletions
|
@ -91,9 +91,9 @@ Instead of `try window.getPos()` for example, you may use:
|
||||||
|
|
||||||
```zig
|
```zig
|
||||||
const pos = window.getPos() catch |err| {
|
const pos = window.getPos() catch |err| {
|
||||||
std.log.err("failed to get window position: error={}\n", err);
|
std.log.err("failed to get window position: error={}\n", .{err});
|
||||||
return;
|
return;
|
||||||
}
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
Here is a rough list of functionality Wayland does not support:
|
Here is a rough list of functionality Wayland does not support:
|
||||||
|
|
Loading…
Add table
Reference in a new issue