summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/gui/LayerState.cpp')
-rw-r--r--libs/gui/LayerState.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/gui/LayerState.cpp b/libs/gui/LayerState.cpp
index 8c21553bff..d653ae71be 100644
--- a/libs/gui/LayerState.cpp
+++ b/libs/gui/LayerState.cpp
@@ -458,6 +458,10 @@ void layer_state_t::merge(const layer_state_t& other) {
what |= eCropChanged;
crop = other.crop;
}
+ if (other.what & eFrameChanged) {
+ what |= eFrameChanged;
+ orientedDisplaySpaceRect = other.orientedDisplaySpaceRect;
+ }
if (other.what & eBufferChanged) {
what |= eBufferChanged;
buffer = other.buffer;