Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LatinIME
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
keyboard
LatinIME
Commits
ef5d1eb2
Commit
ef5d1eb2
authored
3 months ago
by
Aleksandras Kostarevas
Browse files
Options
Downloads
Patches
Plain Diff
Avoid tracking pointer into non-modifier key after layout switch
parent
bbacaca0
No related branches found
Branches containing commit
Tags
0.1.24
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
java/src/org/futo/inputmethod/keyboard/PointerTracker.java
+5
-1
5 additions, 1 deletion
java/src/org/futo/inputmethod/keyboard/PointerTracker.java
with
5 additions
and
1 deletion
java/src/org/futo/inputmethod/keyboard/PointerTracker.java
+
5
−
1
View file @
ef5d1eb2
...
@@ -704,7 +704,11 @@ public final class PointerTracker implements PointerTrackerQueue.Element,
...
@@ -704,7 +704,11 @@ public final class PointerTracker implements PointerTrackerQueue.Element,
// {@link #setKeyboard}. In those cases, we should update key according to the new
// {@link #setKeyboard}. In those cases, we should update key according to the new
// keyboard layout.
// keyboard layout.
if
(
callListenerOnPressAndCheckKeyboardLayoutChange
(
key
,
0
/* repeatCount */
))
{
if
(
callListenerOnPressAndCheckKeyboardLayoutChange
(
key
,
0
/* repeatCount */
))
{
key
=
onDownKey
(
x
,
y
,
eventTime
);
key
=
getKeyOn
(
x
,
y
);
if
(!
key
.
isModifier
())
key
=
null
;
else
key
=
onDownKey
(
x
,
y
,
eventTime
);
}
}
if
(
key
==
null
)
return
;
if
(
key
==
null
)
return
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment