Re: [dev] SDL fullscreen problems in dwm

2010-05-14 Thread pancake
Well .. It is possible to hackaround the event handler to manage this event. But surely will depend on app.. So.. Crappy On May 14, 2010, at 8:10 PM, Thomas Spurden wrote: On 14/05/10 18:02, pancake wrote: [panc...@dazo tmp]$ cat sdldwm.c /* * Copyright (C) 2010 * pancake * * $ gcc sdl

Re: [dev] SDL fullscreen problems in dwm

2010-05-14 Thread Thomas Spurden
On 14/05/10 18:02, pancake wrote: > > [panc...@dazo tmp]$ cat sdldwm.c > /* > * Copyright (C) 2010 > * pancake > * > * $ gcc sdldwm.c -shared -ldl -fPIC -o sdldwm.so > * $ LD_PRELOAD=./sdldwm.so programname > */ > #define _GNU_SOURCE > #include > > static void *(*svm)(int w, int h, int b

Re: [dev] SDL fullscreen problems in dwm

2010-05-14 Thread Anders Andersson
On Fri, May 14, 2010 at 7:15 PM, pancake wrote: > Many of them are using fixed resolution pixmaps, not vectors, so, to avoid > scaling or incorrect display they prefer to drop this possibility (ugly btw) Yeah, but they could still implement a scrolling view or similar. Making a game for a fixed r

Re: [dev] SDL fullscreen problems in dwm

2010-05-14 Thread pancake
Many of them are using fixed resolution pixmaps, not vectors, so, to avoid scaling or incorrect display they prefer to drop this possibility (ugly btw) On May 14, 2010, at 6:25 PM, Anders Andersson wrote: Literally non resizeable, the window cannot be resized. hm, I can open SDL windo

Re: [dev] SDL fullscreen problems in dwm

2010-05-14 Thread pancake
On Fri, 14 May 2010 16:50:53 - hessi...@hessiess.com wrote: > > On Fri, May 14, 2010 at 04:40:59PM -, hessi...@hessiess.com wrote: > >> Literally non resizeable, the window cannot be resized. > > hm, I can open SDL windows that are resizable easily enough, > > with... "SDL_RESIZABLE" > >

Re: [dev] SDL fullscreen problems in dwm

2010-05-14 Thread Anders Andersson
>>> Literally non resizeable, the window cannot be resized. >>  hm, I can open SDL windows that are resizable easily enough, >>  with... "SDL_RESIZABLE" > > Sure, but *NO ONE* uses that flag. Go download almost any game made with > SDL, its not resizeable. > Doesn't that mean that the games are ve

Re: [dev] SDL fullscreen problems in dwm

2010-05-14 Thread hessiess
> On Fri, May 14, 2010 at 04:40:59PM -, hessi...@hessiess.com wrote: >> Literally non resizeable, the window cannot be resized. > hm, I can open SDL windows that are resizable easily enough, > with... "SDL_RESIZABLE" > > Mate > Sure, but *NO ONE* uses that flag. Go download almost any game m

Re: [dev] SDL fullscreen problems in dwm

2010-05-14 Thread Mate Nagy
On Fri, May 14, 2010 at 04:40:59PM -, hessi...@hessiess.com wrote: > Literally non resizeable, the window cannot be resized. hm, I can open SDL windows that are resizable easily enough, with... "SDL_RESIZABLE" Mate

Re: [dev] SDL fullscreen problems in dwm

2010-05-14 Thread hessiess
> On 5/14/10, hessi...@hessiess.com wrote: >> Its because SDL is resolution dependent(non resizeable). > > what do you mean by non resizeable? > Literally non resizeable, the window cannot be resized.

Re: [dev] SDL fullscreen problems in dwm

2010-05-14 Thread Szabolcs Nagy
On 5/14/10, hessi...@hessiess.com wrote: > Its because SDL is resolution dependent(non resizeable). what do you mean by non resizeable?

Re: [dev] SDL fullscreen problems in dwm

2010-05-14 Thread hessiess
Its because SDL is resolution dependent(non resizeable). I wrote the Quad-Ren graphics engine, a resolution independent graphics engine to solve this problem. It was designed specifically to work with tiling WM's.

Re: [dev] SDL fullscreen problems in dwm

2010-05-07 Thread Jacob Todd
This is a known problem, see the BUGS file. pgp83Jjv9UzjJ.pgp Description: PGP signature

[dev] SDL fullscreen problems in dwm

2010-05-07 Thread Thomas Spurden
I have recently being playing a few games that use SDL to get a full-screen window. This causes some problems with dwm. These have been discussed before on the list, but have always assumed is was simply a problem with SDL assuming a reparenting WM. I came across a post on the awesome mailing li