E_POLICY_HINT_RESIZE_HEADER_HEIGHT = 15,
E_POLICY_HINT_RESIZE_FOOTER_HEIGHT = 16,
E_POLICY_HINT_VISIBILITY_IGNORE_GEOMETRY= 17,
+ E_POLICY_HINT_RESIZE_PPU = 18,
};
static const char *hint_names[] =
"wm.policy.win.resize.header_height",
"wm.policy.win.resize.footer_height",
"wm.policy.win.visibility.ignore_geometry",
+ "wm.policy.win.resize.ppu",
};
static void _e_policy_wl_surf_del(E_Policy_Wl_Surface *psurf);
ec->visibility.ignore_geometry = EINA_FALSE;
}
}
+ else if (!strncmp(hint->hint, hint_names[E_POLICY_HINT_RESIZE_PPU], strlen(hint->hint)))
+ {
+ int ppu = atoi(hint->val);
+ if (ppu < 1) ppu = 1;
+
+ ELOGF("RESIZE", "Set resize unit. size:%d", ec, ppu);
+ e_client_resize_unit_size_set(ec, ppu);
+ }
}
e_policy_hook_call(E_POLICY_HOOK_CLIENT_AUX_HINT_CHANGED, ec);