From c650690bcc4acdd215d674c08beb12d0b50deb7e Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Wed, 13 Jan 2021 14:00:25 +1100 Subject: [PATCH] [client] wm: fix duplicate declaration of static struct --- client/src/wm.c | 2 +- client/src/wm.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/wm.c b/client/src/wm.c index 95e429e3..8d95f59d 100644 --- a/client/src/wm.c +++ b/client/src/wm.c @@ -273,7 +273,7 @@ static void pointerAxisHandler(void * data, struct wl_pointer * pointer, // Do nothing. } -static void pointerButtonHandler(void *data, struct wl_pointer *pointer, +static void pointerButtonHandler(void *data, struct wl_pointer *pointer, uint32_t serial, uint32_t time, uint32_t button, uint32_t stateW) { // Do nothing. diff --git a/client/src/wm.h b/client/src/wm.h index 5186805c..7c2bcf45 100644 --- a/client/src/wm.h +++ b/client/src/wm.h @@ -52,7 +52,7 @@ struct WMDataWayland struct zwp_confined_pointer_v1 * confinedPointer; }; -struct WMState g_wmState; +extern struct WMState g_wmState; void wmInit(); void wmFree();