mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
[clutter-stage-win32] Call clutter_actor_map instead of setting the flags
The clutter_actor_map and unmap functions need to be called to
properly update the mapped state. This matches the changes to the X11
stage in 125bded8
.
This commit is contained in:
parent
af68945486
commit
fa0b33ec30
@ -780,8 +780,8 @@ clutter_win32_set_stage_foreign (ClutterStage *stage,
|
||||
void
|
||||
clutter_stage_win32_map (ClutterStageWin32 *stage_win32)
|
||||
{
|
||||
CLUTTER_ACTOR_SET_FLAGS (stage_win32, CLUTTER_ACTOR_MAPPED);
|
||||
CLUTTER_ACTOR_SET_FLAGS (stage_win32->wrapper, CLUTTER_ACTOR_MAPPED);
|
||||
clutter_actor_map (CLUTTER_ACTOR (stage_win32));
|
||||
clutter_actor_map (CLUTTER_ACTOR (stage_win32->wrapper));
|
||||
|
||||
clutter_actor_queue_relayout (CLUTTER_ACTOR (stage_win32->wrapper));
|
||||
}
|
||||
@ -789,6 +789,6 @@ clutter_stage_win32_map (ClutterStageWin32 *stage_win32)
|
||||
void
|
||||
clutter_stage_win32_unmap (ClutterStageWin32 *stage_win32)
|
||||
{
|
||||
CLUTTER_ACTOR_UNSET_FLAGS (stage_win32, CLUTTER_ACTOR_MAPPED);
|
||||
CLUTTER_ACTOR_UNSET_FLAGS (stage_win32->wrapper, CLUTTER_ACTOR_MAPPED);
|
||||
clutter_actor_unmap (CLUTTER_ACTOR (stage_win32));
|
||||
clutter_actor_unmap (CLUTTER_ACTOR (stage_win32->wrapper));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user