mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-11-26 14:55:58 +01:00
fixed another tray oopsie
This commit is contained in:
parent
03de64b70e
commit
3c86cd2c13
1 changed files with 8 additions and 0 deletions
|
@ -534,6 +534,14 @@ int CStatusBar::drawTrayModule(SBarModule* mod, int off) {
|
||||||
xcb_configure_window(g_pWindowManager->DisplayConnection, tray.window,
|
xcb_configure_window(g_pWindowManager->DisplayConnection, tray.window,
|
||||||
XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y | XCB_CONFIG_WINDOW_STACK_MODE, values);
|
XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y | XCB_CONFIG_WINDOW_STACK_MODE, values);
|
||||||
|
|
||||||
|
|
||||||
|
// fix the size
|
||||||
|
values[0] = ELEMENTWIDTH;
|
||||||
|
values[1] = values[0];
|
||||||
|
|
||||||
|
xcb_configure_window(g_pWindowManager->DisplayConnection, tray.window,
|
||||||
|
XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT, values);
|
||||||
|
|
||||||
++i;
|
++i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue