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
ea4b97bf
Commit
ea4b97bf
authored
Feb 21, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Mar 14, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imm32: Delete unnecessary uSelected struct ime member.
parent
c76b5599
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
imm.c
dlls/imm32/imm.c
+0
-6
No files found.
dlls/imm32/imm.c
View file @
ea4b97bf
...
...
@@ -64,8 +64,6 @@ struct ime
WCHAR
ui_class
[
17
];
HWND
ui_hwnd
;
ULONG
uSelected
;
BOOL
(
WINAPI
*
pImeInquire
)(
IMEINFO
*
,
void
*
,
DWORD
);
BOOL
(
WINAPI
*
pImeConfigure
)(
HKL
,
HWND
,
DWORD
,
void
*
);
BOOL
(
WINAPI
*
pImeDestroy
)(
UINT
);
...
...
@@ -593,7 +591,6 @@ static BOOL free_input_context_data( HIMC hIMC )
TRACE
(
"Destroying %p
\n
"
,
hIMC
);
data
->
ime
->
uSelected
--
;
data
->
ime
->
pImeSelect
(
hIMC
,
FALSE
);
SendMessageW
(
data
->
IMC
.
hWnd
,
WM_IME_SELECT
,
FALSE
,
(
LPARAM
)
data
->
ime
);
...
...
@@ -928,7 +925,6 @@ static InputContextData *create_input_context(HIMC default_imc)
new_context
->
threadID
=
GetCurrentThreadId
();
SendMessageW
(
GetFocus
(),
WM_IME_SELECT
,
TRUE
,
(
LPARAM
)
new_context
->
ime
);
new_context
->
ime
->
uSelected
++
;
TRACE
(
"Created context %p
\n
"
,
new_context
);
return
new_context
;
}
...
...
@@ -3053,12 +3049,10 @@ BOOL WINAPI ImmProcessKey(HWND hwnd, HKL hKL, UINT vKey, LPARAM lKeyData, DWORD
if
(
!
(
new_hkl
=
ime_acquire
(
hKL
)))
return
FALSE
;
data
->
ime
->
pImeSelect
(
imc
,
FALSE
);
data
->
ime
->
uSelected
--
;
ime_release
(
data
->
ime
);
data
->
ime
=
new_hkl
;
data
->
ime
->
pImeSelect
(
imc
,
TRUE
);
data
->
ime
->
uSelected
++
;
}
GetKeyboardState
(
state
);
...
...
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