Change many "orelse return" sections to log.err

Beansprout will still continue gracefully, but I added handling so that
they'll log errors so we should have some record of something beind
wrong.
This commit is contained in:
Ben Buhse 2026-02-08 15:11:03 -06:00
commit 4d379a272c
No known key found for this signature in database
GPG key ID: 7916ACFCD38FD0B4
4 changed files with 37 additions and 15 deletions

View file

@ -10,14 +10,13 @@ SPDX-License-Identifier: GPL-3.0-or-later
These are in rough order of my priority, though no promises I do them in this order.
- [ ] Switch all structs to idiomatic Zig init/deinit pattern (init returns value, caller decides stack/heap)
- [ ] Implement runtime log levels
- [ ] Support per-host config using properties
- [ ] Support per-host config using properties (maybe also per-output?)
- [ ] Add input configuration, i.e. pointer acceleration and that type of thing
- [ ] Support a basic bar
- [ ] Implement runtime log levels
- [ ] Support starting programs at WM launch
- [ ] Support overriding config location
- [ ] Add support for multimedia/brightness keys
- [ ] Make "orelse return" bits into errors; handle gracefully
- [ ] Add support for multimedia/brightness keys (this might not be neccesary)
- [ ] Support multiple seats
- [ ] Support clipping floating windows on edge of/between outputs
- [x] Support changeable primary ratio
@ -25,3 +24,6 @@ These are in rough order of my priority, though no promises I do them in this or
- [x] Support multiple outputs
- [x] Support floating windows
- [x] Support wallpapers
- [x] Make "orelse return" bits into errors; handle gracefully
- [ ] Switch all structs to idiomatic Zig init/deinit pattern (init returns value, caller decides stack/heap)
- I'm not sure I really need this