Merge pull request #2676 from ianyfan/ipc

ipc: add pid information for views in layout tree
This commit is contained in:
Drew DeVault 2018-09-19 17:37:58 -04:00 committed by GitHub
commit 6ec3626228
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;