mirror of
https://github.com/hyprwm/hyprpaper.git
synced 2025-12-20 04:30:02 +01:00
(somewhat) fix IPC crash
This commit is contained in:
parent
a88e0e066e
commit
f10f6a78c3
1 changed files with 3 additions and 0 deletions
|
|
@ -71,6 +71,9 @@ void CIPCSocket::initialize() {
|
|||
m_bRequestReady = true;
|
||||
|
||||
g_pHyprpaper->tick(true);
|
||||
|
||||
wl_display_roundtrip(g_pHyprpaper->m_sDisplay);
|
||||
|
||||
while (!m_bReplyReady) { // wait for Hyprpaper to finish processing the request
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(1));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue