buffet / kiwmi

A fully programmable Wayland Compositor
Mozilla Public License 2.0
612 stars 22 forks source link

[FR] support input inhibit protocol #54

Open ildar opened 2 years ago

ildar commented 2 years ago
$  waylock 
thread 'main' panicked at '[SCTK] A missing global was required: zwlr_input_inhibit_manager_v1', /usr/src/RPM/BUILD/waylock-0.3.3/vendor/smithay-client-toolkit/src/environment.rs:149:21

thanks

kuruczgy commented 1 year ago

Now (2023) screen lockers seem to be moving towards ext-session-lock-v1 instead of the wlr_input_inhibit + wlr_layer_shell combo. See: https://github.com/swaywm/swaylock/commit/ac3b49b6571ceda3f8db11a98bfe320106996280

I don't know of any other major use for wlr_input_inhibit other than screen lockers, so I suggest that we prioritize implementing ext-session-lock-v1 instead. (Maybe you could even change the issue title.)

If anyone wants to pick up work on implementing it I already have a basic version here with most of the code just copy-pasted from sway: https://github.com/kuruczgy/kiwmi/commit/b2c8b7209ba51810c2ee05474d6058cf22b0c248