[maemo-commits] [maemo-commits] r19485 - in projects/haf/branches/libsdl1.2: . 117655/debian/patches
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Fri Oct 30 12:03:10 EET 2009
- Previous message: [maemo-commits] r19484 - projects/haf/tags/sapwood
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: aendrodi Date: 2009-10-30 12:02:22 +0200 (Fri, 30 Oct 2009) New Revision: 19485 Added: projects/haf/branches/libsdl1.2/117655/ projects/haf/branches/libsdl1.2/117655/debian/patches/340_fs_notor.diff Modified: projects/haf/branches/libsdl1.2/117655/debian/patches/series Log: bug branch, apply patch Copied: projects/haf/branches/libsdl1.2/117655 (from rev 19484, projects/haf/trunk/libsdl1.2) Added: projects/haf/branches/libsdl1.2/117655/debian/patches/340_fs_notor.diff =================================================================== --- projects/haf/trunk/libsdl1.2/debian/patches/340_fs_notor.diff 2009-10-29 12:35:43 UTC (rev 19484) +++ projects/haf/branches/libsdl1.2/117655/debian/patches/340_fs_notor.diff 2009-10-30 10:02:22 UTC (rev 19485) @@ -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/branches/libsdl1.2/117655/debian/patches/series =================================================================== --- projects/haf/trunk/libsdl1.2/debian/patches/series 2009-10-29 12:35:43 UTC (rev 19484) +++ projects/haf/branches/libsdl1.2/117655/debian/patches/series 2009-10-30 10:02:22 UTC (rev 19485) @@ -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] r19484 - projects/haf/tags/sapwood
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]