summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSung-jae Park <nicesj.park@samsung.com>2013-03-27 09:15:23 (GMT)
committerSung-jae Park <nicesj.park@samsung.com>2013-03-27 09:15:23 (GMT)
commitcf2679243f98d3898b0f13e858f9bd641a504fef (patch)
tree0271d4a95f475becdbaf6ba6cc0c5bca475ff84e
parente82f1e99f2a6ff34b99b6299d6796bb7afec236e (diff)
downloaddata-provider-master-cf2679243f98d3898b0f13e858f9bd641a504fef.zip
data-provider-master-cf2679243f98d3898b0f13e858f9bd641a504fef.tar.gz
data-provider-master-cf2679243f98d3898b0f13e858f9bd641a504fef.tar.bz2
Use the 32 Bits pixmap & add missing client_unref
Change-Id: I465a682ccced81e96f7eacb9ecba7a553d2e5d94
-rw-r--r--packaging/data-provider-master.spec2
-rw-r--r--src/buffer_handler.c3
-rw-r--r--src/client_life.c1
-rw-r--r--src/instance.c4
4 files changed, 6 insertions, 4 deletions
diff --git a/packaging/data-provider-master.spec b/packaging/data-provider-master.spec
index ded42fe..4faf5e2 100644
--- a/packaging/data-provider-master.spec
+++ b/packaging/data-provider-master.spec
@@ -1,6 +1,6 @@
Name: data-provider-master
Summary: Master service provider for liveboxes.
-Version: 0.18.3
+Version: 0.19.0
Release: 1
Group: HomeTF/Livebox
License: Flora License
diff --git a/src/buffer_handler.c b/src/buffer_handler.c
index 8442e59..dedf13d 100644
--- a/src/buffer_handler.c
+++ b/src/buffer_handler.c
@@ -201,8 +201,9 @@ static inline struct buffer *create_pixmap(struct buffer_info *info)
* \NOTE
* Use the 24 Bits
* 32 Bits is not supported for video playing.
+ * But for the transparent background, use the 32 bits, and give up video.
*/
- gem->pixmap = XCreatePixmap(disp, parent, info->w, info->h, 24 /* (info->pixel_size << 3) */);
+ gem->pixmap = XCreatePixmap(disp, parent, info->w, info->h, (info->pixel_size << 3));
if (gem->pixmap == (Pixmap)0) {
ErrPrint("Failed to create a pixmap\n");
DbgFree(buffer);
diff --git a/src/client_life.c b/src/client_life.c
index 5e39be5..94b1bda 100644
--- a/src/client_life.c
+++ b/src/client_life.c
@@ -161,6 +161,7 @@ static inline void invoke_activated_cb(struct client_node *client)
}
}
}
+ client_unref(client);
}
static inline void destroy_client_data(struct client_node *client)
diff --git a/src/instance.c b/src/instance.c
index bbfd02a..f1cc6f2 100644
--- a/src/instance.c
+++ b/src/instance.c
@@ -1603,7 +1603,7 @@ HAPI void instance_set_lb_info(struct inst_info *inst, int w, int h, double prio
inst->lb.priority = priority;
if (inst->lb.width != w || inst->lb.height != h)
- instance_send_resized_event(inst, IS_LB, w, h, 0);
+ instance_send_resized_event(inst, IS_LB, w, h, LB_STATUS_SUCCESS);
inst->lb.width = w;
inst->lb.height = h;
@@ -1612,7 +1612,7 @@ HAPI void instance_set_lb_info(struct inst_info *inst, int w, int h, double prio
HAPI void instance_set_pd_info(struct inst_info *inst, int w, int h)
{
if (inst->pd.width != w || inst->pd.height != h)
- instance_send_resized_event(inst, IS_PD, w, h, 0);
+ instance_send_resized_event(inst, IS_PD, w, h, LB_STATUS_SUCCESS);
inst->pd.width = w;
inst->pd.height = h;