diff src/video/quartz/SDL_QuartzVideo.h @ 561:4bcf7dd06c47

Date: Sat, 14 Dec 2002 13:33:05 -0500 From: Darrell Walisser Subject: Re: crash in SDL / OSX > Yes, compose keys and other "dead" keys should have unicode 0. > As a hack, if you get multiple composed characters, you can send the > sequence with a valid unicode and a keysym of 0. It's because of > things like this that I'm separating the key and char events in SDL 2.0 I've done this and here's the patch.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 15 Dec 2002 09:09:31 +0000
parents 2536446a92de
children 04dcaf3da918
line wrap: on
line diff
--- a/src/video/quartz/SDL_QuartzVideo.h	Fri Dec 13 21:09:52 2002 +0000
+++ b/src/video/quartz/SDL_QuartzVideo.h	Sun Dec 15 09:09:31 2002 +0000
@@ -52,6 +52,7 @@
 #include <OpenGL/OpenGL.h>
 #include <Carbon/Carbon.h>
 #include <QuickTime/QuickTime.h>
+#include <IOKit/IOKitLib.h>	/* For powersave handling */
 
 #include "SDL_video.h"
 #include "SDL_error.h"
@@ -308,4 +309,4 @@
 
 /* YUV functions */
 static SDL_Overlay* QZ_CreateYUVOverlay (_THIS, int width, int height,
-                                         Uint32 format, SDL_Surface *display);
\ No newline at end of file
+                                         Uint32 format, SDL_Surface *display);