Blender Git Commit Log

Git Commits -> Revision 2945650

Revision 2945650 by Campbell Barton (master)
January 31, 2013, 05:37 (GMT)
fix/workaround [#34026] Blender starts with too large window

Minimal change to stop blender window opening across all monitors.

Workaround the problem by starting maximized, and using sane defaults for non maximized window.

I checked on a few different solutions to this, Using Xinerama works OK, but with different size monitors
and not knowing which one the window-manager will pick in advance - this can be wrong too.

Now instead of opening with the screen size, just start maximized and use a default size for the non-maximized window (clamped by the screen size).

This isn't perfect since you could have 2x monitors at 1024x768, open blender, un-maximize - and blender window would cross over into the second monitor.

Commit Details:

Full Hash: 29456505f3749dd00fc53351faef0306836361f3
SVN Revision: 54220
Parent Commit: d7623c0
Lines Changed: +17, -2

1 Modified Path:

/source/blender/windowmanager/intern/wm_window.c (+17, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021