i think this event should also trigger when the window size gets changed by dragging the window border? or maybe resizing should trigger a separate event?

will the event get the new available screen size as parameters?