mirror of
https://github.com/brl/mutter.git
synced 2024-12-03 21:30:41 -05:00
[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);
|
ClutterStageWin32 *stage_win32 = CLUTTER_STAGE_WIN32 (actor);
|
||||||
|
|
||||||
if (stage_win32->hwnd)
|
if (stage_win32->hwnd)
|
||||||
{
|
ShowWindow (stage_win32->hwnd, SW_SHOW);
|
||||||
/* 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
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user