[client] wm: fix duplicate declaration of static struct

This commit is contained in:
Geoffrey McRae 2021-01-13 14:00:25 +11:00
parent fd009c6392
commit c650690bcc
2 changed files with 2 additions and 2 deletions

View file

@ -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.

View file

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