mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 22:29:25 +02:00
Gtk3: fixed TGtk3WidgetSet.GetWindowRect() bounds, patch by Anton Kavalenka.Part of issue #40461
This commit is contained in:
parent
67fd5eb194
commit
d06d98e830
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user