Gtk3: fixed TGtk3WidgetSet.GetWindowRect() bounds, patch by Anton Kavalenka.Part of issue #40461

This commit is contained in:
Željan Rikalo 2023-08-25 17:21:44 +02:00
parent 67fd5eb194
commit d06d98e830

View File

@ -2849,7 +2849,7 @@ begin
//h := AWindow^.get_height;
AWindow^.get_frame_extents(@GRect);
// R := RectFromGdkRect(GRect);
ARect := Bounds(0, 0, GRect.width, GRect.Height);
ARect := Bounds(x, Y, GRect.width, GRect.Height);
Result := 1;
end else
begin