summaryrefslogtreecommitdiffstats
path: root/src/wayland_ivi_wm.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wayland_ivi_wm.hpp')
-rw-r--r--src/wayland_ivi_wm.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wayland_ivi_wm.hpp b/src/wayland_ivi_wm.hpp
index d75caae..b515a06 100644
--- a/src/wayland_ivi_wm.hpp
+++ b/src/wayland_ivi_wm.hpp
@@ -197,7 +197,6 @@ struct layer : public controller_child
// Requests
void set_visibility(uint32_t visibility);
- void set_source_rectangle(int32_t x, int32_t y, int32_t width, int32_t height);
void set_destination_rectangle(int32_t x, int32_t y,
int32_t width, int32_t height);
void add_surface(uint32_t surface_id);
@@ -257,6 +256,9 @@ struct controller : public wayland_proxy<struct ivi_wm>
size output_size; // Display size[pixel]
size physical_size; // Display size[mm]
+ // Scale for conversion CSS PX -> DP(Device Pixel)
+ double scale;
+
wm::controller_hooks *chooks;
struct wl::display *display;