mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-11-22 13:35:57 +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
|
// Check if it has a name
|
||||||
const auto NAME = getClassName(window);
|
const auto NAME = getClassName(window);
|
||||||
if (NAME.first == "Error" && NAME.second == "Error") {
|
if (NAME.first == "Error" && NAME.second == "Error") {
|
||||||
closeWindowAllChecks(window);
|
Debug::log(WARN, "Window created but has a class of NULL?");
|
||||||
Debug::log(WARN, "Window created but has a class of NULL. Removing.");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Debug::log(LOG, "Post creation checks ended");
|
Debug::log(LOG, "Post creation checks ended");
|
||||||
|
|
Loading…
Reference in a new issue