mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
fix: minimize button remaining hovered on Windows (#5175)
This commit is contained in:
parent
fe1e498a5f
commit
4a5d4ef3fa
|
@ -65,7 +65,7 @@
|
||||||
- Bugfix: Fixed rare crash with Image Uploader when closing a split right after starting an upload. (#4971)
|
- Bugfix: Fixed rare crash with Image Uploader when closing a split right after starting an upload. (#4971)
|
||||||
- Bugfix: Fixed an issue on macOS where the image uploader would keep prompting the user even after they clicked "Yes, don't ask again". (#5011)
|
- Bugfix: Fixed an issue on macOS where the image uploader would keep prompting the user even after they clicked "Yes, don't ask again". (#5011)
|
||||||
- Bugfix: Hide the Usercard button in the User Info Popup when in special channels. (#4972)
|
- Bugfix: Hide the Usercard button in the User Info Popup when in special channels. (#4972)
|
||||||
- Bugfix: Fixed support for Windows 11 Snap layouts. (#4994)
|
- Bugfix: Fixed support for Windows 11 Snap layouts. (#4994, #5175)
|
||||||
- Bugfix: Fixed some windows appearing between screens. (#4797)
|
- Bugfix: Fixed some windows appearing between screens. (#4797)
|
||||||
- Bugfix: Fixed a crash that could occur when using certain features in a Usercard after closing the split from which it was created. (#5034, #5051)
|
- Bugfix: Fixed a crash that could occur when using certain features in a Usercard after closing the split from which it was created. (#5034, #5051)
|
||||||
- Bugfix: Fixed a crash that could occur when using certain features in a Reply popup after closing the split from which it was created. (#5036, #5051)
|
- Bugfix: Fixed a crash that could occur when using certain features in a Reply popup after closing the split from which it was created. (#5036, #5051)
|
||||||
|
|
|
@ -962,6 +962,13 @@ bool BaseWindow::handleSIZE(MSG *msg)
|
||||||
QPoint(rect.right - 1, rect.bottom - 1));
|
QPoint(rect.right - 1, rect.bottom - 1));
|
||||||
}
|
}
|
||||||
this->useNextBounds_.stop();
|
this->useNextBounds_.stop();
|
||||||
|
|
||||||
|
if (msg->wParam == SIZE_MINIMIZED && this->ui_.titlebarButtons)
|
||||||
|
{
|
||||||
|
// Windows doesn't send a WM_NCMOUSELEAVE event when clicking
|
||||||
|
// the minimize button, so we have to emulate it.
|
||||||
|
this->ui_.titlebarButtons->leave();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue