mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-09-21 18:58:24 +00:00
globalshortcuts: allow empty appid
This commit is contained in:
@@ -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))
|
||||||
|
Reference in New Issue
Block a user