[win32] Remove the call to clutter_redraw in clutter_stage_win32_show
Since commit 7b811f8b
this is done in clutter_stage_show so there is
no need for it in the backends.
This commit is contained in:
parent
df586eb507
commit
f4ad3761c4
@ -59,15 +59,7 @@ clutter_stage_win32_show (ClutterActor *actor)
|
||||
ClutterStageWin32 *stage_win32 = CLUTTER_STAGE_WIN32 (actor);
|
||||
|
||||
if (stage_win32->hwnd)
|
||||
{
|
||||
/* Force a redraw so that the layout will be run and the correct
|
||||
size will be allocated to the window before it is
|
||||
shown. Otherwise a WM_SIZE message will be sent which will
|
||||
override the user's chosen size */
|
||||
clutter_redraw (stage_win32->wrapper);
|
||||
|
||||
ShowWindow (stage_win32->hwnd, SW_SHOW);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user