aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.cpp')
-rw-r--r--src/app.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/app.cpp b/src/app.cpp
index dca0e74..20917ae 100644
--- a/src/app.cpp
+++ b/src/app.cpp
@@ -1188,13 +1188,13 @@ void App::setSurfaceSize(const char* role, const char* area) {
HMI_DEBUG("wm", "Surface rect { %d, %d, %d, %d }",
size.x, size.y, size.w, size.h);
+ // Enqueue flushDraw event
+ this->enqueue_flushdraw(surface_id);
+
// Emit syncDraw event
const char* drawing_name = this->role2drawingname_[role].c_str();
this->emit_syncdraw(drawing_name, area,
size.x, size.y, size.w, size.h);
-
- // Enqueue flushDraw event
- this->enqueue_flushdraw(surface_id);
}
void App::setAccelPedalPos(double val) {