Mercurial > MadButterfly
comparison src/X_supp.c @ 1006:3ee2e30b260f refine_backend_if
Rename xmbrt to xmb_rt
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Mon, 22 Nov 2010 00:42:30 +0800 |
parents | 714169f33f13 |
children | 4d724f248365 |
comparison
equal
deleted
inserted
replaced
1005:714169f33f13 | 1006:3ee2e30b260f |
---|---|
255 * The display is managed by specified rdman and tman. rdman draws | 255 * The display is managed by specified rdman and tman. rdman draws |
256 * on the display, and tman trigger actions according timers. | 256 * on the display, and tman trigger actions according timers. |
257 */ | 257 */ |
258 static void | 258 static void |
259 _x_mb_event_loop(mb_rt_t *rt) { | 259 _x_mb_event_loop(mb_rt_t *rt) { |
260 struct _X_MB_runtime *xmbrt = (struct _X_MB_runtime *)rt; | 260 struct _X_MB_runtime *xmb_rt = (struct _X_MB_runtime *)rt; |
261 struct _X_supp_IO_man *io_man = (struct _X_supp_IO_man *)xmbrt->io_man; | 261 struct _X_supp_IO_man *io_man = (struct _X_supp_IO_man *)xmb_rt->io_man; |
262 struct _X_supp_timer_man *timer_man = | 262 struct _X_supp_timer_man *timer_man = |
263 (struct _X_supp_timer_man *)xmbrt->timer_man; | 263 (struct _X_supp_timer_man *)xmb_rt->timer_man; |
264 mb_tman_t *tman = timer_man->tman; | 264 mb_tman_t *tman = timer_man->tman; |
265 int fd; | 265 int fd; |
266 mb_timeval_t now, tmo; | 266 mb_timeval_t now, tmo; |
267 struct timeval tv; | 267 struct timeval tv; |
268 fd_set rfds, wfds; | 268 fd_set rfds, wfds; |