Update the FB size when a box gets resized event.
authorSung-jae Park <nicesj.park@samsung.com>
Tue, 26 Feb 2013 12:29:11 +0000 (12:29 +0000)
committerSung-jae Park <nicesj.park@samsung.com>
Tue, 26 Feb 2013 12:29:11 +0000 (12:29 +0000)
Change-Id: Id870904824de13cf5793d114298494fae7b3c361

packaging/liblivebox-viewer.spec
src/client.c

index c8b397c..dfbaa3d 100644 (file)
@@ -1,6 +1,6 @@
 Name: liblivebox-viewer
 Summary: Library for developing the application.
-Version: 0.9.7
+Version: 0.9.8
 Release: 1
 Group: framework/livebox
 License: Flora License
index db76c06..7ce6147 100644 (file)
@@ -488,6 +488,13 @@ static struct packet *master_size_changed(pid_t pid, int handle, const struct pa
                        DbgPrint("Livebox size is updated (%dx%d)\n", w, h);
                        lb_set_size(handler, w, h);
 
+                       /*!
+                        * If there is a created LB FB, 
+                        * Update it too
+                        */
+                       if (lb_get_lb_fb(handler))
+                               lb_set_lb_fb(handler, id);
+
                        if (handler->size_changed_cb) {
                                DbgPrint("Call the size changed callback\n");
                                handler->size_changed_cb(handler, status, handler->size_cbdata);