mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 17:39:20 +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;
|
//h := AWindow^.get_height;
|
||||||
AWindow^.get_frame_extents(@GRect);
|
AWindow^.get_frame_extents(@GRect);
|
||||||
// R := RectFromGdkRect(GRect);
|
// R := RectFromGdkRect(GRect);
|
||||||
ARect := Bounds(0, 0, GRect.width, GRect.Height);
|
ARect := Bounds(x, Y, GRect.width, GRect.Height);
|
||||||
Result := 1;
|
Result := 1;
|
||||||
end else
|
end else
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user