Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
3496d170
Commit
3496d170
authored
Oct 07, 2008
by
John Klehm
Committed by
Alexandre Julliard
Oct 07, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintab32: Send notification when z-order changes.
parent
57ee10ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
context.c
dlls/wintab32/context.c
+19
-2
No files found.
dlls/wintab32/context.c
View file @
3496d170
...
@@ -648,6 +648,10 @@ BOOL WINAPI WTEnable(HCTX hCtx, BOOL fEnable)
...
@@ -648,6 +648,10 @@ BOOL WINAPI WTEnable(HCTX hCtx, BOOL fEnable)
context
->
enabled
=
TRUE
;
context
->
enabled
=
TRUE
;
/* TODO: Add to top of overlap order */
/* TODO: Add to top of overlap order */
context
->
context
.
lcStatus
=
CXS_ONTOP
;
context
->
context
.
lcStatus
=
CXS_ONTOP
;
TABLET_PostTabletMessage
(
context
,
_WT_CTXOVERLAP
(
context
->
context
.
lcMsgBase
),
(
WPARAM
)
context
->
handle
,
context
->
context
.
lcStatus
,
TRUE
);
}
}
/* if we want to disable and it is not disabled then */
/* if we want to disable and it is not disabled then */
else
if
(
!
fEnable
&&
context
->
enabled
)
else
if
(
!
fEnable
&&
context
->
enabled
)
...
@@ -656,6 +660,10 @@ BOOL WINAPI WTEnable(HCTX hCtx, BOOL fEnable)
...
@@ -656,6 +660,10 @@ BOOL WINAPI WTEnable(HCTX hCtx, BOOL fEnable)
/* TODO: Remove from overlap order?? needs a test */
/* TODO: Remove from overlap order?? needs a test */
context
->
context
.
lcStatus
=
CXS_DISABLED
;
context
->
context
.
lcStatus
=
CXS_DISABLED
;
TABLET_FlushQueue
(
context
);
TABLET_FlushQueue
(
context
);
TABLET_PostTabletMessage
(
context
,
_WT_CTXOVERLAP
(
context
->
context
.
lcMsgBase
),
(
WPARAM
)
context
->
handle
,
context
->
context
.
lcStatus
,
TRUE
);
}
}
LeaveCriticalSection
(
&
csTablet
);
LeaveCriticalSection
(
&
csTablet
);
...
@@ -677,17 +685,26 @@ BOOL WINAPI WTOverlap(HCTX hCtx, BOOL fToTop)
...
@@ -677,17 +685,26 @@ BOOL WINAPI WTOverlap(HCTX hCtx, BOOL fToTop)
EnterCriticalSection
(
&
csTablet
);
EnterCriticalSection
(
&
csTablet
);
context
=
TABLET_FindOpenContext
(
hCtx
);
context
=
TABLET_FindOpenContext
(
hCtx
);
if
(
fToTop
)
/* if we want to send to top and it's not already there */
if
(
fToTop
&&
context
->
context
.
lcStatus
!=
CXS_ONTOP
)
{
{
/* TODO: Move context to top of overlap order */
/* TODO: Move context to top of overlap order */
FIXME
(
"Not moving context to top of overlap order
\n
"
);
FIXME
(
"Not moving context to top of overlap order
\n
"
);
context
->
context
.
lcStatus
=
CXS_ONTOP
;
context
->
context
.
lcStatus
=
CXS_ONTOP
;
TABLET_PostTabletMessage
(
context
,
_WT_CTXOVERLAP
(
context
->
context
.
lcMsgBase
),
(
WPARAM
)
context
->
handle
,
context
->
context
.
lcStatus
,
TRUE
);
}
}
else
else
if
(
!
fToTop
)
{
{
/* TODO: Move context to bottom of overlap order */
/* TODO: Move context to bottom of overlap order */
FIXME
(
"Not moving context to bottom of overlap order
\n
"
);
FIXME
(
"Not moving context to bottom of overlap order
\n
"
);
context
->
context
.
lcStatus
=
CXS_OBSCURED
;
context
->
context
.
lcStatus
=
CXS_OBSCURED
;
TABLET_PostTabletMessage
(
context
,
_WT_CTXOVERLAP
(
context
->
context
.
lcMsgBase
),
(
WPARAM
)
context
->
handle
,
context
->
context
.
lcStatus
,
TRUE
);
}
}
LeaveCriticalSection
(
&
csTablet
);
LeaveCriticalSection
(
&
csTablet
);
...
...
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