annotate test/.cvsignore @ 664:abfdc08eb289

Date: Sun, 3 Aug 2003 22:07:57 +0200 From: Max Horn Subject: SDL OSX fullscreen FIX the attached patch fixes the fullscreen problems on SDL/OSX. The cause was that click events are bounded by winRect. Now, winRect is set to the size of the video surface. But if you e.g. request a 640x420 surface, you might get a 640x480 "real" surface. Still, SDL_VideoSurface->h will be set to 420! Thus, the upper 60 pixels in my example received no mouse down events. My fix simply disables this clipping when in full screen mode - after all, all clicks then should be inside the screen surface. Higher SDL functions ensure that the coordinates then are clipped to 640x420. It works fine in all my tests here. I don't know if it's the right thing to do in multi screen scenarios, though.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 04 Aug 2003 01:00:30 +0000
parents 6b0363ceaba2
children 8b58eeef4576
rev   line source
416
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
1 Makefile.in
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
2 Makefile
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
3 configure
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
4 config.cache
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
5 config.log
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
6 config.status
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
7 aclocal.m4
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
8 checkkeys
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
9 graywin
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
10 loopwave
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
11 testalpha
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
12 testbitmap
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
13 testcdrom
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
14 testerror
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
15 testgamma
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
16 testgl
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
17 testhread
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
18 testjoystick
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
19 testkeys
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
20 testlock
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
21 testoverlay
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
22 testpalette
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
23 testsem
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
24 testsprite
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
25 testtimer
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
26 testtypes
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
27 testver
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
28 testvidinfo
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
29 testwin
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
30 testwm
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
31 threadwin