We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3a0446 commit 126637fCopy full SHA for 126637f
modules/javafx.graphics/src/main/java/com/sun/glass/ui/monocle/LinuxEventBuffer.java
@@ -90,7 +90,7 @@ int getEventSize() {
90
*/
91
synchronized boolean put(ByteBuffer event) throws
92
InterruptedException {
93
- boolean isSync = event.getInt(eventStruct.getTypeIndex()) == 0
+ boolean isSync = event.getShort(eventStruct.getTypeIndex()) == 0
94
&& event.getInt(eventStruct.getValueIndex()) == 0;
95
while (bb.limit() - bb.position() < event.limit()) {
96
// Block if bb is full. This should be the
0 commit comments