UI: add toggle fullscreen to window context menu
authorCampbell Barton <ideasman42@gmail.com>
Thu, 12 Jul 2018 13:25:05 +0000 (15:25 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 12 Jul 2018 13:25:05 +0000 (15:25 +0200)
release/scripts/startup/bl_ui/space_topbar.py

index 5129b5648ce4add2b32ff14c8b22256f22088d2c..96ef2e51e60534e5d0e2d0de678d105dc79afa80 100644 (file)
@@ -563,6 +563,8 @@ class TOPBAR_MT_window_specials(Menu):
 
         layout.operator("screen.area_dupli")
 
+        layout.operator("wm.window_fullscreen_toggle", icon='FULLSCREEN_ENTER')
+
         layout.separator()
 
         layout.operator("screen.area_split", text="Horizontal Split").direction = 'HORIZONTAL'