http://bugs.winehq.org/show_bug.cgi?id=11436
--- Comment #5 from Fábio Capela fabio.capela@yahoo.com 2008-04-11 23:27:45 --- Created an attachment (id=12081) --> (http://bugs.winehq.org/attachment.cgi?id=12081) New hack that should not break anything else
Another hack. This one first tries to share the context in the original order; if it can't because the destination context is already created, it inverts the original context with the destination and try again. Might not be the optimal solution, but it should work without breaking anything.