Removing unecessary window argument

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>