Author: jleroux
Date: Mon Feb 25 12:09:51 2008
New Revision: 630975
URL:
http://svn.apache.org/viewvc?rev=630975&view=revLog:
A temporary patch from Chris Lombardi "POS: Msr has double event issue in linux" (
https://issues.apache.org/jira/browse/OFBIZ-1671) - OFBIZ-1671
This closes also (
https://issues.apache.org/jira/browse/OFBIZ-567) - OFBIZ-567
Also changed UseWindow=false and removed the associated comment in xpos.properties
Modified:
ofbiz/trunk/specialpurpose/pos/config/xpos.properties
ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/PosScreen.java
Modified: ofbiz/trunk/specialpurpose/pos/config/xpos.properties
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/config/xpos.properties?rev=630975&r1=630974&r2=630975&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/pos/config/xpos.properties (original)
+++ ofbiz/trunk/specialpurpose/pos/config/xpos.properties Mon Feb 25 12:09:51 2008
@@ -25,6 +25,5 @@
ClientWidth=1024
Language=XuiLabels
Title=OFBiz POS
-# UseWindow=false solves the alt+tab pb on Linux but introduces a keyboards doubled touches problem => reverted to true
-UseWindow=true
+UseWindow=false
UseFrames=false
Modified: ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/PosScreen.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/PosScreen.java?rev=630975&r1=630974&r2=630975&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/PosScreen.java (original)
+++ ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/PosScreen.java Mon Feb 25 12:09:51 2008
@@ -113,8 +113,7 @@
activityMonitor.start();
}
- // configure the frame/window listeners
- KeyboardAdaptor.attachComponents(appFrame, false);
+ // configure the window listener
KeyboardAdaptor.attachComponents(appWin, false);
appFrame.addFocusListener(this);
appWin.addFocusListener(this);