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
393b18ab
Commit
393b18ab
authored
Mar 23, 2021
by
Huw Davies
Committed by
Alexandre Julliard
Mar 23, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Call OnTxInPlaceActivate() from the host.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
132a35b8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
txthost.c
dlls/riched20/txthost.c
+1
-1
txtsrv.c
dlls/riched20/txtsrv.c
+1
-0
No files found.
dlls/riched20/txthost.c
View file @
393b18ab
...
@@ -1021,7 +1021,7 @@ static LRESULT RichEditWndProc_common( HWND hwnd, UINT msg, WPARAM wparam,
...
@@ -1021,7 +1021,7 @@ static LRESULT RichEditWndProc_common( HWND hwnd, UINT msg, WPARAM wparam,
LONG
codepage
=
unicode
?
CP_UNICODE
:
CP_ACP
;
LONG
codepage
=
unicode
?
CP_UNICODE
:
CP_ACP
;
int
len
;
int
len
;
ITextServices_OnTx
PropertyBitsChange
(
host
->
text_srv
,
TXTBIT_CLIENTRECTCHANGE
,
0
);
ITextServices_OnTx
InPlaceActivate
(
host
->
text_srv
,
NULL
);
if
(
lparam
)
if
(
lparam
)
{
{
...
...
dlls/riched20/txtsrv.c
View file @
393b18ab
...
@@ -220,6 +220,7 @@ static HRESULT update_client_rect( struct text_services *services, const RECT *c
...
@@ -220,6 +220,7 @@ static HRESULT update_client_rect( struct text_services *services, const RECT *c
if
(
!
client
)
if
(
!
client
)
{
{
if
(
!
services
->
editor
->
in_place_active
)
return
E_INVALIDARG
;
hr
=
ITextHost_TxGetClientRect
(
services
->
host
,
&
rect
);
hr
=
ITextHost_TxGetClientRect
(
services
->
host
,
&
rect
);
client
=
&
rect
;
client
=
&
rect
;
}
}
...
...
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