More things
All checks were successful
Run ReCI Build Test / Explore-Gitea-Actions (push) Successful in 1m37s
All checks were successful
Run ReCI Build Test / Explore-Gitea-Actions (push) Successful in 1m37s
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user