Fullscreen in no-reparenting WMs

Hello,

There is a really famous bug when running SDL applications in fullscreen
mode on window manager that does not reparent windows.

When switching to the fullscreen mode the window manager gets completely
mangled by the application window which stays black and you can’t live
without killing X.

This is known on dwm, awesome, cwm, wmfs, wmii (maybe ?).

Is there any chance to be fixed in the future release?

Kind regards,

David.

Have you tried this with SDL 1.3? I think I tested this and fixed
some issues a few months ago.

The fixes for 1.3 couldn’t apply to 1.2 because of the differences in
window management.On Fri, Dec 24, 2010 at 10:08 AM, David Demelier <demelier.david at gmail.com> wrote:

Hello,

There is a really famous bug when running SDL applications in fullscreen
mode on window manager that does not reparent windows.

When switching to the fullscreen mode the window manager gets completely
mangled by the application window which stays black and you can’t live
without killing X.

This is known on dwm, awesome, cwm, wmfs, wmii (maybe ?).

Is there any chance to be fixed in the future release?

Kind regards,

David.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


? ? -Sam Lantinga, Founder and President, Galaxy Gameworks LLC

Hello Sam,

For the moment I can’t test, I don’t know what is happening to my
mercurial but it seems totally broken see:

markand at Melon ~ $ hg clone http://hg.libsdl.org/SDL
destination directory: SDL
requesting all changes
adding changesets
adding manifests
adding file changes
transaction abort!
rollback completed
** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.6.6 (r266:84292, Nov 28 2010, 20:54:31) [GCC 4.2.1 20070719
[FreeBSD]]
** Mercurial Distributed SCM (version 1.7.1)
** Extensions loaded:
Traceback (most recent call last):
File “/usr/local/bin/hg”, line 38, in
mercurial.dispatch.run()
File “/usr/local/lib/python2.6/site-packages/mercurial/dispatch.py”,
line 16, in run
sys.exit(dispatch(sys.argv[1:]))
File “/usr/local/lib/python2.6/site-packages/mercurial/dispatch.py”,
line 36, in dispatch
return _runcatch(u, args)
File “/usr/local/lib/python2.6/site-packages/mercurial/dispatch.py”,
line 58, in _runcatch
return _dispatch(ui, args)
File “/usr/local/lib/python2.6/site-packages/mercurial/dispatch.py”,
line 590, in _dispatch
cmdpats, cmdoptions)
File “/usr/local/lib/python2.6/site-packages/mercurial/dispatch.py”,
line 401, in runcommand
ret = _runcommand(ui, options, cmd, d)
File “/usr/local/lib/python2.6/site-packages/mercurial/dispatch.py”,
line 641, in _runcommand
return checkargs()
File “/usr/local/lib/python2.6/site-packages/mercurial/dispatch.py”,
line 595, in checkargs
return cmdfunc()
File “/usr/local/lib/python2.6/site-packages/mercurial/dispatch.py”,
line 588, in
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File “/usr/local/lib/python2.6/site-packages/mercurial/util.py”, line
427, in check
return func(*args, **kwargs)
File “/usr/local/lib/python2.6/site-packages/mercurial/commands.py”,
line 736, in clone
branch=opts.get(‘branch’))
File “/usr/local/lib/python2.6/site-packages/mercurial/hg.py”, line
337, in clone
dest_repo.clone(src_repo, heads=revs, stream=stream)
File “/usr/local/lib/python2.6/site-packages/mercurial/localrepo.py”,
line 1880, in clone
return self.pull(remote, heads)
File “/usr/local/lib/python2.6/site-packages/mercurial/localrepo.py”,
line 1289, in pull
return self.addchangegroup(cg, ‘pull’, remote.url(), lock=lock)
File “/usr/local/lib/python2.6/site-packages/mercurial/localrepo.py”,
line 1733, in addchangegroup
if fl.addgroup(source, revmap, trp) is None:
File “/usr/local/lib/python2.6/site-packages/mercurial/revlog.py”,
line 1381, in addgroup
p1, p2, (chainrev, delta), ifh, dfh)
File “/usr/local/lib/python2.6/site-packages/mercurial/revlog.py”,
line 1220, in _addrevision
cachedelta[1])
mpatch.mpatchError: patch cannot be decoded

