diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-09-30 12:33:39 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-09-30 12:59:45 -0400 |
commit | 4c1bd9bde8e56814ca9c73b138bd8c9dc0469062 (patch) | |
tree | e6037672d1b5523dfdc8b399e80189cde2016c90 /include/rootston | |
parent | 8c2e1ed3e67750908d46e6f777ec57fdbc7d4319 (diff) |
input events for subsurfaces
Diffstat (limited to 'include/rootston')
-rw-r--r-- | include/rootston/desktop.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rootston/desktop.h b/include/rootston/desktop.h index 392b0271..91ac87b7 100644 --- a/include/rootston/desktop.h +++ b/include/rootston/desktop.h @@ -52,7 +52,8 @@ struct roots_desktop *desktop_create(struct roots_server *server, void desktop_destroy(struct roots_desktop *desktop); void view_destroy(struct roots_view *view); -struct roots_view *view_at(struct roots_desktop *desktop, int x, int y); +struct roots_view *view_at(struct roots_desktop *desktop, double lx, double ly, + struct wlr_surface **surface, double *sx, double *sy); void view_activate(struct roots_view *view, bool activate); void output_add_notify(struct wl_listener *listener, void *data); |