[maemo-commits] [maemo-commits] r19492 - in projects/haf/trunk/libsdl1.2/debian: . patches
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Wed Nov 11 14:00:16 EET 2009
- Previous message: [maemo-commits] r19491 - projects/haf/tags/pango1.0
- Next message: [maemo-commits] r19493 - projects/haf/tags/libsdl1.2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: aendrodi Date: 2009-11-11 13:59:53 +0200 (Wed, 11 Nov 2009) New Revision: 19492 Added: projects/haf/trunk/libsdl1.2/debian/patches/340_fs_notor.diff Modified: projects/haf/trunk/libsdl1.2/debian/changelog projects/haf/trunk/libsdl1.2/debian/patches/series Log: debian/patches/340_fs_notor.diff added Modified: projects/haf/trunk/libsdl1.2/debian/changelog =================================================================== --- projects/haf/trunk/libsdl1.2/debian/changelog 2009-11-10 14:50:06 UTC (rev 19491) +++ projects/haf/trunk/libsdl1.2/debian/changelog 2009-11-11 11:59:53 UTC (rev 19492) @@ -1,3 +1,11 @@ +libsdl1.2 (1:1.2.13-2maemo6) unstable; urgency=low + + * debian/patches/340_fs_notor.diff + + Added (Adam Endrodi) + + Fixes: NB#130754 (Block, game goes to Pause mode after using Fast Drop, tapping top left corner in Marbles exits the game playback) + + -- Adam Endrodi <adam.endrodi at blumsoft.eu> Wed, 11 Nov 2009 13:53:24 +0200 + libsdl1.2 (1:1.2.13-2maemo5) unstable; urgency=low * debian/patches/330_pulseaudio_no_tease.diff Added: projects/haf/trunk/libsdl1.2/debian/patches/340_fs_notor.diff =================================================================== --- projects/haf/trunk/libsdl1.2/debian/patches/340_fs_notor.diff 2009-11-10 14:50:06 UTC (rev 19491) +++ projects/haf/trunk/libsdl1.2/debian/patches/340_fs_notor.diff 2009-11-11 11:59:53 UTC (rev 19492) @@ -0,0 +1,31 @@ + +Make the FSWindow fullscreen, not override-redirected window. + +diff --exclude .svn -ru sdl.faszom/src/video/x11/SDL_x11video.c sdl/src/video/x11/SDL_x11video.c +--- sdl.faszom/src/video/x11/SDL_x11video.c 2009-06-03 18:06:49.000000000 +0300 ++++ sdl/src/video/x11/SDL_x11video.c 2009-06-03 18:02:11.000000000 +0300 +@@ -350,8 +350,7 @@ + FSwindow = XCreateWindow(SDL_Display, SDL_Root, + x, y, 32, 32, 0, + this->hidden->depth, InputOutput, SDL_Visual, +- CWOverrideRedirect | CWBackPixel | CWBorderPixel +- | CWColormap, ++ CWBackPixel | CWBorderPixel | CWColormap, + &xattr); + + XSelectInput(SDL_Display, FSwindow, StructureNotifyMask); +@@ -373,6 +372,14 @@ + XSendEvent(SDL_Display, SDL_Root, False, mask, &ev); + } + ++ /* Tell KDE^H^H^Hhildon-cr^H^H^H-desktop to treat the window fullscreen */ ++ { ++ Atom a = XInternAtom(SDL_Display, "_NET_WM_STATE_FULLSCREEN", False); ++ XChangeProperty(SDL_Display, FSwindow, ++ XInternAtom(SDL_Display, "_NET_WM_STATE", False), ++ XA_ATOM, 32, PropModePrepend, (void*)&a, 1); ++ } ++ + hints = NULL; + if(WMwindow) { + /* All window attributes must survive the recreation */ Modified: projects/haf/trunk/libsdl1.2/debian/patches/series =================================================================== --- projects/haf/trunk/libsdl1.2/debian/patches/series 2009-11-10 14:50:06 UTC (rev 19491) +++ projects/haf/trunk/libsdl1.2/debian/patches/series 2009-11-11 11:59:53 UTC (rev 19492) @@ -23,3 +23,4 @@ 310_fix_marbles.diff 320_no_fullscreen_grab.diff 330_pulseaudio_tease.diff +340_fs_notor.diff
- Previous message: [maemo-commits] r19491 - projects/haf/tags/pango1.0
- Next message: [maemo-commits] r19493 - projects/haf/tags/libsdl1.2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]