Gtk3: removed unnecessary check.

This commit is contained in:
zeljan1 2025-02-09 23:09:44 +01:00
parent 9d7bd8fdd8
commit c50ceb5e64

View File

@ -260,9 +260,6 @@ var
x, y, w, h: gint;
begin
AWindow^.window^.get_geometry(@x, @y, @w, @h);
//nothing to do
if (w = AWindow^.get_allocated_width) and (h = AWindow^.get_allocated_height) then
exit;
with AWinControl do
AWindow^.window^.move_resize(Left, Top, Width, Height);