1. 16 Jun, 2023 1 commit
  2. 13 Jun, 2023 1 commit
  3. 07 Jun, 2023 2 commits
  4. 30 May, 2023 1 commit
  5. 04 Nov, 2022 1 commit
  6. 09 Feb, 2022 1 commit
  7. 21 Apr, 2021 1 commit
    • Rémi Bernon's avatar
      server: Track desktop users per thread instead of per process. · 769a2616
      Rémi Bernon authored
      As some thread may use a different desktop from their process.
      
      This fixes the user32 win tests, which leaks a desktop that never gets
      closed. The test_shell_window test creates a new desktop, which spawns
      explorer.exe process, incrementing the desktop user count to 1, then
      associates the desktop to a thread, which closes it on exit.
      
      Never the user count is incremented to 2, and closing the thread desktop
      doesn't either check whether the desktop process should be terminated.
      
      Reversely, it is possible to create a desktop, associate it with a
      thread /and/ a process, and this time the desktop process would be
      terminated when the process exits, although the thread may still be
      using it.
      
      Tracking the users per thread is more robust and fixes the problem as
      set_thread_desktop increments the desktop user count, and thread exit
      decrements it.
      Signed-off-by: 's avatarRémi Bernon <rbernon@codeweavers.com>
      Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
      769a2616
  8. 13 Dec, 2019 1 commit
  9. 24 Aug, 2018 2 commits
  10. 05 Jul, 2018 1 commit
  11. 30 Aug, 2016 2 commits
  12. 23 Aug, 2016 1 commit
  13. 20 Jan, 2016 1 commit
  14. 17 Oct, 2014 1 commit
  15. 27 Mar, 2014 1 commit
  16. 21 Jun, 2011 1 commit
  17. 06 Apr, 2011 1 commit
  18. 05 Apr, 2011 2 commits
  19. 31 Mar, 2011 2 commits
  20. 02 Mar, 2011 1 commit
  21. 25 Feb, 2011 4 commits
  22. 27 Sep, 2010 1 commit
  23. 11 Jun, 2010 1 commit
  24. 15 Oct, 2009 1 commit
  25. 12 Oct, 2009 1 commit
  26. 29 Dec, 2008 3 commits
  27. 10 Dec, 2008 1 commit
  28. 25 Jun, 2008 1 commit
  29. 19 Mar, 2008 1 commit
  30. 26 Jul, 2006 1 commit