Ian Douglas Scott
Ian Douglas Scott
Is there a reason this was using BGRA? RGBA is more common, though BGR was historically popular at one point. `image` 0.24 has removed support for BGR images. `image::Handle::from_pixels()` is...
This seems to be generally considered the preferred, idiomatic solution now. This is in the standard library behind a feature flag (apparently now called `std::sync::LazyLock`).
Types wrapping `&FontSystem` instead need to have methods taking an `&mut FontSystem`. Eliminating the lifetime bounds make the API more usable, but perhaps too many methods require this to be...
Qt 4 has been unsupported and unmaintained for years, and isn't packaged for many Linux distros any more. Luckily porting QT4 to QT5 is generally not too hard, and fairly...
The [`Component`](https://doc.rust-lang.org/std/path/enum.Component.html) enum includes a `Prefix` variant that only appears on Windows, which is not ideal. Optimally, OS specific functionality should not be exposed on other OSs. Worse, operating systems...
I noticed this on Github Actions. I haven't reproduced it locally since I don't have a Mac, and it doesn't seem to occur on Linux. `ps` normally lists processes on...
I've been thinking about how to simplify this code for a while. Implementations of these traits become particularly verbose with a more complicated shell like cosmic-comp: https://github.com/pop-os/cosmic-comp/blob/master/src/shell/focus/target.rs. It turns out...
Basic implementation of https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/268. Can be tested along with https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26912. Will require compositor to do something with the `target_device` for this to be useful. So far this and the Mesa...
Running `anvil --x11` in a Gnome X session, it seems to fail to allocate buffers (at least on this particular hardware/driver). Looking into it, it seems the only modifiers it...