1
0
Fork 0

2007-03-23 Matthew Allum <mallum@openedhand.com>

* clutter/glx/clutter-stage-glx.c:
        (clutter_stage_glx_allocate_coords):
        Make new stage return correct width & height.
This commit is contained in:
Matthew Allum 2007-03-23 16:35:18 +00:00
parent 83dafa5f9e
commit 810661f612
2 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2007-03-23 Matthew Allum <mallum@openedhand.com>
* clutter/glx/clutter-stage-glx.c:
(clutter_stage_glx_allocate_coords):
Make new stage return correct width & height.
2007-03-23 Emmanuele Bassi <ebassi@openedhand.com>
Assorted build fixes to pass distcheck.

View file

@ -415,9 +415,11 @@ static void
clutter_stage_glx_allocate_coords (ClutterActor *self,
ClutterActorBox *box)
{
/* Do nothing, just stop group_allocate getting called */
ClutterStageGlx *stage_glx = CLUTTER_STAGE_GLX (self);
box->x2 = box->x1 + stage_glx->xwin_width;
box->y2 = box->y1 + stage_glx->xwin_height;
/* TODO: sync up with any configure events from WM ?? */
return;
}