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.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wayland_ivi_wm.hpp b/src/wayland_ivi_wm.hpp
index a51a1a0..872e287 100644
--- a/src/wayland_ivi_wm.hpp
+++ b/src/wayland_ivi_wm.hpp
@@ -96,6 +96,8 @@ struct display {
struct output : public wayland_proxy<struct wl_output> {
int width{};
int height{};
+ int physical_width{};
+ int physical_height{};
int refresh{};
int transform{};
@@ -235,7 +237,8 @@ struct controller : public wayland_proxy<struct ivi_wm> {
std::unique_ptr<struct screen> screen;
- size output_size;
+ size output_size; // Display size[pixel]
+ size physical_size; // Display size[mm]
wm::controller_hooks *chooks;