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 commit5547701e2c) (cherry picked from commitd5fa62913e)
This commit is contained in:
committed by
jbrbot
parent
aa942afd82
commit
5370931465
@@ -1833,8 +1833,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