mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-11-22 13:35:57 +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
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue