layout: Keep content purpose around

This allows to add proper CSS style classes based on that
This commit is contained in:
Guido Günther
2021-12-01 16:17:38 +01:00
parent 3513bf8de4
commit 4903f3d1a0
4 changed files with 21 additions and 5 deletions

View File

@ -61,7 +61,7 @@ pub mod c {
};
let (kind, layout) = load_layout_data_with_fallback(&name, type_, variant, overlay_str);
let layout = ::layout::Layout::new(layout, kind);
let layout = ::layout::Layout::new(layout, kind, variant);
Box::into_raw(Box::new(layout))
}
}