projects
/
platform
/
core
/
uifw
/
libds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce201ba
)
DSWaylandKeyboard: send kernel keycode to wayland client(s)
42/242742/1
author
Sung-Jin Park
<sj76.park@samsung.com>
Thu, 27 Aug 2020 08:45:55 +0000
(17:45 +0900)
committer
Sung-Jin Park
<sj76.park@samsung.com>
Tue, 1 Sep 2020 01:29:02 +0000
(10:29 +0900)
Change-Id: Ifb0a8f6a2e361c927e1327c758b40fd48aa5c2b8
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
src/DSWaylandServer/DSWaylandKeyboard.cpp
patch
|
blob
|
history
diff --git
a/src/DSWaylandServer/DSWaylandKeyboard.cpp
b/src/DSWaylandServer/DSWaylandKeyboard.cpp
index
8002088
..
851c169
100644
(file)
--- a/
src/DSWaylandServer/DSWaylandKeyboard.cpp
+++ b/
src/DSWaylandServer/DSWaylandKeyboard.cpp
@@
-206,7
+206,7
@@
void DSWaylandKeyboardPrivate::sendKey(uint32_t key, uint32_t state)
auto func = [&](std::pair<struct ::wl_client*, Resource*> res)
{
if (res.first == __focusClient)
- send_key(res.second->handle, __compositor->nextSerial(), __seat->getCurrentEventTime(), key, state);
+ send_key(res.second->handle, __compositor->nextSerial(), __seat->getCurrentEventTime(), key
- 8
, state);
};
std::for_each(resMap.begin(), resMap.end(), func);
}