mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-11-25 22:35: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;
|
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.
|
// 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
|
// this func also sets some stuff
|
||||||
|
|
||||||
|
|
|
@ -1800,11 +1800,6 @@ bool CWindowManager::shouldBeFloatedOnInit(int64_t window) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (window == barWindowID) {
|
|
||||||
PWINDOW->setDock(true);
|
|
||||||
PWINDOW->setDockAlign(DOCK_TOP);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
const auto WINCLASS = getClassName(window);
|
const auto WINCLASS = getClassName(window);
|
||||||
const auto CLASSNAME = WINCLASS.second;
|
const auto CLASSNAME = WINCLASS.second;
|
||||||
|
|
Loading…
Reference in a new issue