Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-03-12 18:55:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-03-12 18:55:52 +0400
commitf6025018f55aa668c7fcc205d0ce1d19bb415ef2 (patch)
treee8631256d111144edc49e6f6182013dfba474bab /source/blender/windowmanager/wm_window.h
parent984bd7ffa82ca4c674a7d4a6a5b5504787335533 (diff)
change defaults for window state on X11 (yet again), after further discussion.
instead use a fixed size as a default, clamp by the desktop size and add some padding (to account for title bar and panel).
Diffstat (limited to 'source/blender/windowmanager/wm_window.h')
-rw-r--r--source/blender/windowmanager/wm_window.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/wm_window.h b/source/blender/windowmanager/wm_window.h
index c4c64ed429f..a0546c88b78 100644
--- a/source/blender/windowmanager/wm_window.h
+++ b/source/blender/windowmanager/wm_window.h
@@ -74,6 +74,7 @@ int wm_window_fullscreen_toggle_exec(bContext *C, struct wmOperator *op);
* Clamped by real desktop limits */
#define WM_WIN_INIT_SIZE_X 1800
#define WM_WIN_INIT_SIZE_Y 1000
+#define WM_WIN_INIT_PAD 40
#endif /* __WM_WINDOW_H__ */