https://bugs.winehq.org/show_bug.cgi?id=43577
--- Comment #8 from Zebediah Figura z.figura12@gmail.com --- (In reply to Fabian Maurer from comment #7)
Created attachment 59001 [details] Allow activating desktop only when clicked directly
It does seem like useful behavior though, can't we get both to work?
The issue seems to be that some toplevel windows are are mistakenly labeled child, so the desktop window gets activated when actually no window should be activated.
I don't think it's a mistake—the application is requesting SetParent(...,NULL), and testing on Windows shows that a child window thus affected retains its WS_CHILD status.