aboutsummaryrefslogtreecommitdiffstats
path: root/distrib/sdl-1.2.15/src/video/quartz/SDL_QuartzVideo.m
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2012-07-09 11:42:54 -0700
committerJesse Hall <jessehall@google.com>2012-07-22 00:35:08 -0700
commite4c5d95ed37611acc6a186522315195b4ebfb9ef (patch)
treeb39ee901bb528b7e3593117cde724ef75d438b67 /distrib/sdl-1.2.15/src/video/quartz/SDL_QuartzVideo.m
parent9682c8870b8ff5e4ac2e4c70b759f791c6f38c1f (diff)
downloadexternal_qemu-e4c5d95ed37611acc6a186522315195b4ebfb9ef.zip
external_qemu-e4c5d95ed37611acc6a186522315195b4ebfb9ef.tar.gz
external_qemu-e4c5d95ed37611acc6a186522315195b4ebfb9ef.tar.bz2
Apply Android changes from sdl-1.2.12 to sdl-1.2.15
These changes come from diffing Android's sdl-1.2.12 tree against a pure upstream sdl-1.2.12 tree, and then manually applying those differences to the sdl-1.2.15 tree. Change-Id: I05fa6e8004bb629fa2482f092b6ab127b7e51e73
Diffstat (limited to 'distrib/sdl-1.2.15/src/video/quartz/SDL_QuartzVideo.m')
-rw-r--r--distrib/sdl-1.2.15/src/video/quartz/SDL_QuartzVideo.m8
1 files changed, 7 insertions, 1 deletions
diff --git a/distrib/sdl-1.2.15/src/video/quartz/SDL_QuartzVideo.m b/distrib/sdl-1.2.15/src/video/quartz/SDL_QuartzVideo.m
index fa04e9d..bb20172 100644
--- a/distrib/sdl-1.2.15/src/video/quartz/SDL_QuartzVideo.m
+++ b/distrib/sdl-1.2.15/src/video/quartz/SDL_QuartzVideo.m
@@ -23,6 +23,7 @@
#include "SDL_QuartzVideo.h"
#include "SDL_QuartzWindow.h"
+#include "SDL_QuartzWM.h"
/* These APIs aren't just deprecated; they're gone from the headers in the
10.7 SDK. If we're using a >= 10.7 SDK, but targeting < 10.7, then we
@@ -220,7 +221,12 @@ static SDL_VideoDevice* QZ_CreateDevice (int device_index)
device->SetCaption = QZ_SetCaption;
device->SetIcon = QZ_SetIcon;
device->IconifyWindow = QZ_IconifyWindow;
- /*device->GetWMInfo = QZ_GetWMInfo;*/
+ device->SetWindowPos = QZ_SetWindowPos;
+ device->GetWindowPos = QZ_GetWindowPos;
+ device->IsWindowVisible = QZ_IsWindowVisible;
+ device->GetMonitorDPI = QZ_GetMonitorDPI;
+ device->GetMonitorRect = QZ_GetMonitorRect;
+ device->GetWMInfo = QZ_GetWMInfo;
device->GrabInput = QZ_GrabInput;
/*