WM_POLICY_HINT_DEICONIFY_APPROVE_DISABLE = 2,
WM_POLICY_HINT_ICONIFY = 3,
WM_POLICY_HINT_ABOVE_LOCKSCREEN = 4,
+ WM_POLICY_HINT_GESTURE_DISABLE = 5,
};
static const char *hint_names[] =
"wm.policy.win.deiconify.approve.disable",
"wm.policy.win.iconify",
"wm.policy.win.above.lock",
+ "wm.policy.win.gesture.disable",
};
static void _pol_wl_surf_del(Pol_Wl_Surface *psurf);
{
/* TODO: would implement after deiconify approve protocol provided */
}
+ else if (!strcmp(hint->hint, hint_names[WM_POLICY_HINT_GESTURE_DISABLE]))
+ {
+ if (atoi(hint->val) == 1)
+ {
+ ec->gesture_disable = EINA_TRUE;
+ }
+ else
+ {
+ ec->gesture_disable = EINA_FALSE;
+ }
+ }
else if (!strcmp(hint->hint, hint_names[WM_POLICY_HINT_ICONIFY]))
{
if (!strcmp(hint->val, "disable"))