Commit Graph

6 Commits

Author SHA1 Message Date
Matthew Flatt
a964f3effb fix refresh on El Capitan
When restoring autodisplay, need to check whether a display was
lost since display was suspended.

(cherry picked from commit 9bf18505d5)
2015-11-07 06:48:28 -07:00
Matthew Flatt
a35b0e4831 another Mac OS X 10.11 refresh repair
Avoid frames that start out unpainted and end up with a too-dark
titlebar.
2015-10-06 21:24:10 -06:00
Matthew Flatt
cdc992ccb9 fix problems and consistency with fullscreen in frame%
The `fullscreen` method implied `show` on Mac OS X and Windows, but
not on Gtk, and a frae shown that was was not properly registered
as shown (e.g., the application could exit). For consistency, adjust
`fullscreen` to not imply `show`. Also, shift to a remaining frame
on Mac OS X when a fullscreen frame is closed.
2015-10-04 14:19:00 -06:00
Matthew Flatt
ea576d3177 Mac OS X 10.11: disable auto-update for suspended-flush windows
Previous versions of OS X seem to have automatically disabled
update for a window when flushing is disabled, but now we have to
do it ourselves, otherwise text editors can flicker a lot. (The
system change is probably related to the removal of the
`isFlushWindowDisabled` method of `NSWindow` (which was
deprecated in 10.10).
2015-10-04 12:11:21 -06:00
Matthew Flatt
ac2d39e0e1 fix GC blit for Mac OS X 10.11
The old strategy of switching a transparent window to solid and back
doesn't work on 10.11; it appears that queued messages must be handled
for the window to become visible, but that's not allowed during a GC.
The strategy for 10.11 and up create an OpenGL canvas, which acts as a
direct-to-screen drawing area that a GC callback can affect without
Racket-level allocation.
2015-10-01 22:02:37 -06:00
Sam Tobin-Hochstadt
135e357a37 Remove extra directories. 2014-12-02 02:33:07 -05:00