Added a log to applying keybinds to X

This commit is contained in:
vaxerski 2021-12-27 09:34:20 +01:00
parent 1b614342cb
commit cf96eb5df8
1 changed files with 2 additions and 1 deletions

View File

@ -446,7 +446,8 @@ void ConfigManager::applyKeybindsToX() {
Debug::log(LOG, "Not applying the keybinds because status bar not null");
return; // If we are in the status bar don't do this.
}
Debug::log(LOG, "Applying " + std::to_string(KeybindManager::keybinds.size()) + " keybinds to X.");
xcb_ungrab_key(g_pWindowManager->DisplayConnection, XCB_GRAB_ANY, g_pWindowManager->Screen->root, XCB_MOD_MASK_ANY);
xcb_ungrab_button(g_pWindowManager->DisplayConnection, XCB_GRAB_ANY, g_pWindowManager->Screen->root, XCB_MOD_MASK_ANY);