diff options
author | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2013-11-10 11:40:27 -0800 |
---|---|---|
committer | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2013-11-13 08:55:49 -0800 |
commit | c6fd9c11f7302f4ac77bce37687c8bbffbf8ed65 (patch) | |
tree | 2a2fc88dc67bfe4d3c38303595c8279c67d839a8 | |
parent | c82a90815cef2d92f6aabb2b0991b3cda71d23c4 (diff) |
XQuartz: Don't sleep forever on exit if usleep() returns an error
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
(cherry picked from commit f70a8bf3714d89bccaad36841ef9149e91ad3bba)
-rw-r--r-- | hw/xquartz/X11Controller.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xquartz/X11Controller.m b/hw/xquartz/X11Controller.m index 737db42e7..3d094bfc7 100644 --- a/hw/xquartz/X11Controller.m +++ b/hw/xquartz/X11Controller.m @@ -936,7 +936,7 @@ extern char *bundle_id_prefix; - (void) applicationWillTerminate:(NSNotification *)aNotification { - unsigned remain; + int remain; [X11App prefs_synchronize]; /* shutdown the X server, it will exit () for us. */ |