Hi,
it seems that SDL_VIDEO_WINDOW_POS doesn’t work on OSX.
If I move it off the x coordinate, then shows white screen on the left side
of the window by the same amount. This is with x=300, y=0 for example –
there is white on the window for 300 pixels across.
Moving it on the y axis I get a bus error.
with last stable… SDL 1.2.13, OSX 10.5.7
cheers,
Can you report a bug in bugzilla? http://bugzilla.libsdl.org/
Thanks!
–SamOn Tue, May 26, 2009 at 10:24 PM, Ren? Dudfield wrote:
Hi,
it seems that SDL_VIDEO_WINDOW_POS doesn’t work on OSX.
If I move it off the x coordinate, then shows white screen on the left side
of the window by the same amount. This is with x=300, y=0 for example –
there is white on the window for 300 pixels across.
Moving it on the y axis I get a bus error.
with last stable… SDL 1.2.13, OSX 10.5.7
cheers,
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
hi,
this bug from last year seems related:
http://bugzilla.libsdl.org/show_bug.cgi?id=628
Added my note to that.
cheers,On Wed, May 27, 2009 at 3:58 PM, Sam Lantinga wrote:
Can you report a bug in bugzilla? http://bugzilla.libsdl.org/
Thanks!
–Sam
On Tue, May 26, 2009 at 10:24 PM, Ren? Dudfield <@Rene_Dudfield> wrote:
Hi,
it seems that SDL_VIDEO_WINDOW_POS doesn’t work on OSX.
If I move it off the x coordinate, then shows white screen on the left
side of the window by the same amount. This is with x=300, y=0 for example
– there is white on the window for 300 pixels across.
Moving it on the y axis I get a bus error.
with last stable… SDL 1.2.13, OSX 10.5.7
cheers,
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
hi again,
It looks like the parent window isn’t moved with the main SDL window.
The bus error crashes with SDL_FillRect if I change the y coordinate.
This is the file where SDL_VIDEO_WINDOW_POS is inspected…
src/video/quartz/SDL_QuartzVideo.m
It looks like the patch addresses it using some carbon calls:
http://www.nabble.com/-patch--OS-X-carbon-SDL_WINDOWID-support-td6457591.html
Haven’t tried the patch though.
ps. SDL_VIDEO_CENTERED=1 works fine.On Wed, May 27, 2009 at 4:31 PM, Ren? Dudfield <@Rene_Dudfield> wrote:
hi,
this bug from last year seems related:
http://bugzilla.libsdl.org/show_bug.cgi?id=628
Added my note to that.
cheers,
On Wed, May 27, 2009 at 3:58 PM, Sam Lantinga wrote:
Can you report a bug in bugzilla?? http://bugzilla.libsdl.org/
Thanks!
–Sam
On Tue, May 26, 2009 at 10:24 PM, Ren? Dudfield <@Rene_Dudfield> wrote:
Hi,
it seems that SDL_VIDEO_WINDOW_POS doesn’t work on OSX.
If I move it off the x coordinate, then shows white screen on the left side of the window by the same amount.? This is with x=300, y=0 for example – there is white on the window for 300 pixels across.
Moving it on the y axis I get a bus error.
with last stable… SDL 1.2.13,?? OSX 10.5.7
cheers,
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
one last thing…
export SDL_VIDEO_WINDOW_POS=“0,0” works ok, since then the parent
window doesn’t need to be modified… as it starts off at 0,0 by
default.
cu,