I have an application with an fullscreen button, when that button is clicked I change the displayState of stage to StageDisplayState.FULL_SCREEN_INTERACTIVE.
StageDisplayState.FULL_SCREEN_INTERACTIVE
Use a boolean. For example, make it true in the resize function and check if it's not true to execute it.