"Ilya Shpigor" shpigor@etersoft.ru wrote:
The wine have problem with the Ctrl+Shift+Tab switching between the MDI windows (switch only neghboring windows). I suppose, that reason of this is using the WIN_ListChildren in the MDI_GetWindow function. WIN_ListChildren return the child list with the variable sequence of elements. This sequence depends on the current active window. But in some cases we need this variable sequence. For example to determine the focused window after destroy other window. This patch add new parameter in MDI_GetWindow to check that child list are needed. There is the clientInfo->child using instead the WIN_ListChildren. Also some necessary changes in processing this list are added.
A usual aproach to fixing Wine bugs is to create a test case to demonstrate the problem first, have it committed, and only then start making pass it. So far it's not clear (at least to me) what you are trying to fix.