aboutsummaryrefslogtreecommitdiffstats
path: root/src/wm_client.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wm_client.hpp')
-rw-r--r--src/wm_client.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wm_client.hpp b/src/wm_client.hpp
index 9568324..53383fb 100644
--- a/src/wm_client.hpp
+++ b/src/wm_client.hpp
@@ -53,6 +53,8 @@ class WMClient
unsigned surfaceID() const;
void registerSurface(unsigned surface);
WMError addSurface(unsigned surface);
+ bool isSourceSizeSet();
+ void setSurfaceSizeCorrectly();
bool removeSurfaceIfExist(unsigned surface);
#if GTEST_ENABLED
@@ -65,6 +67,7 @@ class WMClient
private:
std::string id;
unsigned layer;
+ bool is_source_set;
std::string main_role;
std::string area;
unsigned surface; // currently, main application has only one surface.