Revision: 21854 http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21854 Author: ton Date: 2009-07-24 15:17:40 +0200 (Fri, 24 Jul 2009)
Log Message: ----------- 2.5 Temp window now clips correctly on left side. Also increased top offset for OSX to show window header. Modified Paths: -------------- branches/blender2.5/blender/source/blender/windowmanager/intern/wm_window.c Modified: branches/blender2.5/blender/source/blender/windowmanager/intern/wm_window.c =================================================================== --- branches/blender2.5/blender/source/blender/windowmanager/intern/wm_window.c 2009-07-24 13:02:16 UTC (rev 21853) +++ branches/blender2.5/blender/source/blender/windowmanager/intern/wm_window.c 2009-07-24 13:17:40 UTC (rev 21854) @@ -90,9 +90,19 @@ wm_get_screensize(&width, &height); #ifdef __APPLE__ - height -= 22; + height -= 42; #endif + if(rect->xmin < 0) { + d= rect->xmin; + rect->xmax -= d; + rect->xmin -= d; + } + if(rect->ymin < 0) { + d= rect->ymin; + rect->ymax -= d; + rect->ymin -= d; + } if(rect->xmax > width) { d= rect->xmax - width; rect->xmax -= d; _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org http://lists.blender.org/mailman/listinfo/bf-blender-cvs