+ memset(&cfg, 0, sizeof(cfg));
+ cfg.nentry = MRP_WAYLAND_WINDOW_MAX;
+ cfg.comp = wid_compare;
+ cfg.hash = wid_hash;
+ cfg.nbucket = MRP_WAYLAND_WINDOW_BUCKETS;
+
+ if (!(surface_hash = mrp_htbl_create(&cfg))) {
+ mrp_log_error("system-controller: can't create hash for surface IDs");
+ return false;
+ }
+