diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-02-28 02:39:40 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-02-28 02:41:01 +0400 |
commit | d7a2d2b693c7b058d268e7d008616fd9d284675c (patch) | |
tree | b6caf06cd2415f23994e84ad5cd6f62f6ef3ef43 /source/blender/windowmanager/intern/wm_window.c | |
parent | de6b64bca65e340315b5eb3e5f766749efd0404e (diff) |
Fix T38876: hide area split widget in lower left of widget on OS X.
This is already used by the operating system for window resizing, you must use
the widget in the top right of the area to split.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_window.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_window.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c index d5ad1c7e139..6a2ef471be0 100644 --- a/source/blender/windowmanager/intern/wm_window.c +++ b/source/blender/windowmanager/intern/wm_window.c @@ -1440,3 +1440,9 @@ int WM_window_pixels_y(wmWindow *win) return (int)(f * (float)win->sizey); } + +bool WM_window_is_fullscreen(wmWindow *win) +{ + return win->windowstate == GHOST_kWindowStateFullScreen; +} + |