Module: wine Branch: master Commit: 72533173d51bf7d27d60f9c80760f17f3afe3c11 URL: http://source.winehq.org/git/wine.git/?a=commit;h=72533173d51bf7d27d60f9c807...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Sep 8 13:19:17 2010 +0200
user32: Don't try to set the WS_EX_LAYOUTRTL flag on the desktop window.
---
dlls/user32/win.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/user32/win.c b/dlls/user32/win.c index f5e9064..63f6689 100644 --- a/dlls/user32/win.c +++ b/dlls/user32/win.c @@ -1233,8 +1233,10 @@ HWND WIN_CreateWindowEx( CREATESTRUCTW *cs, LPCWSTR className, HINSTANCE module, /* are we creating the desktop or HWND_MESSAGE parent itself? */ if (className != (LPCWSTR)DESKTOP_CLASS_ATOM && (IS_INTRESOURCE(className) || strcmpiW( className, messageW ))) + { parent = GetDesktopWindow(); - if (process_layout & LAYOUT_RTL) cs->dwExStyle |= WS_EX_LAYOUTRTL; + if (process_layout & LAYOUT_RTL) cs->dwExStyle |= WS_EX_LAYOUTRTL; + } }
WIN_FixCoordinates(cs, &sw); /* fix default coordinates */