[libbluray-devel] Fix org.dvb.event.EventManager.receiveKeyEventN() return value when key is consumed by exclusive AWT event listener.
hpi1
git at videolan.org
Sat Dec 21 08:52:26 CET 2013
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Thu Dec 19 10:48:28 2013 +0200| [19d8051eecce8f1a5e85baa5cf39abfa55dec094] | committer: hpi1
Fix org.dvb.event.EventManager.receiveKeyEventN() return value when key is consumed by exclusive AWT event listener.
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=19d8051eecce8f1a5e85baa5cf39abfa55dec094
---
src/libbluray/bdj/java/org/dvb/event/EventManager.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/libbluray/bdj/java/org/dvb/event/EventManager.java b/src/libbluray/bdj/java/org/dvb/event/EventManager.java
index d9c7328..00b1441 100644
--- a/src/libbluray/bdj/java/org/dvb/event/EventManager.java
+++ b/src/libbluray/bdj/java/org/dvb/event/EventManager.java
@@ -141,8 +141,8 @@ public class EventManager implements ResourceServer {
UserEventItem item = (UserEventItem)it.next();
if (item.context == context) {
if (item.userEvents.contains(ue)) {
- result = BDJHelper.postKeyEvent(type, modifiers, keyCode);
- return result;
+ result = BDJHelper.postKeyEvent(type, modifiers, keyCode);
+ return true;
}
}
}
More information about the libbluray-devel
mailing list