aboutsummaryrefslogtreecommitdiff
path: root/xwayland/xwayland.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-02-19 18:10:24 -0500
committerGitHub <noreply@github.com>2018-02-19 18:10:24 -0500
commitc4fb9651445bb7302a904b05583c064ff09cb48e (patch)
tree266f8d4438350bbaa56567f5553ca441e5d4f1be /xwayland/xwayland.c
parent09cfa39392bd049225b1be7590cd099131472bf2 (diff)
parent1d9be89e2d62316690ed211e50b79f2bec38e00f (diff)
Merge pull request #651 from swaywm/revert-647-elf_visibility
Revert "ELF Visibility"
Diffstat (limited to 'xwayland/xwayland.c')
-rw-r--r--xwayland/xwayland.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/xwayland/xwayland.c b/xwayland/xwayland.c
index 3ef4d41c..1d935180 100644
--- a/xwayland/xwayland.c
+++ b/xwayland/xwayland.c
@@ -20,7 +20,6 @@
#include <wlr/xwayland.h>
#include <wlr/xwm.h>
#include "sockets.h"
-#include "util/defs.h"
#include "util/signal.h"
#ifdef __FreeBSD__
@@ -337,14 +336,12 @@ static bool wlr_xwayland_start(struct wlr_xwayland *wlr_xwayland,
return true;
}
-WLR_API
void wlr_xwayland_destroy(struct wlr_xwayland *wlr_xwayland) {
wlr_xwayland_set_seat(wlr_xwayland, NULL);
wlr_xwayland_finish(wlr_xwayland);
free(wlr_xwayland);
}
-WLR_API
struct wlr_xwayland *wlr_xwayland_create(struct wl_display *wl_display,
struct wlr_compositor *compositor) {
struct wlr_xwayland *wlr_xwayland = calloc(1, sizeof(struct wlr_xwayland));
@@ -358,7 +355,6 @@ struct wlr_xwayland *wlr_xwayland_create(struct wl_display *wl_display,
return NULL;
}
-WLR_API
void wlr_xwayland_set_cursor(struct wlr_xwayland *wlr_xwayland,
uint8_t *pixels, uint32_t stride, uint32_t width, uint32_t height,
int32_t hotspot_x, int32_t hotspot_y) {
@@ -390,7 +386,6 @@ static void wlr_xwayland_handle_seat_destroy(struct wl_listener *listener,
wlr_xwayland_set_seat(xwayland, NULL);
}
-WLR_API
void wlr_xwayland_set_seat(struct wlr_xwayland *xwayland,
struct wlr_seat *seat) {
if (xwayland->seat) {