EINA_SAFETY_ON_NULL_RETURN(e_comp);
EINA_SAFETY_ON_NULL_RETURN(pointer);
- if(e_comp->pointer == pointer) return;
+ if (e_comp->pointer == pointer) return;
INF("Changed pointer from %s -> %s", e_comp->pointer ? e_pointer_name_get(e_comp->pointer) : "NULL",
e_pointer_name_get(pointer));
/* Don't stack iconic transients. If the user wants these shown,
* that's another option.
*/
- if (child->iconic && e_client_is_iconified_by_client(child)) continue;
+ if (child && child->iconic && e_client_is_iconified_by_client(child)) continue;
transient_policy = e_client_transient_policy_get(child);
if (transient_policy == E_TRANSIENT_ABOVE)
if (!e_comp_wl_input_pointer_constraint_activated_get())
return TIZEN_INPUT_DEVICE_MANAGER_ERROR_NO_POINTER_AVAILABLE;
else
- DMINF("Pointer Contstraint activated. warp allowed. show_cursor(%d)", e_config->show_cursor);
+ DMINF("Pointer Constraint activated. warp allowed. show_cursor(%d)", e_config->show_cursor);
}
new_x = wl_fixed_to_int(x);
EINA_LIST_FOREACH(e_comp_input_key->kbd.focused, l, res)
{
if (wl_resource_get_client(res) == wl_resource_get_client(surface))
- wl_keyboard_send_enter(res, serial, surface,
- &e_comp_input_key->kbd.keys);
+ {
+ wl_keyboard_send_enter(res, serial, surface,
+ &e_comp_input_key->kbd.keys);
+ }
wl_keyboard_send_modifiers(res, serial,
mod_depressed,
return ptr;
}
- return NULL;
+ return NULL;
}
EINTERN const char *