hyprwm / hyprpicker

A wlroots-compatible Wayland color picker that does not suck.
BSD 3-Clause "New" or "Revised" License
670 stars 30 forks source link

Use xkbcommon for keyboard event handling #43

Closed TheOnlyMrCat closed 11 months ago

TheOnlyMrCat commented 11 months ago

Fixes #41.

This is my first time writing C++ in a long time, so I might have put some things in the wrong place.

Errors in initialising xkb are logged, but not treated as fatal. If we can't initialise xkb, we just don't handle keypresses at all.

vaxerski commented 11 months ago

thanks!