INSERT OR REPLACE INTO "syspopup_info" VALUES(NULL,"usbotg-syspopup", 0,1,-1,0,0,"org.tizen.usbotg-syspopup");
INSERT OR REPLACE INTO "syspopup_info" VALUES(NULL,"allshare-popup", 0,0,-1,0,0,"org.tizen.allshare-popup");
INSERT OR REPLACE INTO "syspopup_info" VALUES(NULL,"mmc-syspopup", 0,1,-1,0,0,"org.tizen.mmc-syspopup");
+INSERT OR REPLACE INTO "syspopup_info" VALUES(NULL,"datausage-syspopup", 1,1,-1,0,0,"org.tizen.datausage-syspopup");
/*
INSERT OR REPLACE INTO "syspopup_info" VALUES(NULL,"drm", 0,0,5,0,0,"org.tizen.drm-popup");
INSERT OR REPLACE INTO "syspopup_info" VALUES(NULL,"incoming_call", 2,0,-1,2,2,"org.tizen.incoming_call");
Name: syspopup
Summary: Syspopup package
-Version: 0.0.92
+Version: 0.0.93
Release: 0
Group: System/Libraries
License: Apache-2.0
Source1002: %{name}-devel.manifest
Source1003: %{name}-caller.manifest
Source1004: %{name}-caller-devel.manifest
+
BuildRequires: cmake
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(bundle)
{
#ifndef WAYLAND
syspopup *tmp;
+ syspopup *next;
Display *d;
Window win;
d = XOpenDisplay(NULL);
tmp = _syspopup_get_head();
while (tmp) {
+
+ _D("term action %d - %s", tmp->term_act, tmp->name);
+ next = tmp->next;
+
switch (tmp->term_act) {
case SYSPOPUP_TERM:
+ win = (Window) tmp->internal_data;
+
if (tmp->def_term_fn != NULL)
tmp->def_term_fn(tmp->dupped_bundle,
tmp->user_data);
-
- win = (Window) tmp->internal_data;
XKillClient(d, win);
- /*XDestroyWindow(d, win);*/
+ /*XDestroyWindow(d, win);*/
/* TODO :modify for multi popup */
break;
case SYSPOPUP_HIDE:
+ win = (Window) tmp->internal_data;
+
if (tmp->def_term_fn != NULL)
tmp->def_term_fn(tmp->dupped_bundle,
tmp->user_data);
-
- win = (Window) tmp->internal_data;
XUnmapWindow(d, win);
break;
default:
_D("term action IGNORED - %s", tmp->name);
}
- tmp = tmp->next;
+ tmp = next;
}
XCloseDisplay(d);