Commit 5594c4eb authored by Alexandre Julliard's avatar Alexandre Julliard

winex11: Mirror the window region for RTL windows.

parent 97611dca
...@@ -474,8 +474,10 @@ static void sync_window_region( Display *display, struct x11drv_win_data *data, ...@@ -474,8 +474,10 @@ static void sync_window_region( Display *display, struct x11drv_win_data *data,
} }
else else
{ {
RGNDATA *pRegionData = X11DRV_GetRegionData( hrgn, 0 ); RGNDATA *pRegionData;
if (pRegionData)
if (GetWindowLongW( data->hwnd, GWL_EXSTYLE ) & WS_EX_LAYOUTRTL) MirrorRgn( data->hwnd, hrgn );
if ((pRegionData = X11DRV_GetRegionData( hrgn, 0 )))
{ {
wine_tsx11_lock(); wine_tsx11_lock();
XShapeCombineRectangles( display, data->whole_window, ShapeBounding, XShapeCombineRectangles( display, data->whole_window, ShapeBounding,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment