This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian/master
in repository ioquake3.

commit e0a367451f04988790384fc59d998b6dcb6bf2e3
Author: Eugene Molotov <[email protected]>
Date:   Sun Sep 10 14:31:51 2017 +0500

    ignore window resize event on fullscreen
---
 code/sdl/sdl_input.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/code/sdl/sdl_input.c b/code/sdl/sdl_input.c
index 9abf149..9514636 100644
--- a/code/sdl/sdl_input.c
+++ b/code/sdl/sdl_input.c
@@ -1121,6 +1121,12 @@ static void IN_ProcessEvents( void )
                                                        width = e.window.data1;
                                                        height = e.window.data2;
 
+                                                       // ignore this event on 
fullscreen
+                                                       if( 
cls.glconfig.isFullscreen )
+                                                       {
+                                                               break;
+                                                       }
+
                                                        // check if size 
actually changed
                                                        if( 
cls.glconfig.vidWidth == width && cls.glconfig.vidHeight == height )
                                                        {

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/ioquake3.git

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to