mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-12-27 17:55:24 +03:00
parent
df0c014ba0
commit
32aca88752
@ -114,6 +114,7 @@ CKeybindManager::CKeybindManager() {
|
|||||||
m_mDispatchers["movewindoworgroup"] = moveWindowOrGroup;
|
m_mDispatchers["movewindoworgroup"] = moveWindowOrGroup;
|
||||||
m_mDispatchers["setignoregrouplock"] = setIgnoreGroupLock;
|
m_mDispatchers["setignoregrouplock"] = setIgnoreGroupLock;
|
||||||
m_mDispatchers["denywindowfromgroup"] = denyWindowFromGroup;
|
m_mDispatchers["denywindowfromgroup"] = denyWindowFromGroup;
|
||||||
|
m_mDispatchers["event"] = event;
|
||||||
m_mDispatchers["global"] = global;
|
m_mDispatchers["global"] = global;
|
||||||
|
|
||||||
m_tScrollTimer.reset();
|
m_tScrollTimer.reset();
|
||||||
@ -2680,3 +2681,7 @@ void CKeybindManager::moveGroupWindow(std::string args) {
|
|||||||
|
|
||||||
PLASTWINDOW->updateWindowDecos();
|
PLASTWINDOW->updateWindowDecos();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CKeybindManager::event(std::string args) {
|
||||||
|
g_pEventManager->postEvent(SHyprIPCEvent{"custom", args});
|
||||||
|
}
|
||||||
|
@ -205,6 +205,7 @@ class CKeybindManager {
|
|||||||
static void setIgnoreGroupLock(std::string);
|
static void setIgnoreGroupLock(std::string);
|
||||||
static void denyWindowFromGroup(std::string);
|
static void denyWindowFromGroup(std::string);
|
||||||
static void global(std::string);
|
static void global(std::string);
|
||||||
|
static void event(std::string);
|
||||||
|
|
||||||
friend class CCompositor;
|
friend class CCompositor;
|
||||||
friend class CInputManager;
|
friend class CInputManager;
|
||||||
|
Loading…
Reference in New Issue
Block a user