wok-next annotate libsdl/stuff/sdl-1.2.14-fix-disappearing-cursor.patch @ rev 13591
move from undigest: 0install adminer blktrace busybox-boot blktrace codiad davmail e4rat fbff flashrom fsthost get-softmodem-driver lessfs libmikmod libmikmod-dev lvmts mikmod navit phpeasyvcs puppet qtractor splashutils systemd tokyocabinet tokyocabinet-dev vmware-view-open-client wine-rt-dev xflux
| author | Pascal Bellard <pascal.bellard@slitaz.org> |
|---|---|
| date | Thu Nov 08 09:35:38 2012 +0100 (2012-11-08) |
| parents | |
| children |
| rev | line source |
|---|---|
| slaxemulator@8513 | 1 Index: SDL-1.2.14/src/video/x11/SDL_x11events.c |
| slaxemulator@8513 | 2 =================================================================== |
| slaxemulator@8513 | 3 --- SDL-1.2.14.orig/src/video/x11/SDL_x11events.c 2010-04-30 09:16:35.000000000 -0400 |
| slaxemulator@8513 | 4 +++ SDL-1.2.14/src/video/x11/SDL_x11events.c 2010-04-30 09:16:35.000000000 -0400 |
| slaxemulator@8513 | 5 @@ -444,8 +444,10 @@ |
| slaxemulator@8513 | 6 if ( xevent.xcrossing.mode == NotifyUngrab ) |
| slaxemulator@8513 | 7 printf("Mode: NotifyUngrab\n"); |
| slaxemulator@8513 | 8 #endif |
| slaxemulator@8513 | 9 - if ( xevent.xcrossing.detail != NotifyInferior ) { |
| slaxemulator@8513 | 10 - if ( this->input_grab == SDL_GRAB_OFF ) { |
| slaxemulator@8513 | 11 + if ( (xevent.xcrossing.mode != NotifyGrab) && |
| slaxemulator@8513 | 12 + (xevent.xcrossing.mode != NotifyUngrab) && |
| slaxemulator@8513 | 13 + (xevent.xcrossing.detail != NotifyInferior) ) { |
| slaxemulator@8513 | 14 + if ( this->input_grab == SDL_GRAB_OFF ) { |
| slaxemulator@8513 | 15 posted = SDL_PrivateAppActive(0, SDL_APPMOUSEFOCUS); |
| slaxemulator@8513 | 16 } else { |
| slaxemulator@8513 | 17 posted = SDL_PrivateMouseMotion(0, 0, |