Find layer surfaces for input events

This commit is contained in:
Drew DeVault 2018-03-30 16:54:37 -04:00
parent 662f40b8ae
commit dc412c514b
3 changed files with 64 additions and 11 deletions

View file

@ -1,6 +1,5 @@
#ifndef ROOTSTON_DESKTOP_H
#define ROOTSTON_DESKTOP_H
#include <time.h>
#include <wayland-server.h>
#include <wlr/config.h>
@ -74,8 +73,6 @@ 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);