From b911d83091f607f56f34b0f4e72655f2b6ebbc6b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 30 Nov 2009 14:10:46 +0000 Subject: better not process events early, could cause troubles later. added a function - wm_window_get_size_ghost(), which looks into the ghost window directly so events dont need processing first. --- 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 f0a2c0ec9a9..4328f915101 100644 --- a/source/blender/windowmanager/wm_window.h +++ b/source/blender/windowmanager/wm_window.h @@ -50,6 +50,7 @@ void wm_window_raise (wmWindow *win); void wm_window_lower (wmWindow *win); void wm_window_set_size (wmWindow *win, int width, int height); void wm_window_get_size (wmWindow *win, int *width_r, int *height_r); +void wm_window_get_size_ghost (wmWindow *win, int *width_r, int *height_r); void wm_window_get_position (wmWindow *win, int *posx_r, int *posy_r); void wm_window_set_title (wmWindow *win, char *title); void wm_window_swap_buffers (wmWindow *win); -- cgit v1.2.3