ev->h = win->saved.h;
size_type = 7;
}
+ else if (win->pending.user_resize)
+ {
+ // use pended user size
+ ev->w = win->pending.user_w;
+ ev->h = win->pending.user_h;
+ win->pending.user_resize = EINA_FALSE;
+ size_type = 10;
+ }
+
+ if (win->pending.user_resize)
+ {
+ ERR("[WINDOW] win:%d, CHECK.. pending.user_resize:%d, size(%dx%d) BUT NOT USED..", win->resource_id,win->pending.user_resize, win->pending.user_w, win->pending.user_h);
+ win->pending.user_resize = EINA_FALSE;
+ }
}
else
{
// use pended user size
ev->w = win->pending.user_w;
ev->h = win->pending.user_h;
+ win->pending.user_resize = EINA_FALSE;
size_type = 8;
}
else
{
ev->w = win->pending.user_w;
ev->h = win->pending.user_h;
+ win->pending.user_resize = EINA_FALSE;
size_type = 6;
}
else
}
}
}
- win->pending.user_resize = EINA_FALSE;
+
+ if (win->pending.user_resize)
+ {
+ ERR("[WINDOW] win:%d, CHECK.. pending.user_resize:%d, size(%dx%d) BUT NOT USED..", win->resource_id,win->pending.user_resize, win->pending.user_w, win->pending.user_h);
+ win->pending.user_resize = EINA_FALSE;
+ }
}
/*
if ((win->set_config.geometry.w == win->def_config.geometry.w) &&
ev->h = win->set_config.geometry.h;
ev->edges = !!win->req_config.resizing;
+ ERR("[WINDOW] Generate WINDOW_CONFIGURE event by client.. win:%d, states:%d, geo(%d,%d,%dx%d), def(size:%dx%d,serial:%d)",
+ win->resource_id, ev->states, ev->x, ev->y, ev->w, ev->h,
+ win->def_config.geometry.w, win->def_config.geometry.h, win->def_config.serial);
+
ecore_event_add(ECORE_WL2_EVENT_WINDOW_CONFIGURE, ev, NULL, NULL);
}
//