mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Added a workaround for the system that the window size is changed incorrectly when the window is dragged over the upper side of the virtual screen.
This commit is contained in:
parent
d633f4b586
commit
b9cdc53430
@ -3837,6 +3837,9 @@ LRESULT CMeterWindow::OnSysCommand(UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||||||
|
|
||||||
// Handle buttons
|
// Handle buttons
|
||||||
HandleButtons(pos, BUTTONPROC_UP, NULL); // redraw only
|
HandleButtons(pos, BUTTONPROC_UP, NULL); // redraw only
|
||||||
|
|
||||||
|
// Workaround for the system that the window size is changed incorrectly when the window is dragged over the upper side of the virtual screen
|
||||||
|
UpdateTransparency(m_TransparencyValue, false);
|
||||||
}
|
}
|
||||||
else // not dragged
|
else // not dragged
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user