idle-inhibit: Style and naming improvements
idle-inhibit: Style and naming improvements

Port back style and naming improvements suggested in
https://github.com/swaywm/wlroots/pull/2026 for
keyboard-shortcuts-inhibit. These are all internal to the implementation
and therefore unproblematic.

Also, retrieve the inhibitor resource version from the manager resource
instead of setting it statically.

Signed-off-by: Michael Weiser <deeaf5c4ee2bb6716919c8d2d0f4c1bd9c4557aa@gmx.de>

SirCmpwn/wlroots,ascent12/wlroots,ascent12/wlroots,swaywm/wlroots,swaywm/wlroots