Author: wmb Date: Wed Mar 28 08:06:20 2012 New Revision: 2930 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2930
Log: GUI - Fixed bug introduced by recent mouse/touchscreen/pointer revamp. menu was broken on systems without a touchscreen.
Modified: ofw/gui/mouse.fth
Modified: ofw/gui/mouse.fth ============================================================================== --- ofw/gui/mouse.fth Wed Mar 28 00:29:41 2012 (r2929) +++ ofw/gui/mouse.fth Wed Mar 28 08:06:20 2012 (r2930) @@ -203,6 +203,7 @@ then ; : mouse-event? ( -- false | x y buttons true ) + mouse-ih 0= if false exit then " stream-poll?" mouse-ih $call-method ;
@@ -229,6 +230,7 @@ then ; : touchscreen-event? ( -- false | x y buttons true ) + touchscreen-ih 0= if false exit then " stream-poll?" touchscreen-ih $call-method ;
openfirmware@openfirmware.info