mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 05:40:59 +00:00
user32: Don't try to set the WS_EX_LAYOUTRTL flag on the desktop window.
This commit is contained in:
parent
4858c54a8e
commit
72533173d5
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue