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
fcd68597
Commit
fcd68597
authored
Oct 07, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Valid rects are in parent coordinates.
parent
d39d2da0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
protocol.def
server/protocol.def
+1
-1
window.c
server/window.c
+3
-3
No files found.
server/protocol.def
View file @
fcd68597
...
...
@@ -2336,7 +2336,7 @@ enum message_type
user_handle_t previous; /* previous window in Z order */
rectangle_t window; /* window rectangle (in parent coords) */
rectangle_t client; /* client rectangle (in parent coords) */
VARARG(valid,rectangles); /* valid rectangles from WM_NCCALCSIZE (in
cli
ent coords) */
VARARG(valid,rectangles); /* valid rectangles from WM_NCCALCSIZE (in
par
ent coords) */
@REPLY
unsigned int new_style; /* new window style */
unsigned int new_ex_style; /* new window extended style */
...
...
server/window.c
View file @
fcd68597
...
...
@@ -2137,10 +2137,10 @@ DECL_HANDLER(set_window_pos)
{
rectangle_t
valid_rects
[
2
];
memcpy
(
valid_rects
,
(
const
rectangle_t
*
)
get_req_data
()
+
1
,
2
*
sizeof
(
rectangle_t
)
);
if
(
win
->
ex_style
&
WS_EX_LAYOUTRTL
)
if
(
win
->
parent
&&
win
->
parent
->
ex_style
&
WS_EX_LAYOUTRTL
)
{
mirror_rect
(
&
win
->
client_rect
,
&
valid_rects
[
0
]
);
mirror_rect
(
&
win
->
client_rect
,
&
valid_rects
[
1
]
);
mirror_rect
(
&
win
->
parent
->
client_rect
,
&
valid_rects
[
0
]
);
mirror_rect
(
&
win
->
parent
->
client_rect
,
&
valid_rects
[
1
]
);
}
set_window_pos
(
win
,
previous
,
flags
,
&
window_rect
,
&
client_rect
,
&
visible_rect
,
valid_rects
);
}
...
...
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