From f6025018f55aa668c7fcc205d0ce1d19bb415ef2 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 12 Mar 2013 14:55:52 +0000 Subject: 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). --- source/blender/windowmanager/wm_window.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/windowmanager/wm_window.h') 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__ */ -- cgit v1.2.3