From 3c3b0c13e38b14fd795133814d5a522ea203cc30 Mon Sep 17 00:00:00 2001 From: Matt Ebb Date: Fri, 30 Sep 2005 09:49:56 +0000 Subject: [PATCH] * Added additional shift space to fullscreen/tile window spaces. So much more convenient than ctrl uparrow/downarrow since you don't have to take your hand off the mouse! --- source/blender/src/editscreen.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/source/blender/src/editscreen.c b/source/blender/src/editscreen.c index 51ce341b1ff..70a7e774430 100644 --- a/source/blender/src/editscreen.c +++ b/source/blender/src/editscreen.c @@ -1366,11 +1366,18 @@ void screenmain(void) } } else if (event==SPACEKEY) { - if((G.obedit && G.obedit->type==OB_FONT && g_activearea->spacetype==SPACE_VIEW3D)||g_activearea->spacetype==SPACE_TEXT||g_activearea->spacetype==SPACE_SCRIPT); - else if(G.qual==0) { - if(val) toolbox_n(); + if(val && (G.qual & LR_SHIFTKEY)) { + area_fullscreen(); + g_activearea= NULL; towin= 0; } + else { + if((G.obedit && G.obedit->type==OB_FONT && g_activearea->spacetype==SPACE_VIEW3D)||g_activearea->spacetype==SPACE_TEXT||g_activearea->spacetype==SPACE_SCRIPT); + else if(G.qual==0) { + if(val) toolbox_n(); + towin= 0; + } + } } else if(ELEM(event, UPARROWKEY, DOWNARROWKEY)) { if(val && (G.qual & LR_CTRLKEY)) {