-#if 0
- /* Restore activity state to non-parent manager */
- if(region_may_control_focus(reg)){
- WRegion *par=REGION_PARENT_REG(reg);
- if(par!=NULL && mgr!=par && REGION_PARENT_REG(mgr)==par){
- /* REGION_ACTIVE shouldn't be set for windowless regions
- * but make the parent's active_sub point to it
- * nevertheless so that region_may_control_focus can
- * be made to work.
- */
- par->active_sub=mgr;
- region_maybewarp_now(mgr, FALSE);
- }
- }
-#endif
-