diff options
author | James Bursa <james@netsurf-browser.org> | 2004-03-21 12:46:56 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2004-03-21 12:46:56 +0000 |
commit | f962f4301c41514d140e303f0052e18a4a622022 (patch) | |
tree | 50ef1d08c840a01d0fe78c03fd6802c66671b753 /riscos/gui.c | |
parent | 19bb86e2ad7eeb96eba8711e8d783558685e27ee (diff) | |
download | netsurf-f962f4301c41514d140e303f0052e18a4a622022.tar.gz netsurf-f962f4301c41514d140e303f0052e18a4a622022.tar.bz2 |
[project @ 2004-03-21 12:46:56 by bursa]
Implement scheduled callbacks.
svn path=/import/netsurf/; revision=640
Diffstat (limited to 'riscos/gui.c')
-rw-r--r-- | riscos/gui.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/riscos/gui.c b/riscos/gui.c index f35f90832..7f9631f68 100644 --- a/riscos/gui.c +++ b/riscos/gui.c @@ -306,6 +306,8 @@ void gui_poll(bool active) xhourglass_off(); if (active) { event = wimp_poll(mask, &block, 0); + } else if (sched_active) { + event = wimp_poll_idle(mask, &block, sched_time, 0); } else if (over_window || gui_reformat_pending) { os_t t = os_read_monotonic_time(); event = wimp_poll_idle(mask, &block, t + 10, 0); @@ -314,6 +316,7 @@ void gui_poll(bool active) } xhourglass_on(); ro_gui_handle_event(event, &block); + schedule_run(); if (gui_reformat_pending && event == wimp_NULL_REASON_CODE) { for (g = window_list; g; g = g->next) { |