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
0c9c00cf
Commit
0c9c00cf
authored
Aug 29, 2007
by
Aric Stewart
Committed by
Alexandre Julliard
Aug 29, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imm: Report GCS_DELTASTART to help behavior with advanced IME aware applications.
parent
a47f47fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
imm.c
dlls/imm32/imm.c
+13
-1
No files found.
dlls/imm32/imm.c
View file @
0c9c00cf
...
@@ -287,6 +287,7 @@ static HIMCC updateCompStr(HIMCC old, LPWSTR compstr, DWORD len)
...
@@ -287,6 +287,7 @@ static HIMCC updateCompStr(HIMCC old, LPWSTR compstr, DWORD len)
&
new_one
->
dwCompReadStrOffset
,
TRUE
);
&
new_one
->
dwCompReadStrOffset
,
TRUE
);
/* new CompAttr, CompClause, CompStr, dwCursorPos */
/* new CompAttr, CompClause, CompStr, dwCursorPos */
new_one
->
dwDeltaStart
=
0
;
current_offset
=
updateField
(
lpcs
->
dwResultReadClauseLen
,
current_offset
=
updateField
(
lpcs
->
dwResultReadClauseLen
,
lpcs
->
dwResultReadClauseOffset
,
lpcs
->
dwResultReadClauseOffset
,
...
@@ -438,6 +439,7 @@ static HIMCC updateResultStr(HIMCC old, LPWSTR resultstr, DWORD len)
...
@@ -438,6 +439,7 @@ static HIMCC updateResultStr(HIMCC old, LPWSTR resultstr, DWORD len)
&
new_one
->
dwCompStrOffset
,
TRUE
);
&
new_one
->
dwCompStrOffset
,
TRUE
);
new_one
->
dwCursorPos
=
lpcs
->
dwCursorPos
;
new_one
->
dwCursorPos
=
lpcs
->
dwCursorPos
;
new_one
->
dwDeltaStart
=
0
;
current_offset
=
updateField
(
lpcs
->
dwResultReadClauseLen
,
current_offset
=
updateField
(
lpcs
->
dwResultReadClauseLen
,
lpcs
->
dwResultReadClauseOffset
,
lpcs
->
dwResultReadClauseOffset
,
...
@@ -861,6 +863,11 @@ LONG WINAPI ImmGetCompositionStringA(
...
@@ -861,6 +863,11 @@ LONG WINAPI ImmGetCompositionStringA(
TRACE
(
"GSC_CURSORPOS
\n
"
);
TRACE
(
"GSC_CURSORPOS
\n
"
);
rc
=
compstr
->
dwCursorPos
;
rc
=
compstr
->
dwCursorPos
;
}
}
else
if
(
dwIndex
==
GCS_DELTASTART
)
{
TRACE
(
"GCS_DELTASTART
\n
"
);
rc
=
compstr
->
dwDeltaStart
;
}
else
else
{
{
FIXME
(
"Unhandled index 0x%x
\n
"
,
dwIndex
);
FIXME
(
"Unhandled index 0x%x
\n
"
,
dwIndex
);
...
@@ -955,6 +962,11 @@ LONG WINAPI ImmGetCompositionStringW(
...
@@ -955,6 +962,11 @@ LONG WINAPI ImmGetCompositionStringW(
TRACE
(
"GSC_CURSORPOS
\n
"
);
TRACE
(
"GSC_CURSORPOS
\n
"
);
rc
=
compstr
->
dwCursorPos
;
rc
=
compstr
->
dwCursorPos
;
}
}
else
if
(
dwIndex
==
GCS_DELTASTART
)
{
TRACE
(
"GCS_DELTASTART
\n
"
);
rc
=
compstr
->
dwDeltaStart
;
}
else
else
{
{
FIXME
(
"Unhandled index 0x%x
\n
"
,
dwIndex
);
FIXME
(
"Unhandled index 0x%x
\n
"
,
dwIndex
);
...
@@ -1662,7 +1674,7 @@ BOOL WINAPI ImmSetCompositionStringW(
...
@@ -1662,7 +1674,7 @@ BOOL WINAPI ImmSetCompositionStringW(
root_context
->
IMC
.
hCompStr
=
newCompStr
;
root_context
->
IMC
.
hCompStr
=
newCompStr
;
wParam
=
((
const
WCHAR
*
)
lpComp
)[
0
];
wParam
=
((
const
WCHAR
*
)
lpComp
)[
0
];
flags
|=
GCS_COMPCLAUSE
|
GCS_COMPATTR
;
flags
|=
GCS_COMPCLAUSE
|
GCS_COMPATTR
|
GCS_DELTASTART
;
}
}
else
else
{
{
...
...
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