mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-09-11 21:27:20 +03:00
globalshortcuts: allow empty appid
This commit is contained in:
parent
f69c5469d7
commit
1ecfb5e852
@ -2097,7 +2097,7 @@ void CKeybindManager::global(std::string args) {
|
||||
const auto APPID = args.substr(0, args.find_first_of(':'));
|
||||
const auto NAME = args.substr(args.find_first_of(':') + 1);
|
||||
|
||||
if (APPID.empty() || NAME.empty())
|
||||
if (NAME.empty())
|
||||
return;
|
||||
|
||||
if (!g_pProtocolManager->m_pGlobalShortcutsProtocolManager->globalShortcutExists(APPID, NAME))
|
||||
|
Loading…
Reference in New Issue
Block a user