Code Review
/
apps
/
agl-service-windowmanager-2017.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Change API in wm_layer
[apps/agl-service-windowmanager-2017.git]
/
src
/
wm_layer.cpp
diff --git
a/src/wm_layer.cpp
b/src/wm_layer.cpp
index
28e1cd9
..
b3e3d2c
100644
(file)
--- a/
src/wm_layer.cpp
+++ b/
src/wm_layer.cpp
@@
-241,10
+241,14
@@
bool WMLayer::hasRole(const string& role)
return false;
}
-
WMError WMLayer::commitChang
e()
+
void WMLayer::updat
e()
{
this->state = this->tmp_state;
- return WMError::SUCCESS;
+}
+
+void WMLayer::undo()
+{
+ this->tmp_state = this->state;
}
void WMLayer::dump()