mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 04:49:48 +01:00
globalshortcuts: allow empty appid
This commit is contained in:
parent
f69c5469d7
commit
1ecfb5e852
1 changed files with 1 additions and 1 deletions
|
@ -2097,7 +2097,7 @@ void CKeybindManager::global(std::string args) {
|
||||||
const auto APPID = args.substr(0, args.find_first_of(':'));
|
const auto APPID = args.substr(0, args.find_first_of(':'));
|
||||||
const auto NAME = args.substr(args.find_first_of(':') + 1);
|
const auto NAME = args.substr(args.find_first_of(':') + 1);
|
||||||
|
|
||||||
if (APPID.empty() || NAME.empty())
|
if (NAME.empty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!g_pProtocolManager->m_pGlobalShortcutsProtocolManager->globalShortcutExists(APPID, NAME))
|
if (!g_pProtocolManager->m_pGlobalShortcutsProtocolManager->globalShortcutExists(APPID, NAME))
|
||||||
|
|
Loading…
Reference in a new issue