diff options
Diffstat (limited to 'src/wm_layer.cpp')
-rw-r--r-- | src/wm_layer.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/wm_layer.cpp b/src/wm_layer.cpp index 28e1cd9..b3e3d2c 100644 --- a/src/wm_layer.cpp +++ b/src/wm_layer.cpp @@ -241,10 +241,14 @@ bool WMLayer::hasRole(const string& role) return false; } -WMError WMLayer::commitChange() +void WMLayer::update() { this->state = this->tmp_state; - return WMError::SUCCESS; +} + +void WMLayer::undo() +{ + this->tmp_state = this->state; } void WMLayer::dump() |