Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5594c4eb
Commit
5594c4eb
authored
Sep 27, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Mirror the window region for RTL windows.
parent
97611dca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
window.c
dlls/winex11.drv/window.c
+4
-2
No files found.
dlls/winex11.drv/window.c
View file @
5594c4eb
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment