mirror of
https://github.com/glfw/glfw.git
synced 2024-11-29 13:32:01 +00:00
Disabled window restoration on Cocoa.
This commit is contained in:
parent
e7c4e77214
commit
34c93a5124
@ -334,6 +334,7 @@ version of GLFW.</p>
|
|||||||
<li>[Cocoa] Bugfix: The <code>GLFW_WINDOW_NO_RESIZE</code> window parameter was always zero</li>
|
<li>[Cocoa] Bugfix: The <code>GLFW_WINDOW_NO_RESIZE</code> window parameter was always zero</li>
|
||||||
<li>[Cocoa] Bugfix: The cursor position incorrectly rounded during conversion</li>
|
<li>[Cocoa] Bugfix: The cursor position incorrectly rounded during conversion</li>
|
||||||
<li>[Cocoa] Bugfix: Cursor positioning led to nonsensical results for fullscreen windows</li>
|
<li>[Cocoa] Bugfix: Cursor positioning led to nonsensical results for fullscreen windows</li>
|
||||||
|
<li>[Cocoa] Bugfix: The GLFW window was flagged as restorable</li>
|
||||||
<li>[X11] Added support for the <code>GLX_EXT_swap_control</code> extension as an alternative to <code>GLX_SGI_swap_control</code></li>
|
<li>[X11] Added support for the <code>GLX_EXT_swap_control</code> extension as an alternative to <code>GLX_SGI_swap_control</code></li>
|
||||||
<li>[X11] Added the POSIX <code>CLOCK_MONOTONIC</code> time source as the preferred method</li>
|
<li>[X11] Added the POSIX <code>CLOCK_MONOTONIC</code> time source as the preferred method</li>
|
||||||
<li>[X11] Added dependency on libm, where present</li>
|
<li>[X11] Added dependency on libm, where present</li>
|
||||||
@ -895,6 +896,9 @@ their skills. Special thanks go out to:</p>
|
|||||||
<li>Glenn Lewis, for helping out with support for the D programming
|
<li>Glenn Lewis, for helping out with support for the D programming
|
||||||
language</li>
|
language</li>
|
||||||
|
|
||||||
|
<li>Shane Liesegang, for providing a bug fix relating to Cocoa window
|
||||||
|
restoration</li>
|
||||||
|
|
||||||
<li>Tristam MacDonald, for his bug reports and feedback on the Cocoa port</li>
|
<li>Tristam MacDonald, for his bug reports and feedback on the Cocoa port</li>
|
||||||
|
|
||||||
<li>Hans 'Hanmac' Mackowiak, for the initial implementation of cursor
|
<li>Hans 'Hanmac' Mackowiak, for the initial implementation of cursor
|
||||||
|
@ -693,6 +693,9 @@ static GLboolean createWindow(_GLFWwindow* window,
|
|||||||
[window->NS.object setAcceptsMouseMovedEvents:YES];
|
[window->NS.object setAcceptsMouseMovedEvents:YES];
|
||||||
[window->NS.object center];
|
[window->NS.object center];
|
||||||
|
|
||||||
|
if ([window->NS.object respondsToSelector:@selector(setRestorable)])
|
||||||
|
[window->NS.object setRestorable:NO];
|
||||||
|
|
||||||
return GL_TRUE;
|
return GL_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user