swaywm / swayidle

Idle management daemon for Wayland
MIT License
554 stars 50 forks source link

No inhibit when moving mouse over empty desktop #145

Closed Lassebq closed 1 year ago

Lassebq commented 1 year ago

Swayidle seems to only inhibit when moving mouse over clients (windows), can anyone else confirm this?

FriederHannenheim commented 1 year ago

This is likely not a swayidle issue but an issue with your compositor. Swayidle uses the ext-idle-notify wayland protocol and relies on the compositor to tell if the user is idle or not

kennylevinsen commented 1 year ago

Note that inhibition refers to when idle behavior is disabled altogether by an application such as a video player. Typing or moving the cursor is just activity that resets idle time.

To automatically inhibit idle during e.g. a video, both your compositor and the application need to support and use the idle-inhibit protocol. In sway you can optionally configure manual inhibition when the application does not do it by itself, see man 5 sway, inhibit_idle.

Lassebq commented 1 year ago

It seems that it doesn't happen anymore, but I'm pretty sure it used to happen with Hyprland at least. Not too sure if river had the same issue.

Lassebq commented 1 year ago

Considering it doesn't happen anymore, I can close the issue