wok view libsdl/stuff/sdl-1.2.14-fix-disappearing-cursor.patch @ rev 18320

btrfs-progs, gcc49-lib-base: typo in PROVIDE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 30 11:20:28 2015 +0200 (2015-08-30)
parents
children
line source
1 Index: SDL-1.2.14/src/video/x11/SDL_x11events.c
2 ===================================================================
3 --- SDL-1.2.14.orig/src/video/x11/SDL_x11events.c 2010-04-30 09:16:35.000000000 -0400
4 +++ SDL-1.2.14/src/video/x11/SDL_x11events.c 2010-04-30 09:16:35.000000000 -0400
5 @@ -444,8 +444,10 @@
6 if ( xevent.xcrossing.mode == NotifyUngrab )
7 printf("Mode: NotifyUngrab\n");
8 #endif
9 - if ( xevent.xcrossing.detail != NotifyInferior ) {
10 - if ( this->input_grab == SDL_GRAB_OFF ) {
11 + if ( (xevent.xcrossing.mode != NotifyGrab) &&
12 + (xevent.xcrossing.mode != NotifyUngrab) &&
13 + (xevent.xcrossing.detail != NotifyInferior) ) {
14 + if ( this->input_grab == SDL_GRAB_OFF ) {
15 posted = SDL_PrivateAppActive(0, SDL_APPMOUSEFOCUS);
16 } else {
17 posted = SDL_PrivateMouseMotion(0, 0,