struct appdata *ad = (struct appdata *) data;
Evas_Object *eo;
int w, h;
+ Ecore_X_Display *dpy;
+ dpy = ecore_x_display_get();
eo = elm_win_add(NULL, name, ELM_WIN_BASIC);
if (eo)
ecore_x_window_size_get(ecore_x_window_root_first_get(), &w, &h);
ad->root_w = w; ad->root_h = h;
evas_object_resize(eo, w, h);
+ if (dpy)
+ { //disable window effect
+ utilx_set_window_effect_state(dpy, elm_win_xwindow_get(eo), 0);
+ }
}
return eo;
AnyPropertyType, &cbtype, &cbformat, &cbitems, &cbsize, &cbbuf);
XDeleteProperty(g_disp, g_evtwin, atomCBOut);
-/*
unesc = clipdrawer_get_plain_string_from_escaped(cbbuf);
if (unesc != NULL)
{
}
else
unesc_len = 0;
-*/
// add_to_storage_buffer(ad, cbbuf, cbitems);
// DTRACE("len = %ld, data = %s\n", cbitems, cbbuf);
+/*
if (cbbuf != NULL)
{
unesc_len = strlen(cbbuf);
else
add_to_storage_buffer(ad, cbbuf, unesc_len);
DTRACE("len = %ld, data = %s\n", unesc_len, cbbuf);
+*/
/* FIXME : it needs two verification.
1. does the file exist?
2. dose the file wanted type? */
-/*
if (!strncmp(unesc, "file://", 7) &&
(strcasestr(unesc,".png") || strcasestr(unesc,".jpg") || strcasestr(unesc,".bmp")) &&
check_regular_file(unesc+7))
add_to_storage_buffer(ad, unesc, unesc_len);
DTRACE("len = %ld, data = %s\n", unesc_len, unesc);
free(unesc);
-*/
DTRACE("\n");
print_storage_buffer();