summaryrefslogtreecommitdiffstats
path: root/src/wayland.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wayland.hpp')
-rw-r--r--src/wayland.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/wayland.hpp b/src/wayland.hpp
index 619e47a..6e687ed 100644
--- a/src/wayland.hpp
+++ b/src/wayland.hpp
@@ -96,6 +96,8 @@ struct display {
struct output : wayland_proxy<struct wl_output> {
int width{};
int height{};
+ int physical_width{};
+ int physical_height{};
int refresh{};
int transform{};
@@ -250,7 +252,10 @@ struct controller : public wayland_proxy<struct ivi_controller> {
layer_map_type layers;
screen_map_type screens;
- size output_size;
+ std::unique_ptr<struct screen> screen;
+
+ size output_size; // Display size[pixel]
+ size physical_size; // Display size[mm]
wm::controller_hooks *chooks;