If AJ removed it, it wouldnt have been just a simple bug that caused problems, it would have had to be something either about the way Windows' windows work vx X11's windows, or maybe the way it was implemented as a whole was just wrong and so therefore it caused some problems. If it was the latter though, I would think that AJ would have just written the same 1:1 mapping with his own code from scratch, so it is probably just that the 2 windows were too incompatible to properly (without problems) do 1:1.
On 5/10/06, Marcin Kardas marcin.kardas@gmail.com wrote:
2006/5/7, Marcin Kardas marcin.kardas@gmail.com:
Hi, I'm participate in Google summer of code and I'm going to send application with my own idea. I would like to fix popular wine bug - http://bugs.winehq.org/show_bug.cgi?id=2398. On http://wiki.winehq.org/OpenGL there are some ideas how to do this and I think that this one with glViewport and glScissor is the best one. I've made some test and it should work, but may be it will cause another problems to solve, for example conecting X graphic context with GLContext. Maybe I will have to rewritte wine graphics function to use only OpenGL (or may be I will found another way). What do you think about it?
Cheers, Marcin.
On http://wiki.winehq.org/OpenGL there is written, that someone has tried to fix this bug like this - map Windows' window with X window one to one (it was my first idea). But there is also written, that
" having a Win32 window <=> X11 window one to one mapping is not feasible (it was done once but Alexandre removed it as part of the window management rewrite as it lead to some problems in applications)".
Does anybody know what type of problem it was - may be unfortunately programmer make another bug in code while solving this one??