Revert SC_CLOSE change, this is causing deadlocks.

diff --git a/dlls/x11drv/event.c b/dlls/x11drv/event.c
index 95cc033..15361ec 100644
--- a/dlls/x11drv/event.c
+++ b/dlls/x11drv/event.c
@@ -445,7 +445,7 @@
          * and we are in managed mode. This is to disallow applications from
          * being closed by the window manager while in a modal state.
          */
-        if (IsWindowEnabled(hwnd)) SendMessageW( hwnd, WM_SYSCOMMAND, SC_CLOSE, 0 );
+        if (IsWindowEnabled(hwnd)) PostMessageW( hwnd, WM_SYSCOMMAND, SC_CLOSE, 0 );
     }
     else if (protocol == x11drv_atom(WM_TAKE_FOCUS))
     {