Maelstrom: Need to filter in-game events through the screen to get the proper viewport mouse coordinate correction.

https://github.com/libsdl-org/Maelstrom/commit/132561f9afe25fbd4369f6a0cdd45762f42708cf

From 132561f9afe25fbd4369f6a0cdd45762f42708cf Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Mon, 7 Nov 2011 00:41:45 -0500
Subject: [PATCH] Need to filter in-game events through the screen to get the
 proper viewport mouse coordinate correction.

---
 controls.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/controls.cpp b/controls.cpp
index e75b9999..05bf645b 100644
--- a/controls.cpp
+++ b/controls.cpp
@@ -357,7 +357,7 @@ void HandleEvents(int timeout)
 	SDL_Event event;
 
 	do { 
-		while ( SDL_PollEvent(&event) ) {
+		while ( screen->PollEvent(&event) ) {
 			HandleEvent(&event);
 		}
 		if ( timeout ) {
@@ -372,7 +372,7 @@ int DropEvents(void)
 	SDL_Event event;
 	int keys = 0;
 
-	while ( SDL_PollEvent(&event) ) {
+	while ( screen->PollEvent(&event) ) {
 		if ( event.type == SDL_KEYDOWN ) {
 			++keys;
 		}