Ian Douglas Scott

Results 545 comments of Ian Douglas Scott

The new wayland-rs release should have this.

PID may also be useful if we want anything to provide an option to force kill an app (or is there a better way to do that?). Not sure what...

> IMHO this should be a compositor feature rather than a desktop shell feature. Something like if application didn't react for X seconds to a xdg/xwayland-ping request following a close...

So if we use `SO_PEERPIDFD`, we'd just not have a PID on older kernel versions and non-Linux platforms. Hopefully anything using COSMIC will have a recent kernel, and BSDs don't...

Yeah, using FDs is really the right way to do things like this.

https://www.corsix.org/content/what-is-a-pidfd > pidfd_send_signal > This function also accepts the result of open("/proc/$pid") as an fd, though it is the only function to do so: open("/proc/$pid") does not give a pidfd,...

> For example, this code wasn't even touched by my change. I think that's a result of the earlier warning. Because certain methods are never used, the variables that are...

Looks like `pcloud`, using the AppImage for their website, works but has no icon. Looking at the DBus interface it defines, I guess we're trying to use `IconName` but not...

If arguments take `Cow`, then all callers will have to explicitly convert to a `Cow`. A generic requiring `Into

In principle using `CStr` in the API is quite correct since Wayland requires null-terminated strings, but it may be annoying to deal with.