aboutsummaryrefslogtreecommitdiff
path: root/examples/compositor.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-08-19 17:40:45 -0400
committerGitHub <noreply@github.com>2017-08-19 17:40:45 -0400
commita1c3636d69fa6fa83d34f38bffc1640b17fed101 (patch)
treef8e14b54f6253541119c3e70ec16e03ee356c52f /examples/compositor.h
parentb876bea288bc4827a9de157eed481b823c081a4b (diff)
parent1ca08dc4cb5d7b05cb82025e7c69ccabd04c3ca8 (diff)
Merge pull request #115 from martinetd/move_wl_compositor
move wl_compositor into wlroots as wlr_compositor
Diffstat (limited to 'examples/compositor.h')
-rw-r--r--examples/compositor.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/examples/compositor.h b/examples/compositor.h
deleted file mode 100644
index b382cc7f..00000000
--- a/examples/compositor.h
+++ /dev/null
@@ -1,20 +0,0 @@
-#ifndef _EXAMPLE_COMPOSITOR_H
-#define _EXAMPLE_COMPOSITOR_H
-#include <wayland-server.h>
-#include <wlr/render.h>
-
-struct wl_compositor_state {
- struct wl_global *wl_global;
- struct wl_list wl_resources;
- struct wlr_renderer *renderer;
- struct wl_list surfaces;
- struct wl_listener destroy_surface_listener;
-};
-
-void wl_compositor_init(struct wl_display *display,
- struct wl_compositor_state *state, struct wlr_renderer *renderer);
-
-struct wlr_surface;
-void wl_compositor_surface_destroyed(struct wl_compositor_state *compositor,
- struct wlr_surface *surface);
-#endif