http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
536a569
)
Revert SC_CLOSE change, this is causing deadlocks.
author
Alexandre Julliard
<julliard@winehq.org>
Wed, 23 Feb 2005 21:47:32 +0000
(21:47 +0000)
committer
Alexandre Julliard
<julliard@winehq.org>
Wed, 23 Feb 2005 21:47:32 +0000
(21:47 +0000)
dlls/x11drv/event.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/x11drv/event.c
b/dlls/x11drv/event.c
index 95cc0339c5da3f84d1e23e02cc48858ff9a77151..15361ecc2b9a8770494b30adb7248e03d59d915b 100644
(file)
--- a/
dlls/x11drv/event.c
+++ b/
dlls/x11drv/event.c
@@
-445,7
+445,7
@@
static void handle_wm_protocols_message( HWND hwnd, XClientMessageEvent *event )
* 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))
Send
MessageW( hwnd, WM_SYSCOMMAND, SC_CLOSE, 0 );
+ if (IsWindowEnabled(hwnd))
Post
MessageW( hwnd, WM_SYSCOMMAND, SC_CLOSE, 0 );
}
else if (protocol == x11drv_atom(WM_TAKE_FOCUS))
{