http://bugs.winehq.org/show_bug.cgi?id=19376
--- Comment #4 from Henri Verbeet hverbeet@gmail.com 2009-07-19 16:16:06 --- (In reply to comment #1)
If a user wishes to disable 3d compositing with a shell script, there's nothing stopping them from doing so. Wine, however, has no business doing this for users.
Not entirely, there's DwmEnableComposition() and DwmIsCompositionEnabled() in dwmapi. I think it would make sense for Wine to at least properly implement those.
As for actually disabling compositing for D3D applications, I'm not sure how this is handled on Windows for pre-Vista applications, but applications that are aware of it usually disable it themselves.