mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
x11/stage: Store new size on unrealized resize()
If the StageX11 is asked to resize itself while not being realized, then we just need to store the new size and return.
This commit is contained in:
parent
515a8fcfb5
commit
30d1e47c4e
@ -292,6 +292,14 @@ clutter_stage_x11_resize (ClutterStageWindow *stage_window,
|
|||||||
height);
|
height);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
/* if the backing window hasn't been created yet, we just
|
||||||
|
* need to store the new window size
|
||||||
|
*/
|
||||||
|
stage_x11->xwin_width = width;
|
||||||
|
stage_x11->xwin_height = height;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
|
Loading…
Reference in New Issue
Block a user