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
path: root/intern
diff options
context:
space:
mode:
authorJens Verwiebe <info@jensverwiebe.de>2014-07-26 20:51:39 +0400
committerJens Verwiebe <info@jensverwiebe.de>2014-07-26 20:51:39 +0400
commit333aaca29450b0b44f1db47791cc35faa7e766c2 (patch)
treef26b55e313d9ff4c36f12c0e964f1638c67ce307 /intern
parentcd59daca534b548111931bd3d9463090490da5cf (diff)
OSX/GHOST: Using lion_fullscreen suffers from an uncovered problem when called from operator, disabled for now so ALT-F11
uses old behavior again. OSX menu and CTL-CMD-F still work as lion fullscreen as well as right-upper corner fs window-icon - We must investigate here why double promotion happens from op calls ( dispatchEvents on redraw cause duplicated calls here ) - The actual op calls cause fs to be in a wrong state, so also mousehandles fail and CTX_wm_window(C) is not valid. - similar problem is with quit op, which does not close the app right ( totblocks ) - i would prefer to try getting direct os function call here rather
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/intern/GHOST_WindowCocoa.mm17
1 files changed, 9 insertions, 8 deletions
diff --git a/intern/ghost/intern/GHOST_WindowCocoa.mm b/intern/ghost/intern/GHOST_WindowCocoa.mm
index f9b8899fbe5..41be2801146 100644
--- a/intern/ghost/intern/GHOST_WindowCocoa.mm
+++ b/intern/ghost/intern/GHOST_WindowCocoa.mm
@@ -728,14 +728,15 @@ GHOST_WindowCocoa::GHOST_WindowCocoa(
if (state == GHOST_kWindowStateFullScreen)
setState(GHOST_kWindowStateFullScreen);
- //Starting with 10.9 (darwin 13.x.x), we always use Lion fullscreen, since it
- //now has proper multi-monitor support for fullscreen
- char darwin_ver[10];
- size_t len = sizeof(darwin_ver);
- sysctlbyname("kern.osrelease", &darwin_ver, &len, NULL, 0);
- if(darwin_ver[0] == '1' && darwin_ver[1] >= '3') {
- m_lionStyleFullScreen = true;
- }
+//Using lion_fullscreen suffers from an uncovered problem when called from operator, disabled for now
+// //Starting with 10.9 (darwin 13.x.x), we always use Lion fullscreen, since it
+// //now has proper multi-monitor support for fullscreen
+// char darwin_ver[10];
+// size_t len = sizeof(darwin_ver);
+// sysctlbyname("kern.osrelease", &darwin_ver, &len, NULL, 0);
+// if(darwin_ver[0] == '1' && darwin_ver[1] >= '3') {
+// m_lionStyleFullScreen = true;
+// }
[pool drain];
}