Author: jleroux
Date: Mon Feb 25 12:25:28 2008
New Revision: 630980
URL:
http://svn.apache.org/viewvc?rev=630980&view=revLog:
A 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
In previsous commit in trunk, I wrote by mistake "temporary patch", it was not, it was a complete one as this one is
Modified:
ofbiz/branches/release4.0/specialpurpose/pos/config/xpos.properties
ofbiz/branches/release4.0/specialpurpose/pos/src/org/ofbiz/pos/screen/PosScreen.java
Modified: ofbiz/branches/release4.0/specialpurpose/pos/config/xpos.properties
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release4.0/specialpurpose/pos/config/xpos.properties?rev=630980&r1=630979&r2=630980&view=diff==============================================================================
--- ofbiz/branches/release4.0/specialpurpose/pos/config/xpos.properties (original)
+++ ofbiz/branches/release4.0/specialpurpose/pos/config/xpos.properties Mon Feb 25 12:25:28 2008
@@ -23,7 +23,7 @@
StartClass=default/pospanel
Title=OFBiz POS
StyleFile=posstyles.xml
-UseWindow=true
+UseWindow=false
UseFrames=false
StartPackage=org.ofbiz.pos
LogLevel=0
Modified: ofbiz/branches/release4.0/specialpurpose/pos/src/org/ofbiz/pos/screen/PosScreen.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release4.0/specialpurpose/pos/src/org/ofbiz/pos/screen/PosScreen.java?rev=630980&r1=630979&r2=630980&view=diff==============================================================================
--- ofbiz/branches/release4.0/specialpurpose/pos/src/org/ofbiz/pos/screen/PosScreen.java (original)
+++ ofbiz/branches/release4.0/specialpurpose/pos/src/org/ofbiz/pos/screen/PosScreen.java Mon Feb 25 12:25:28 2008
@@ -110,8 +110,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);