http://bugs.winehq.org/show_bug.cgi?id=2003
Summary: WindowFromPoint Returns Wrong Window Product: Wine Version: 20040121 Platform: PC OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-user AssignedTo: wine-bugs@winehq.org ReportedBy: R.J.Shearman@warwick.ac.uk
WindowFromPoint knows nothing about the Z-order of the windows in Wine and so frequently returns the a background window rather than the foreground window. This manifests itself as toolbar focus issues in Microsoft Office 2000 while having an email window open on top of the main window and incorrect window selection in the Spy++ utility. Wine also has no concept of desktops and so cannot distinguish the window coordinates of a window on one desktop to a window in the same position on another desktop. Again this causes the same issues as above. As X11DRV appears to not export any Z-order info it seems like this can only be fixed by The Great Window Management Rewrite(TM).