More things
All checks were successful
Run ReCI Build Test / Explore-Gitea-Actions (push) Successful in 1m37s

This commit is contained in:
2024-12-17 15:14:22 -05:00
parent d5a08ecea2
commit a68ced6874

View File

@@ -166,15 +166,8 @@ void RWindowImpl::PollEvents() {
if (pPlatform->xev.type == ClientMessage)
Logger::Info(std::format("Event '{}'", "ClientMessage"));
// Hmmm
/*
if (pPlatform->xev.xclient.message_type == XInternAtom(pPlatform->display, "WM_PROTOCOLS", False) && static_cast<Atom>(pPlatform->xev.xclient.data.l[0]) == pPlatform->wmDeleteWindow) {
Close();
}
*/
if (pPlatform->xev.xclient.message_type == XInternAtom(pPlatform->display, "WM_PROTOCOLS", False)) {
Logger::Info("Closing");
Logger::Info("Closing");
Close();
}