mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-11-26 06:45:58 +01:00
bar top always
This commit is contained in:
parent
9460139071
commit
7e57a47b5d
1 changed files with 8 additions and 0 deletions
|
@ -1773,12 +1773,20 @@ void CWindowManager::setAllFloatingWindowsTop() {
|
||||||
window.bringTopRecursiveTransients();
|
window.bringTopRecursiveTransients();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// set the bar topper jic
|
||||||
|
Values[0] = XCB_STACK_MODE_ABOVE;
|
||||||
|
xcb_configure_window(g_pWindowManager->DisplayConnection, barWindowID, XCB_CONFIG_WINDOW_STACK_MODE, Values);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CWindowManager::setAWindowTop(xcb_window_t window) {
|
void CWindowManager::setAWindowTop(xcb_window_t window) {
|
||||||
Values[0] = XCB_STACK_MODE_ABOVE;
|
Values[0] = XCB_STACK_MODE_ABOVE;
|
||||||
const auto COOKIE = xcb_configure_window(g_pWindowManager->DisplayConnection, window, XCB_CONFIG_WINDOW_STACK_MODE, Values);
|
const auto COOKIE = xcb_configure_window(g_pWindowManager->DisplayConnection, window, XCB_CONFIG_WINDOW_STACK_MODE, Values);
|
||||||
Events::ignoredEvents.push_back(COOKIE.sequence);
|
Events::ignoredEvents.push_back(COOKIE.sequence);
|
||||||
|
|
||||||
|
// set the bar topper jic
|
||||||
|
Values[0] = XCB_STACK_MODE_ABOVE;
|
||||||
|
xcb_configure_window(g_pWindowManager->DisplayConnection, barWindowID, XCB_CONFIG_WINDOW_STACK_MODE, Values);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CWindowManager::shouldBeFloatedOnInit(int64_t window) {
|
bool CWindowManager::shouldBeFloatedOnInit(int64_t window) {
|
||||||
|
|
Loading…
Reference in a new issue