mir: update surface type based on events

This commit is contained in:
Marco Trevisan (Treviño)
2014-11-17 17:22:01 +01:00
parent 7651061920
commit e0e46a4f6b
3 changed files with 16 additions and 4 deletions

View File

@ -343,6 +343,7 @@ handle_surface_event (GdkWindow *window, const MirSurfaceEvent *event)
switch (event->attrib)
{
case mir_surface_attrib_type:
_gdk_mir_window_impl_set_surface_type (impl, event->value);
break;
case mir_surface_attrib_state:
_gdk_mir_window_impl_set_surface_state (impl, event->value);