hanatos / vkdt

raw photography workflow that sucks less
https://jo.dreggn.org/vkdt
BSD 2-Clause "Simplified" License
389 stars 36 forks source link

wayland misses some key events #154

Closed hanatos closed 6 days ago

hanatos commented 6 days ago

see title, it's super annoying. the issue seems to be that wayland refreshes a whole lot faster than x11 (great!) but thus the keystate query strategy in new_frame() doesn't work. the solution would be to move nk_input_begin() and end calls into the main loop outside the event handling and move all the keyboard/mouse/input translation into the proper event handlers (which already exist in the nk/glfw wrapper).