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
10aa13a9
Commit
10aa13a9
authored
Dec 13, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Fix event coordinates mapping for the root window in the explorer process.
parent
ee44c7c0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
event.c
dlls/winex11.drv/event.c
+1
-0
mouse.c
dlls/winex11.drv/mouse.c
+5
-0
No files found.
dlls/winex11.drv/event.c
View file @
10aa13a9
...
...
@@ -788,6 +788,7 @@ static void X11DRV_Expose( HWND hwnd, XEvent *xev )
flags
|=
RDW_ALLCHILDREN
;
}
else
OffsetRect
(
&
rect
,
virtual_screen_rect
.
left
,
virtual_screen_rect
.
top
);
RedrawWindow
(
hwnd
,
&
rect
,
0
,
flags
);
}
...
...
dlls/winex11.drv/mouse.c
View file @
10aa13a9
...
...
@@ -239,6 +239,11 @@ static HWND update_mouse_state( HWND hwnd, Window window, int x, int y, unsigned
x
+=
data
->
whole_rect
.
left
-
data
->
client_rect
.
left
;
y
+=
data
->
whole_rect
.
top
-
data
->
client_rect
.
top
;
}
if
(
window
==
root_window
)
{
x
+=
virtual_screen_rect
.
left
;
y
+=
virtual_screen_rect
.
top
;
}
pt
->
x
=
x
;
pt
->
y
=
y
;
if
(
GetWindowLongW
(
data
->
hwnd
,
GWL_EXSTYLE
)
&
WS_EX_LAYOUTRTL
)
...
...
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