diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-03-30 15:19:33 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-03-30 17:27:10 -0400 |
commit | 662f40b8ae2ccb449b13074317b59f0e53c1ccc5 (patch) | |
tree | 3de866e7d595f98523cc4a2680160104583d7050 /include | |
parent | 212d957c69b15e57a791eec52de34dcde4241e86 (diff) |
Refactor cursor event passhtrough
Diffstat (limited to 'include')
-rw-r--r-- | include/rootston/desktop.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/rootston/desktop.h b/include/rootston/desktop.h index 5714aa0a..5816df48 100644 --- a/include/rootston/desktop.h +++ b/include/rootston/desktop.h @@ -73,8 +73,12 @@ struct roots_desktop *desktop_create(struct roots_server *server, void desktop_destroy(struct roots_desktop *desktop); struct roots_output *desktop_output_from_wlr_output( struct roots_desktop *desktop, struct wlr_output *output); + struct roots_view *desktop_view_at(struct roots_desktop *desktop, double lx, double ly, struct wlr_surface **surface, double *sx, double *sy); +struct wlr_surface *desktop_surface_at(struct roots_desktop *desktop, + double lx, double ly, double *sx, double *sy, + struct roots_view **view); struct roots_view *view_create(struct roots_desktop *desktop); void view_destroy(struct roots_view *view); |