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
212488d8
Commit
212488d8
authored
Apr 29, 2008
by
John Klehm
Committed by
Alexandre Julliard
Sep 12, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintab32: Support overlap statuses in WTOpen.
parent
8e42ca62
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
context.c
dlls/wintab32/context.c
+11
-2
No files found.
dlls/wintab32/context.c
View file @
212488d8
...
...
@@ -435,13 +435,12 @@ HCTX WINAPI WTOpenW(HWND hWnd, LPLOGCONTEXTW lpLogCtx, BOOL fEnable)
{
LPOPENCONTEXT
newcontext
;
TRACE
(
"
(%p, %p, %u)
\n
"
,
hWnd
,
lpLogCtx
,
fEnable
);
TRACE
(
"
hWnd=%p, lpLogCtx=%p, fEnable=%u
\n
"
,
hWnd
,
lpLogCtx
,
fEnable
);
DUMPCONTEXT
(
*
lpLogCtx
);
newcontext
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
OPENCONTEXT
));
newcontext
->
context
=
*
lpLogCtx
;
newcontext
->
hwndOwner
=
hWnd
;
newcontext
->
enabled
=
fEnable
;
newcontext
->
ActiveCursor
=
-
1
;
newcontext
->
QueueSize
=
10
;
newcontext
->
PacketsQueued
=
0
;
...
...
@@ -458,7 +457,17 @@ HCTX WINAPI WTOpenW(HWND hWnd, LPLOGCONTEXTW lpLogCtx, BOOL fEnable)
TABLET_PostTabletMessage
(
newcontext
,
_WT_CTXOPEN
(
newcontext
->
context
.
lcMsgBase
),
(
WPARAM
)
newcontext
->
handle
,
newcontext
->
context
.
lcStatus
,
TRUE
);
if
(
fEnable
)
{
newcontext
->
enabled
=
TRUE
;
/* TODO: Add to top of overlap order */
newcontext
->
context
.
lcStatus
=
CXS_ONTOP
;
}
else
{
newcontext
->
enabled
=
FALSE
;
newcontext
->
context
.
lcStatus
=
CXS_DISABLED
;
}
TABLET_PostTabletMessage
(
newcontext
,
_WT_CTXOVERLAP
(
newcontext
->
context
.
lcMsgBase
),
(
WPARAM
)
newcontext
->
handle
,
...
...
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