Change-Id: I7f6e09e8c0f0a8c913c225d0c8a45ca0a3279210
sclboolean exclude_popup_covered_area = FALSE;
if (!windows->is_base_window(windows->get_nth_window_in_Z_order_list(SCL_WINDOW_Z_TOP))) {
- if (cache && scl_check_arrindex(window_context->inputmode, MAX_SCL_INPUT_MODE)) {
+ if (cache && window_context && scl_check_arrindex(window_context->inputmode, MAX_SCL_INPUT_MODE)) {
const SclLayout *cur_layout =
cache->get_cur_layout(windows->get_nth_window_in_Z_order_list(SCL_WINDOW_Z_TOP));
if (cur_layout) {