CleanCode: frame: helper for updating frame extents
Move duplicated code into a function.
Signed-off-by: Enrico Weigelt, metux IT consult info@metux.net
Move duplicated code into a function.
Signed-off-by: Enrico Weigelt, metux IT consult info@metux.net