mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-22 06:40:26 +00:00
disp/vulkan_sdl3: Don't register 'q' keybind
Now behaves consistently with GL display
This commit is contained in:
@@ -868,6 +868,9 @@ void* display_vulkan_init(module* parent, const char* fmt, unsigned int flags) {
|
||||
SDL_CHECK(SDL_DisableScreenSaver());
|
||||
|
||||
for (auto& binding : display_vulkan_keybindings) {
|
||||
if (binding.first == 'q') { // don't report 'q' to avoid accidental close - user can use Ctrl-c there
|
||||
continue;
|
||||
}
|
||||
std::string msg = std::to_string(static_cast<int>(binding.first));
|
||||
keycontrol_register_key(&s->mod, binding.first, msg.c_str(), binding.second.data());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user