Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
a35e3075
Verified
Commit
a35e3075
authored
Apr 09, 2022
by
Xuetian Weng
Browse files
Do not send overlay geometry to text input.
(cherry picked from commit
374e9491
)
parent
1cbd0caf
Pipeline
#162807
passed with stage
in 12 minutes and 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/inputmethod.cpp
View file @
a35e3075
...
...
@@ -615,7 +615,7 @@ void InputMethod::updateInputPanelState()
const
bool
bottomKeyboard
=
m_inputClient
&&
m_inputClient
->
mode
()
!=
InputPanelV1Client
::
Overlay
&&
m_inputClient
->
isShown
();
m_trackedClient
->
setVirtualKeyboardGeometry
(
bottomKeyboard
?
m_inputClient
->
inputGeometry
()
:
QRect
());
if
(
m_inputClient
)
{
if
(
m_inputClient
&&
m_inputClient
->
mode
()
!=
InputPanelV1Client
::
Overlay
)
{
overlap
=
m_trackedClient
->
frameGeometry
()
&
m_inputClient
->
inputGeometry
();
overlap
.
moveTo
(
m_trackedClient
->
mapToLocal
(
overlap
.
topLeft
()));
}
...
...
Write
Preview
Supports
Markdown
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