How about a simple python shell code? import pygame import sys, os if sys.platform == 'win32': os.environ['SDL_VIDEO_WINDOW_POS'] = '3,23' pygame.display.set_mode((400,50), 16)
now, at this point, if I go: if sys.platform == 'win32': os.environ['SDL_VIDEO_WINDOW_POS'] = '3,23' pygame.display.set_mode((200,200), 16) ...the window's position remains at (400,50). On 6/29/07, Dave LeCompte (really) <[EMAIL PROTECTED]> wrote:
"Ian Mallett" <[EMAIL PROTECTED]> wrote: > It still doesn't work though- it works the first time, and subsequent > changes to the placement fail. Can you describe what the problem you're seeing is a little more? You're setting the initial position using the SDL environment variable method, and after the first time you run the script, the initial position isn't being set? Can you send a minimal piece of code that demonstrates the problem? Dave LeCompte