comparison src/X_supp.c @ 1115:673978a8bc4b

Assign width and height of a rdman for X backend
author Thinker K.F. Li <thinker@codemud.net>
date Wed, 08 Dec 2010 23:22:54 +0800
parents 1993e5ae60aa
children 84368f4bc988
comparison
equal deleted inserted replaced
1114:7451af5d63ec 1115:673978a8bc4b
847 847
848 xmb_rt->cr = mbe_create(xmb_rt->surface); 848 xmb_rt->cr = mbe_create(xmb_rt->surface);
849 xmb_rt->backend_cr = mbe_create(xmb_rt->backend_surface); 849 xmb_rt->backend_cr = mbe_create(xmb_rt->backend_surface);
850 850
851 xmb_rt->rdman = (redraw_man_t *)malloc(sizeof(redraw_man_t)); 851 xmb_rt->rdman = (redraw_man_t *)malloc(sizeof(redraw_man_t));
852 xmb_rt->rdman->w = w;
853 xmb_rt->rdman->h = h;
852 redraw_man_init(xmb_rt->rdman, xmb_rt->cr, xmb_rt->backend_cr); 854 redraw_man_init(xmb_rt->rdman, xmb_rt->cr, xmb_rt->backend_cr);
853 /* FIXME: This is a wired loopback reference. This is inly 855 /* FIXME: This is a wired loopback reference. This is inly
854 * required when we need to get the xmb_rt->tman for the 856 * required when we need to get the xmb_rt->tman for the
855 * animation. We should relocate the tman to the 857 * animation. We should relocate the tman to the
856 * redraw_man_t instead. 858 * redraw_man_t instead.