not sure I understand what you mean? 
If you modify the gamepad test to make it toggle fullscreen you can directly see that this fixes the problem.