Windowing

Its necessary to obtain the maximized window dimensions because on
devices like tablets, this can change with the use of an onscreen
keyboard etc.