I'm attempting to develop an app using mozilla/xpcom with a customised chrome that hooks into the app. (Fairly standard stuff as far as I can tell). I've run through the examples, etc and for the most part things seem to work.
The chrome is updated by the app depending on user indepenent events (in this case, I have a timer that displays duration the app has been in use). This works fine (in both my javascript test routines and the C++ component). However, if there's no X events reaching the app (moving the mouse, pressing keys, etc) then the chrome doesn't update. Which is a problem. Is there any sane way to force a refresh of the chrome? The only solutions I've found in searching are javascript hacks that momentarily resize the browser, which is not an acceptable solution - especially with once-per-second updates. Thanks.
