1
0
Fork 0
Kuhnovic 2025-06-26 07:33:45 +00:00 committed by GitHub
commit 6eb783b0f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ public:
void OnMouseLoop() override
{
/* Disallow closing the window too easily, if timeout is disabled */
if (_right_button_down && !this->is_critical) this->Close();
if ((_right_button_down || _left_button_down) && !this->is_critical) this->Close();
}
void Close([[maybe_unused]] int data = 0) override