Fixed timeout behaviour
This commit is contained in:
parent
d3e3e9190e
commit
5f50b3afca
@ -12,6 +12,10 @@ ______________________________________________________________________
|
|||||||
Notes for GoldED+ 1.1.5, /snapshot/
|
Notes for GoldED+ 1.1.5, /snapshot/
|
||||||
______________________________________________________________________
|
______________________________________________________________________
|
||||||
|
|
||||||
|
- GoldED+ should no longer exit when system time is changed to the
|
||||||
|
past and Timeout is non-zero. But... Timeout still calculated from
|
||||||
|
timestamp of previous keypress.
|
||||||
|
|
||||||
! Some actions will not reload message if it is not required.
|
! Some actions will not reload message if it is not required.
|
||||||
|
|
||||||
+ Added possibility to specify AKA in AREASEP:
|
+ Added possibility to specify AKA in AREASEP:
|
||||||
|
@ -527,7 +527,7 @@ void CheckTick(gkey quitkey) {
|
|||||||
Clock idle_secs = (gkbd.tickvalue - gkbd.tickpress) / 10L;
|
Clock idle_secs = (gkbd.tickvalue - gkbd.tickpress) / 10L;
|
||||||
|
|
||||||
if(CFG->timeout) {
|
if(CFG->timeout) {
|
||||||
if(idle_secs >= CFG->timeout) {
|
if(((signed long)idle_secs > 0) and (idle_secs >= CFG->timeout)) {
|
||||||
kbput(quitkey);
|
kbput(quitkey);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user