mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-11-25 14:25:58 +01:00
we were broken, but now we're not
This commit is contained in:
parent
034c3cd6f2
commit
c8bf538e86
1 changed files with 2 additions and 2 deletions
|
@ -788,7 +788,7 @@ void Events::eventClientMessage(xcb_generic_event_t* event) {
|
|||
|
||||
free(XEMBEDREPLY);
|
||||
|
||||
xcb_reparent_window(g_pWindowManager->DisplayConnection, CLIENT, g_pWindowManager->statusBar->trayWindowID, 0, 0);
|
||||
xcb_reparent_window(g_pWindowManager->DisplayConnection, CLIENT, g_pWindowManager->statusBar->getWindowID(), 0, 0);
|
||||
|
||||
// icon sizes are barY - 2 - pad: 1
|
||||
values[0] = ConfigManager::getInt("bar:height") - 2 < 1 ? 1 : ConfigManager::getInt("bar:height") - 2;
|
||||
|
@ -806,7 +806,7 @@ void Events::eventClientMessage(xcb_generic_event_t* event) {
|
|||
event->format = 32;
|
||||
event->data.data32[0] = XCB_CURRENT_TIME;
|
||||
event->data.data32[1] = 0;
|
||||
event->data.data32[2] = g_pWindowManager->statusBar->trayWindowID;
|
||||
event->data.data32[2] = g_pWindowManager->statusBar->getWindowID();
|
||||
event->data.data32[3] = XEMBEDVERSION;
|
||||
xcb_send_event(g_pWindowManager->DisplayConnection, 0, CLIENT, XCB_EVENT_MASK_NO_EVENT, (char*)event);
|
||||
|
||||
|
|
Loading…
Reference in a new issue