Use the 32 Bits pixmap & add missing client_unref
authorSung-jae Park <nicesj.park@samsung.com>
Wed, 27 Mar 2013 09:15:23 +0000 (09:15 +0000)
committerSung-jae Park <nicesj.park@samsung.com>
Wed, 27 Mar 2013 09:15:23 +0000 (09:15 +0000)
Change-Id: I465a682ccced81e96f7eacb9ecba7a553d2e5d94

packaging/data-provider-master.spec
src/buffer_handler.c
src/client_life.c
src/instance.c

index ded42fe..4faf5e2 100644 (file)
@@ -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
index 8442e59..dedf13d 100644 (file)
@@ -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);
index 5e39be5..94b1bda 100644 (file)
@@ -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)
index bbfd02a..f1cc6f2 100644 (file)
@@ -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;