+function ioncore.match_winprop_dflt(prop, cwin, id)
+ local function chkf(p, i)
+ if p==nil then
+ return true
+ else
+ return (p==(i and true or false))
+ -- hack for nil i
+ end
+ end
+
+ if not chkf(prop.is_transient, id.is_transient) then
+ return false
+ end
+
+ if not chkf(prop.is_dockapp, id.is_dockapp) then
+ return false
+ end
+
+ if prop.name then