mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
JBR-1552 Invalid screen bounds in full screen mode
Check is window is not in undecorated state
(cherry picked from commit 5547701e2c)
This commit is contained in:
committed by
alexey.ushakov@jetbrains.com
parent
11b0314036
commit
6ddd23d65d
@@ -1786,8 +1786,10 @@ MsgRouting AwtFrame::WmNcCalcSize(BOOL wParam, LPNCCALCSIZE_PARAMS lpncsp, LRESU
|
||||
if (::IsZoomed(GetHWnd())) {
|
||||
rect->top += insets.bottom;
|
||||
// [moklev] Workaround for RIDER-27069, IDEA-211327
|
||||
rect->right += this->ScaleUpX(1);
|
||||
rect->bottom -= 1;
|
||||
if (!this->IsUndecorated()) {
|
||||
rect->right += this->ScaleUpX(1);
|
||||
rect->bottom -= 1;
|
||||
}
|
||||
}
|
||||
else {
|
||||
// this makes the native caption go uncovered
|
||||
|
||||
Reference in New Issue
Block a user