We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 674b7cb commit e7d78d3Copy full SHA for e7d78d3
src/linux/window_manager.cc
@@ -71,7 +71,7 @@ MMRect getWindowRect(const WindowHandle windowHandle) {
71
uint32_t width, height, border_width, border_height;
72
Status getXGeometryResult = XGetGeometry(xServer, windowHandle, &rootWindow, &x, &y, &width, &height, &border_width, &border_height);
73
if (getXGeometryResult > 0) {
74
- windowRect = MMRectMake(x, y, width + border_width, height + border_height);
+ windowRect = MMRectMake(x, y, width, height);
75
}
76
disconnectFromX(xServer);
77
0 commit comments