projects
/
platform
/
core
/
uifw
/
ise-default.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3944e0e
)
Revert "Revert "Fix the cap mode problem in wearable equipment.""
38/205638/1
author
Jihoon Kim
<jihoon48.kim@samsung.com>
Wed, 8 May 2019 06:23:59 +0000
(15:23 +0900)
committer
Jihoon Kim
<jihoon48.kim@samsung.com>
Wed, 8 May 2019 06:24:08 +0000
(15:24 +0900)
This reverts commit
f7f3092c4d73714a41f7f7690f169f5f56314407
.
Change-Id: I815f8d12a3b8f9307ac3d8d8212c54dfeb343342
src/ise.cpp
patch
|
blob
|
history
diff --git
a/src/ise.cpp
b/src/ise.cpp
index
0f59191
..
bc7d5be
100644
(file)
--- a/
src/ise.cpp
+++ b/
src/ise.cpp
@@
-313,6
+313,11
@@
static void set_caps_mode(sclboolean mode) {
if (g_ui->get_shift_state() != SCL_SHIFT_STATE_LOCK) {
g_ui->set_shift_state(mode ? SCL_SHIFT_STATE_ON : SCL_SHIFT_STATE_OFF);
g_ui->set_autocapital_shift_state(!mode);
+ if (mode) {
+ ise_send_event(MVK_Shift_On, KEY_MASK_NULL);
+ } else {
+ ise_send_event(MVK_Shift_Off, KEY_MASK_NULL);
+ }
}
}
}