mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-12-24 18:39:47 +01:00
dont close unnamed windows
This commit is contained in:
parent
7ce5864a81
commit
9460139071
1 changed files with 1 additions and 2 deletions
|
@ -1894,8 +1894,7 @@ void CWindowManager::doPostCreationChecks(CWindow* pWindow) {
|
|||
// Check if it has a name
|
||||
const auto NAME = getClassName(window);
|
||||
if (NAME.first == "Error" && NAME.second == "Error") {
|
||||
closeWindowAllChecks(window);
|
||||
Debug::log(WARN, "Window created but has a class of NULL. Removing.");
|
||||
Debug::log(WARN, "Window created but has a class of NULL?");
|
||||
}
|
||||
|
||||
Debug::log(LOG, "Post creation checks ended");
|
||||
|
|
Loading…
Reference in a new issue