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
9d1686c8
Commit
9d1686c8
authored
Dec 01, 2006
by
Tomas Carnecky
Committed by
Alexandre Julliard
Dec 01, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Don't update the key state table in mouse related functions.
parent
dc0afe42
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
mouse.c
dlls/winex11.drv/mouse.c
+0
-14
No files found.
dlls/winex11.drv/mouse.c
View file @
9d1686c8
...
...
@@ -102,18 +102,6 @@ static inline void update_button_state( unsigned int state )
/***********************************************************************
* update_key_state
*
* Update the key state with what X provides us
*/
static
inline
void
update_key_state
(
unsigned
int
state
)
{
key_state_table
[
VK_SHIFT
]
=
(
state
&
ShiftMask
?
0x80
:
0
);
key_state_table
[
VK_CONTROL
]
=
(
state
&
ControlMask
?
0x80
:
0
);
}
/***********************************************************************
* update_mouse_state
*
* Update the various window states on a mouse event.
...
...
@@ -128,7 +116,6 @@ static void update_mouse_state( HWND hwnd, Window window, int x, int y, unsigned
y
+=
virtual_screen_rect
.
top
;
}
get_coords
(
hwnd
,
x
,
y
,
pt
);
update_key_state
(
state
);
/* update the cursor */
...
...
@@ -718,7 +705,6 @@ BOOL X11DRV_GetCursorPos(LPPOINT pos)
if
(
XQueryPointer
(
display
,
root_window
,
&
root
,
&
child
,
&
rootX
,
&
rootY
,
&
winX
,
&
winY
,
&
xstate
))
{
update_key_state
(
xstate
);
update_button_state
(
xstate
);
winX
+=
virtual_screen_rect
.
left
;
winY
+=
virtual_screen_rect
.
top
;
...
...
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