diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-08-10 07:40:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-10 07:40:37 -0400 |
commit | 947bb2e43696198373f028567b01a1f2159d3784 (patch) | |
tree | cf54dc7841429ee8fe0953ae2327ade52941741e /examples/compositor | |
parent | 750d0ad4583732ee24c998f46a62fc684f86bc48 (diff) | |
parent | 14654ecb77aaac5dcf4fd11c9e06c4bf16af7a53 (diff) |
Merge pull request #57 from acrisci/feature/create-region
implement compositor create region
Diffstat (limited to 'examples/compositor')
-rw-r--r-- | examples/compositor/wl_compositor.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/compositor/wl_compositor.c b/examples/compositor/wl_compositor.c index 89d23d6a..e5b1120e 100644 --- a/examples/compositor/wl_compositor.c +++ b/examples/compositor/wl_compositor.c @@ -3,6 +3,7 @@ #include <wayland-server.h> #include <wlr/util/log.h> #include <wlr/types/wlr_surface.h> +#include <wlr/types/wlr_region.h> #include "compositor.h" static void destroy_surface_listener(struct wl_listener *listener, void *data) { @@ -31,7 +32,7 @@ static void wl_compositor_create_surface(struct wl_client *client, static void wl_compositor_create_region(struct wl_client *client, struct wl_resource *resource, uint32_t id) { - wlr_log(L_DEBUG, "TODO: implement create_region"); + wlr_region_create(client, resource, id); } struct wl_compositor_interface wl_compositor_impl = { |