aboutsummaryrefslogtreecommitdiff
path: root/include/rootston
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-30 20:37:57 -0400
committerGitHub <noreply@github.com>2018-03-30 20:37:57 -0400
commit2701a964cf64d623948dc33bd0d3e0e6c616ebab (patch)
tree4e0f85a3e5800e1c6d24e3897c2df6e5129cbf86 /include/rootston
parentc4666918fade3f99fa7718852ebdfa0c35863cb8 (diff)
parent746e3759b7a350a5e9124f365cac0279810781d1 (diff)
Merge pull request #783 from swaywm/layer-input
Add pointer input to layer surfaces
Diffstat (limited to 'include/rootston')
-rw-r--r--include/rootston/desktop.h7
-rw-r--r--include/rootston/output.h1
2 files changed, 4 insertions, 4 deletions
diff --git a/include/rootston/desktop.h b/include/rootston/desktop.h
index 5714aa0a..c1dcad56 100644
--- a/include/rootston/desktop.h
+++ b/include/rootston/desktop.h
@@ -1,6 +1,5 @@
#ifndef ROOTSTON_DESKTOP_H
#define ROOTSTON_DESKTOP_H
-
#include <time.h>
#include <wayland-server.h>
#include <wlr/config.h>
@@ -73,8 +72,10 @@ 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);
diff --git a/include/rootston/output.h b/include/rootston/output.h
index bf152038..f78ee81d 100644
--- a/include/rootston/output.h
+++ b/include/rootston/output.h
@@ -1,6 +1,5 @@
#ifndef ROOTSTON_OUTPUT_H
#define ROOTSTON_OUTPUT_H
-
#include <pixman.h>
#include <time.h>
#include <wayland-server.h>