projects
/
platform
/
core
/
csapi
/
tizenfx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8abf69
)
[NUI] Handle XF86KeyPressed in BackKeyManager (#2048)
author
stanluk
<lukasz.stanislawski@gmail.com>
Thu, 8 Oct 2020 08:16:50 +0000
(10:16 +0200)
committer
GitHub
<noreply@github.com>
Thu, 8 Oct 2020 08:16:50 +0000
(17:16 +0900)
In Tizen iot-headed the WM dispatches 'XF86Back' event
instead of 'Back'.
Co-authored-by: dongsug-song <35130733+dongsug-song@users.noreply.github.com>
src/Tizen.NUI/src/internal/BackKeyManager.cs
patch
|
blob
|
history
diff --git
a/src/Tizen.NUI/src/internal/BackKeyManager.cs
b/src/Tizen.NUI/src/internal/BackKeyManager.cs
index
0b9b4a7
..
1c27c9a
100644
(file)
--- a/
src/Tizen.NUI/src/internal/BackKeyManager.cs
+++ b/
src/Tizen.NUI/src/internal/BackKeyManager.cs
@@
-122,7
+122,7
@@
namespace Tizen.NUI
private void OnWindowKeyEvent(object source, Window.KeyEventArgs args)
{
- if(args.Key.State == Key.StateType.Up &&
args.Key.KeyPressedName == "Back"
)
+ if(args.Key.State == Key.StateType.Up &&
(args.Key.KeyPressedName == "Back" || args.Key.KeyPressedName == "XF86Back")
)
{
View top = null;