Fixed draw issue
authorHeeJu Kang <mobum.kang@samsung.com>
Fri, 11 Jan 2013 13:33:45 +0000 (22:33 +0900)
committerHeeJu Kang <mobum.kang@samsung.com>
Fri, 11 Jan 2013 13:33:45 +0000 (22:33 +0900)
Change-Id: I55200d20ecd4abf0b51267069bc89235865e223f
Signed-off-by: HeeJu Kang <mobum.kang@samsung.com>
src/FShell_LiveboxFrame.cpp
src/FShell_LiveboxPopup.cpp
src/FShell_LiveboxView.cpp
src/FShell_LiveboxView.h

index 348c848..cbb206b 100644 (file)
@@ -250,8 +250,6 @@ _LiveboxFrame::OnActivated(void)
 void
 _LiveboxFrame::OnDeactivated(void)
 {
-       result r = SetLayerShowState(false);
-       SysTryReturnVoidResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
 }
 
 void
index 575950b..1d86535 100644 (file)
@@ -325,8 +325,6 @@ _LiveboxPopup::OnActivated(void)
 void
 _LiveboxPopup::OnDeactivated(void)
 {
-       result r = SetLayerShowState(false);
-       SysTryReturnVoidResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
 }
 
 void
index f03622f..4384476 100644 (file)
@@ -61,7 +61,6 @@ _LiveboxView::_LiveboxView(void)
        , __resizeFromRemote(false)
        , __updated(false)
        , __pixmap(-1)
-       , __first(true)
 {
        __pLiveboxViewManager = _LiveboxViewManager::GetInstance();
        SysTryReturnVoidResult(NID_UI_CTRL, __pLiveboxViewManager, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
@@ -397,7 +396,6 @@ void
 _LiveboxView::OnLiveboxPopupViewClosed(void)
 {
        __pLiveboxPopupView.reset(null);
-       __first = true;
 }
 
 void
@@ -409,12 +407,6 @@ _LiveboxView::OnDraw(void)
 void
 _LiveboxView::OnLiveboxUpdated(const Bitmap& bitmap, const Dimension& size)
 {
-       if (__pLiveboxPopupView && __first)
-       {
-               __first = false;
-               return;
-       }
-       
        __resizeFromRemote = true;
        SetSize(size);
        __resizeFromRemote = false;
index 5a49061..617ce6e 100644 (file)
@@ -150,7 +150,6 @@ private:
                }
        };
        std::unique_ptr<Ecore_Event_Handler, _EcoreEventHandlerDeleter> __pPixmapEventHandler;
-       bool __first;
 }; // _LiveboxView
 
 }} // Tizen::Shell