mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 588735 - Mirror glass caption buttons for rtl windows. r=roc, a=blocking-betaN.
This commit is contained in:
parent
ecee39e261
commit
101ee0e330
@ -596,6 +596,11 @@ nsWindow::Create(nsIWidget *aParent,
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
if (mIsRTL && nsUXThemeData::dwmSetWindowAttributePtr) {
|
||||
DWORD dwAttribute = TRUE;
|
||||
nsUXThemeData::dwmSetWindowAttributePtr(mWnd, DWMWA_NONCLIENT_RTL_LAYOUT, &dwAttribute, sizeof dwAttribute);
|
||||
}
|
||||
|
||||
if (nsWindow::sTrackPointHack &&
|
||||
mWindowType != eWindowType_plugin &&
|
||||
mWindowType != eWindowType_invisible) {
|
||||
|
Loading…
Reference in New Issue
Block a user