aboutsummaryrefslogtreecommitdiffstats
path: root/src/wm_client.hpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-11-29 21:11:50 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-12-03 13:01:18 +0900
commita96fae7e99c2d13bc864d919cbdbcd68ba9cb841 (patch)
tree862543d37148e492b922a6c629a2a3be13480ab9 /src/wm_client.hpp
parent2b1bf85afe0a8b24f75386f7c24df85f9b785bd3 (diff)
Fix timing issue of surface creation
Rarely Window Manager get the event of surface creation after activateWindow. In that case, Window Manager reject application request because client doesn't have surface. This patch makes WM does provisional registration. Change-Id: Ib0a54a7f399f333175e0a4613364f7bcb0de9cc7 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/wm_client.hpp')
-rw-r--r--src/wm_client.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wm_client.hpp b/src/wm_client.hpp
index 623d34f..9568324 100644
--- a/src/wm_client.hpp
+++ b/src/wm_client.hpp
@@ -51,6 +51,7 @@ class WMClient
std::string role() const;
unsigned layerID() const;
unsigned surfaceID() const;
+ void registerSurface(unsigned surface);
WMError addSurface(unsigned surface);
bool removeSurfaceIfExist(unsigned surface);