aboutsummaryrefslogtreecommitdiffstats
path: root/src/wm_layer_control.hpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-09-12 13:37:18 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-09-12 13:37:18 +0900
commit9f619f18ff68f2e75aa2ec0cdd7c289ff4ab75b7 (patch)
tree1f9048835c30a72cc96ad6d8ea8f66d5e12b8d8d /src/wm_layer_control.hpp
parent380bf1289c2dc9df91044cfc1dfb5554211b58fa (diff)
Fix the manipulation of surface/layer
* Set offset when creating new layer * Set surface size not layer when layoutChange Change-Id: I335e8afa83d2874076d9138d473ce07399aa2e4b Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/wm_layer_control.hpp')
-rw-r--r--src/wm_layer_control.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wm_layer_control.hpp b/src/wm_layer_control.hpp
index 7cccfa0..a458f2f 100644
--- a/src/wm_layer_control.hpp
+++ b/src/wm_layer_control.hpp
@@ -100,6 +100,8 @@ class LayerControl
unsigned screenID;
struct ilmScreenProperties screen_prop;
double scaling;
+ int offset_x;
+ int offset_y;
LayerControlCallbacks cb;
};