Perhaps this is naive, but why does MPlayer need to detect every single WM out there for fullscreen to work? SDL's fullscreen seems to work with almost anything from what I understand, so why not just borrow some code from SDL or immitate the techniques SDL uses? Rich