[PATCH 4/6] user32: Partially implement SwitchDesktop.

Qian Hong qhong at codeweavers.com
Tue Oct 22 14:49:07 CDT 2013


Hello,

What has tested:
- The Wine test suite itself.
- Real world app like QQ
- Cross processes tests which is cumbersome to integrate to the Wine 
test suite:
   - Suppose process A creates desktop d1, proccess B calls 
SwitchDesktop and switch to d1, and process A exits, at this time d1 
should not be destroyed. (exactly like Windows does)
   - If someone call SwitchDesktop again, switching to a desktop other 
than d1 so that d1 is not the input desktop anymore, and no other 
process using d1, d1 should be destroyed. (exactly like Windows does)
   - When the last process other than explorer.exe exits, the current 
input desktop should be destroyed, (exactly like Windows does). All 
explorer.exe should exit at this time. (This is not exactly the same as 
Windows does, on Windows explorer.exe never exit automatically, I just 
follow Wine's current behaviors)
   - Other kinds of cross processes tests...

Note:
- After running the Wine winstation tests, explorer.exe doesn't quit, 
this is not related to this seriers of patches, it is a seperate bug, 
I'll dig deeper into it later.

Any review / comment is great appricated!

---
  dlls/user32/tests/winstation.c |    3 ---
  dlls/user32/win.c              |   12 ------------
  dlls/user32/winstation.c       |   21 +++++++++++++++++++++
  3 files changed, 21 insertions(+), 15 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-user32-Partially-implement-SwitchDesktop.txt
Type: text/x-patch
Size: 2513 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20131023/0fd84ba3/attachment.bin>


More information about the wine-patches mailing list