Is there any snapshot that I could take until I can’t clone?

Kind regards,On 30/12/2010 08:32, Sam Lantinga wrote:

Have you tried this with SDL 1.3? I think I tested this and fixed
some issues a few months ago.

The fixes for 1.3 couldn’t apply to 1.2 because of the differences in
window management.


David Demelier

Have you tried this with SDL 1.3? I think I tested this and fixed
some issues a few months ago.

The fixes for 1.3 couldn’t apply to 1.2 because of the differences in
window management.

Hello,

There is a really famous bug when running SDL applications in fullscreen
mode on window manager that does not reparent windows.

When switching to the fullscreen mode the window manager gets completely
mangled by the application window which stays black and you can’t live
without killing X.

This is known on dwm, awesome, cwm, wmfs, wmii (maybe ?).

Is there any chance to be fixed in the future release?

Kind regards,

David.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

I found a snapshot at the download page, but the built could not finish :

libtool: compile: gcc -g -O3 -I./include -mmmx -msse -msse2
-fvisibility=hidden -I/usr/X11R6/include/ -I/usr/X11R6/include
-DHAVE_USBHID_H -DUSBHID_NEW -D_REENTRANT -D_THREAD_SAFE -MMD -MT
build/SDL_x11opengl.lo -c src/video/x11/SDL_x11opengl.c -fPIC -DPIC -o
build/.libs/SDL_x11opengl.o
src/video/x11/SDL_x11opengl.c:90: error: redefinition of typedef
’PFNGLXCREATECONTEXTATTRIBSARBPROC’
/usr/X11R6/include/GL/glxext.h:548: error: previous declaration of
’PFNGLXCREATECONTEXTATTRIBSARBPROC’ was here
gmake: *** [build/SDL_x11opengl.lo] Error 1

Cheers,On 30/12/2010 08:32, Sam Lantinga wrote:

On Fri, Dec 24, 2010 at 10:08 AM, David Demelier <@David_Demelier> wrote:


David Demelier

This is fixed in the latest snapshot:
http://www.libsdl.org/tmp/SDL-1.3.zip

Thanks!On Thu, Dec 30, 2010 at 2:21 AM, David Demelier <demelier.david at gmail.com>wrote:

On 30/12/2010 08:32, Sam Lantinga wrote:

Have you tried this with SDL 1.3? I think I tested this and fixed
some issues a few months ago.

The fixes for 1.3 couldn’t apply to 1.2 because of the differences in
window management.

On Fri, Dec 24, 2010 at 10:08 AM, David Demelier <demelier.david at gmail.com> wrote:

Hello,

There is a really famous bug when running SDL applications in fullscreen
mode on window manager that does not reparent windows.

When switching to the fullscreen mode the window manager gets completely
mangled by the application window which stays black and you can’t live
without killing X.

This is known on dwm, awesome, cwm, wmfs, wmii (maybe ?).

Is there any chance to be fixed in the future release?

Kind regards,

David.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

I found a snapshot at the download page, but the built could not finish :

libtool: compile: gcc -g -O3 -I./include -mmmx -msse -msse2
-fvisibility=hidden -I/usr/X11R6/include/ -I/usr/X11R6/include
-DHAVE_USBHID_H -DUSBHID_NEW -D_REENTRANT -D_THREAD_SAFE -MMD -MT
build/SDL_x11opengl.lo -c src/video/x11/SDL_x11opengl.c -fPIC -DPIC -o
build/.libs/SDL_x11opengl.o
src/video/x11/SDL_x11opengl.c:90: error: redefinition of typedef
’PFNGLXCREATECONTEXTATTRIBSARBPROC’
/usr/X11R6/include/GL/glxext.h:548: error: previous declaration of
’PFNGLXCREATECONTEXTATTRIBSARBPROC’ was here
gmake: *** [build/SDL_x11opengl.lo] Error 1

Cheers,


David Demelier


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC