ipc: add pid information for views in layout tree

This commit is contained in:
Ian Fan 2018-09-19 22:21:09 +01:00
parent 5912325d5c
commit 81f3fda6fa
3 changed files with 5 additions and 0 deletions

View file

@ -61,6 +61,8 @@ struct sway_view {
struct sway_container *container; // NULL if unmapped and transactions finished
struct wlr_surface *surface; // NULL for unmapped views
pid_t pid;
// Geometry of the view itself (excludes borders) in layout coordinates
double x, y;
int width, height;