On Thu, Jul 05, 2012 at 12:35:36AM +0200, Eckehard Berns wrote: > > I don't know what fceux is, [...] > > Fceux is a NES emulator. > > > I don't understand why exactly fceux creates this window, though. > > Ok, I'm dump. I tried three times to describe what happens here without > boring everyone to death - and I failed. So I deleted everything I > wrote. The gist of it is that fceux needs to use some hacks to get the > best results with SDL for its use case and that prompts this new empty > window (created by SDL). As I said in my other mail I don't really know > which part to fix - fceux, SDL or dwm. If someone wants to look into > this I can provide some pointers (and some boring as hell explanation). >
Idea: match a rule against fceux. implement a new kind of rule for floating windows along with that and "squeeze" it to the background. there was a fix against floating windows landing underneath fullscreen or stacked windows on this list that made it into mainline dwm, where you will find out about xlib's z-indexing functionality, which will point you the way by saving you a lot of learning. another idea: there are at least 20 emulators that are capable of emulating nes. try to find a sane one among these. hacker's idea: fix fceux; obviously it's committing severe crimes against x11. cheers! mar77i