mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-11-08 00:45:58 +01:00
god no dont nvm
This commit is contained in:
parent
89f6421532
commit
034c3cd6f2
2 changed files with 4 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue