Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Commit

Permalink
Restore button state after maximize
Browse files Browse the repository at this point in the history
  • Loading branch information
SineStriker committed Aug 27, 2023
1 parent a5cd255 commit 50e6f38
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/framelesshelper_win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,10 @@ bool FramelessHelperWin::nativeEventFilter(const QByteArray &eventType, void *me
}
}
muData.mouseLeaveBlocked = false;
} else if (uMsg == WM_SIZE) {
if (wParam == SIZE_MAXIMIZED) {
SEND_MESSAGE(hWnd, WM_MOUSEMOVE, HTCLIENT, MAKELPARAM(-999, -999));
}
}

switch (uMsg) {
Expand Down

0 comments on commit 50e6f38

Please sign in to comment.