summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 20f04e5..c575615 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -53,6 +53,17 @@ int check_events(struct wl::display *d, struct conn *c, int fd) {
}
puts("\b\b ");
}
+
+ if (!c->c->layers.empty()) {
+ puts("Layers:");
+ for (auto const &i : c->c->layers) {
+ struct genivi::rect const &r = i.second->dst_rect;
+ struct genivi::size const &s = i.second->size;
+ printf("%d [%ux%u] (%ux%u@%dx%d), ", i.first, s.w, s.h, r.w, r.h,
+ r.x, r.y);
+ }
+ puts("\b\b ");
+ }
}
}