From d602af73d3881445a3c1b94312c2a8d75069f2f2 Mon Sep 17 00:00:00 2001 From: Christian Rauch Date: Fri, 1 May 2020 18:38:04 +1000 Subject: WM: remove X11 hard coded window size workaround Causes issues with Wayland and is no longer required for Gnome/KDE. --- source/blender/windowmanager/wm_window.h | 7 ------- 1 file changed, 7 deletions(-) (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 ce9d79b8e59..45cfe1431d7 100644 --- a/source/blender/windowmanager/wm_window.h +++ b/source/blender/windowmanager/wm_window.h @@ -82,11 +82,4 @@ int wm_window_new_main_exec(bContext *C, struct wmOperator *op); void wm_test_autorun_warning(bContext *C); -/* Initial (unmaximized) size to start with for - * systems that can't find it for themselves (X11). - * 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