god no dont nvm

This commit is contained in:
vaxerski 2021-12-26 00:04:31 +01:00
parent 89f6421532
commit 034c3cd6f2
2 changed files with 4 additions and 5 deletions

View File

@ -580,6 +580,10 @@ void Events::eventMapWindow(xcb_generic_event_t* event) {
return;
}
// bar
if (E->window == g_pWindowManager->barWindowID)
return;
// We check if the window is not on our tile-blacklist and if it is, we have a special treatment procedure for it.
// this func also sets some stuff

View File

@ -1799,11 +1799,6 @@ bool CWindowManager::shouldBeFloatedOnInit(int64_t window) {
Debug::log(ERR, "shouldBeFloatedOnInit with an invalid window!");
return true;
}
if (window == barWindowID) {
PWINDOW->setDock(true);
PWINDOW->setDockAlign(DOCK_TOP);
}
const auto WINCLASS = getClassName(window);