mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
JBR-5438 Fix window bounds in XWM#setShellResizable
(cherry picked from commit c51695d830dd3daf0021180ee974a3c11d03b6a8)
This commit is contained in:
committed by
Nikita Gubarkov
parent
4b1ad2e7fe
commit
b695a707eb
@@ -1072,10 +1072,7 @@ final class XWM
|
||||
try {
|
||||
Rectangle shellBounds;
|
||||
if (getWMID() != UNITY_COMPIZ_WM) {
|
||||
Insets insets = window.getRealInsets();
|
||||
shellBounds = window.getShellBounds();
|
||||
shellBounds.translate(-insets.left,
|
||||
-insets.top);
|
||||
shellBounds = window.getBounds();
|
||||
} else {
|
||||
shellBounds = window.getDimensions().getScreenBounds();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user