Hello everyone. I’m having a really bothering mouse flickering problem in a
Mandrake Linux 9.1 system with XFree 4.3 (mandrake patch 5) and a S3 Savage
card (more exactly, the hardware is a Toshiba 4280 Satellite Pro laptop).
The following example causes this problem, it doesn’t mind whether I use SW
or HW surfaces, or any bpp parameter, or fullscreen or not:
#include <stdio.h>
#include “SDL/SDL.h”
int main(void) {
int end = 0;
SDL_Surface * screen;
SDL_Event event;
SDL_Init(SDL_INIT_VIDEO);
screen = SDL_SetVideoMode(640, 480, 32, SDL_SWSURFACE|SDL_ANYFORMAT);
SDL_ShowCursor(SDL_ENABLE);
while(!end) {
if(SDL_PollEvent(NULL)) {
SDL_PollEvent( &event );
switch( event.type ){
case SDL_KEYDOWN:
printf( "Exiting...\n" );
end = 1;
break;
}
}
SDL_Flip(screen);
}
SDL_Quit();
return 0;
}
This program runs fine under Windows 2000 in the same laptop, and under a
Linux system with a nVidia card.
This problem is evidently different from the well-known
SDL_FULLSCREEN|SDL_HWSURFACE issue, so… is there any solution out there?
(apart from draw the cursor by myself, of course).
Regards--
Pablo Brasero
http://free.pages.at/pablobm
mailto:pablo.brasero at hispalinux.es
jabber:otnirebal at jabber.sk
Usuario registrado de Linux n?mero 286.361