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();