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
6c1d3864
Commit
6c1d3864
authored
Dec 30, 2007
by
Jeremy White
Committed by
Alexandre Julliard
Dec 31, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintab32: Remove the unused and clearly broken FindOpenContext function.
It's clear that someone left it in by accident; the TABLET_FindOpenContext is its clear successor.
parent
ca89d7e8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
16 deletions
+0
-16
context.c
dlls/wintab32/context.c
+0
-15
wintab_internal.h
dlls/wintab32/wintab_internal.h
+0
-1
No files found.
dlls/wintab32/context.c
View file @
6c1d3864
...
...
@@ -166,21 +166,6 @@ static inline DWORD ScaleForContext(DWORD In, DWORD InOrg, DWORD InExt, DWORD
return
((
abs
(
InExt
)
-
(
In
-
InOrg
))
*
abs
(
OutExt
)
/
abs
(
InExt
))
+
OutOrg
;
}
LPOPENCONTEXT
FindOpenContext
(
HWND
hwnd
)
{
LPOPENCONTEXT
ptr
;
EnterCriticalSection
(
&
csTablet
);
ptr
=
gOpenContexts
;
while
(
ptr
)
{
TRACE
(
"Trying Context %p (%p %p)
\n
"
,
ptr
->
handle
,
hwnd
,
ptr
->
hwndOwner
);
if
(
ptr
->
hwndOwner
==
hwnd
)
break
;
}
LeaveCriticalSection
(
&
csTablet
);
return
ptr
;
}
LPOPENCONTEXT
AddPacketToContextQueue
(
LPWTPACKET
packet
,
HWND
hwnd
)
{
LPOPENCONTEXT
ptr
=
NULL
;
...
...
dlls/wintab32/wintab_internal.h
View file @
6c1d3864
...
...
@@ -149,7 +149,6 @@ typedef struct tagOPENCONTEXT
int
TABLET_PostTabletMessage
(
LPOPENCONTEXT
newcontext
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
,
BOOL
send_always
);
LPOPENCONTEXT
AddPacketToContextQueue
(
LPWTPACKET
packet
,
HWND
hwnd
);
LPOPENCONTEXT
FindOpenContext
(
HWND
hwnd
);
/* X11drv functions */
extern
int
(
*
pLoadTabletInfo
)(
HWND
hwnddefault
);
...
...
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