mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-11-22 13:35:57 +01:00
Added a log to applying keybinds to X
This commit is contained in:
parent
1b614342cb
commit
cf96eb5df8
1 changed files with 2 additions and 1 deletions
|
@ -446,7 +446,8 @@ void ConfigManager::applyKeybindsToX() {
|
||||||
Debug::log(LOG, "Not applying the keybinds because status bar not null");
|
Debug::log(LOG, "Not applying the keybinds because status bar not null");
|
||||||
return; // If we are in the status bar don't do this.
|
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_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);
|
xcb_ungrab_button(g_pWindowManager->DisplayConnection, XCB_GRAB_ANY, g_pWindowManager->Screen->root, XCB_MOD_MASK_ANY);
|
||||||
|
|
Loading…
Reference in a new issue