IPC is now a socket
This commit is contained in:
parent
30ae4be181
commit
509f0c9a8a
5 changed files with 126 additions and 75 deletions
|
|
@ -20,6 +20,8 @@ void CThreadManager::handle() {
|
|||
|
||||
g_pConfigManager->init();
|
||||
|
||||
HyprCtl::startHyprCtlSocket();
|
||||
|
||||
while (3.1415f) {
|
||||
slowUpdate++;
|
||||
if (slowUpdate >= g_pConfigManager->getInt("general:max_fps")){
|
||||
|
|
@ -27,8 +29,6 @@ void CThreadManager::handle() {
|
|||
slowUpdate = 0;
|
||||
}
|
||||
|
||||
HyprCtl::tickHyprCtl();
|
||||
|
||||
std::this_thread::sleep_for(std::chrono::microseconds(1000000 / g_pConfigManager->getInt("general:max_fps")));
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue