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

@ -1800,11 +1800,6 @@ bool CWindowManager::shouldBeFloatedOnInit(int64_t window) {
return true;
}
if (window == barWindowID) {
PWINDOW->setDock(true);
PWINDOW->setDockAlign(DOCK_TOP);
}
const auto WINCLASS = getClassName(window);
const auto CLASSNAME = WINCLASS.second;