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
d39d2da0
Commit
d39d2da0
authored
Oct 07, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Mirror the client rectangle if necessary for update_window_zorder.
parent
512e6cec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
event.c
dlls/winex11.drv/event.c
+3
-0
mouse.c
dlls/winex11.drv/mouse.c
+9
-4
No files found.
dlls/winex11.drv/event.c
View file @
d39d2da0
...
...
@@ -744,6 +744,9 @@ static void X11DRV_Expose( HWND hwnd, XEvent *xev )
if
(
event
->
window
!=
root_window
)
{
if
(
GetWindowLongW
(
data
->
hwnd
,
GWL_EXSTYLE
)
&
WS_EX_LAYOUTRTL
)
mirror_rect
(
&
data
->
client_rect
,
&
rect
);
SERVER_START_REQ
(
update_window_zorder
)
{
req
->
window
=
wine_server_user_handle
(
hwnd
);
...
...
dlls/winex11.drv/mouse.c
View file @
d39d2da0
...
...
@@ -238,13 +238,18 @@ static void update_mouse_state( HWND hwnd, Window window, int x, int y, unsigned
/* ignore event if a button is pressed, since the mouse is then grabbed too */
!
(
state
&
(
Button1Mask
|
Button2Mask
|
Button3Mask
|
Button4Mask
|
Button5Mask
|
Button6Mask
|
Button7Mask
)))
{
RECT
rect
;
SetRect
(
&
rect
,
x
,
y
,
x
+
1
,
y
+
1
);
if
(
GetWindowLongW
(
data
->
hwnd
,
GWL_EXSTYLE
)
&
WS_EX_LAYOUTRTL
)
mirror_rect
(
&
data
->
client_rect
,
&
rect
);
SERVER_START_REQ
(
update_window_zorder
)
{
req
->
window
=
wine_server_user_handle
(
hwnd
);
req
->
rect
.
left
=
x
;
req
->
rect
.
top
=
y
;
req
->
rect
.
right
=
x
+
1
;
req
->
rect
.
bottom
=
y
+
1
;
req
->
rect
.
left
=
rect
.
left
;
req
->
rect
.
top
=
rect
.
top
;
req
->
rect
.
right
=
rect
.
right
;
req
->
rect
.
bottom
=
rect
.
bottom
;
wine_server_call
(
req
);
}
SERVER_END_REQ
;
...
...
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