Function get_screen_geometry added

Hi,

As requested, I've removed the duplicate line introduced by mistake in my previous commit

Best regards

Ronan