DSWindowShell: implement raise/lower/activate 29/242329/1
authorDoyoun Kang <doyoun.kang@samsung.com>
Tue, 25 Aug 2020 05:50:18 +0000 (14:50 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Tue, 25 Aug 2020 12:38:51 +0000 (21:38 +0900)
Change-Id: I97afb6786594587791c37499ed874ee6364794d8

src/DSWindowShell/DSWindowShellPrivate.cpp

index f70ebf0..20eeff5 100644 (file)
@@ -495,12 +495,18 @@ int  DSWindowShellPrivate::getLayer(void)
 
 bool DSWindowShellPrivate::raise(void)
 {
-       return true;
+       if (__window)
+               return __window->raise();
+
+       return false;
 }
 
 bool DSWindowShellPrivate::lower(void)
 {
-       return true;
+       if (__window)
+               return __window->lower();
+
+       return false;
 }
 
 bool DSWindowShellPrivate::unsetFocus(void)
@@ -527,7 +533,10 @@ bool DSWindowShellPrivate::isFocused(void)
 
 bool DSWindowShellPrivate::activate(void)
 {
-       return true;
+       if (__window)
+               return __window->raiseToTop();
+
+       return false;
 }
 
 bool DSWindowShellPrivate::isActivated(void)