Fix timing issue of surface creation
[apps/agl-service-windowmanager.git] / src / wm_client.cpp
index e7cb552..040c52b 100644 (file)
@@ -111,6 +111,11 @@ unsigned WMClient::surfaceID() const
     return this->surface;
 }
 
+void WMClient::registerSurface(unsigned surface)
+{
+    this->surface = surface;
+}
+
 /**
  * Add surface to the client
  *