Set the window type as id.

This helps debugging since the id is printed in the event debug
messages.
This commit is contained in:
Mark de Wever 2009-10-11 15:08:42 +00:00
parent e8649fa9d4
commit 6fc3fe8553

View file

@ -129,6 +129,7 @@ twindow* build(CVideo& video, const std::string& type)
, definition->maximum_height
, definition->definition);
assert(window);
window->set_id(type);
foreach(const twindow_builder::tresolution::tlinked_group& lg,
definition->linked_groups) {