+ case 'f':
+ if(!opt.vr || should_swap) {
+ /* we take the need to swap as a signal that our window is not managed
+ * by some VR compositor, and therefore it's safe to fullscreen without
+ * upsetting the VR rendering output
+ */
+ opt.fullscreen = !opt.fullscreen;
+ app_fullscreen(opt.fullscreen);
+ }
+ break;
+