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
29675992
Commit
29675992
authored
Aug 30, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Don't select for mouse events on the client window.
parent
e280527f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
mouse.c
dlls/winex11.drv/mouse.c
+1
-1
window.c
dlls/winex11.drv/window.c
+2
-3
No files found.
dlls/winex11.drv/mouse.c
View file @
29675992
...
...
@@ -1470,7 +1470,7 @@ void X11DRV_EnterNotify( HWND hwnd, XEvent *xev )
TRACE
(
"hwnd %p/%lx pos %d,%d detail %d
\n
"
,
hwnd
,
event
->
window
,
event
->
x
,
event
->
y
,
event
->
detail
);
if
(
event
->
detail
==
NotifyVirtual
||
event
->
detail
==
NotifyNonlinearVirtual
)
return
;
if
(
event
->
detail
==
NotifyVirtual
)
return
;
if
(
event
->
window
==
x11drv_thread_data
()
->
grab_window
)
return
;
/* simulate a mouse motion event */
...
...
dlls/winex11.drv/window.c
View file @
29675992
...
...
@@ -332,8 +332,7 @@ static Window create_client_window( Display *display, struct x11drv_win_data *da
attr
.
bit_gravity
=
NorthWestGravity
;
attr
.
win_gravity
=
NorthWestGravity
;
attr
.
backing_store
=
NotUseful
;
attr
.
event_mask
=
(
ExposureMask
|
PointerMotionMask
|
ButtonPressMask
|
ButtonReleaseMask
|
EnterWindowMask
);
attr
.
event_mask
=
ExposureMask
;
mask
=
CWEventMask
|
CWBitGravity
|
CWWinGravity
|
CWBackingStore
;
if
((
cx
=
data
->
client_rect
.
right
-
data
->
client_rect
.
left
)
<=
0
)
cx
=
1
;
...
...
@@ -2286,7 +2285,7 @@ void CDECL X11DRV_SetCapture( HWND hwnd, UINT flags )
if
(
hwnd
)
{
Window
grab_win
=
X11DRV_get_
client
_window
(
GetAncestor
(
hwnd
,
GA_ROOT
)
);
Window
grab_win
=
X11DRV_get_
whole
_window
(
GetAncestor
(
hwnd
,
GA_ROOT
)
);
if
(
!
grab_win
)
return
;
XFlush
(
gdi_display
);
...
...
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