mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 21:09:30 +02:00
Gtk3: removed unnecessary check.
This commit is contained in:
parent
9d7bd8fdd8
commit
c50ceb5e64
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user