Wayland: Clean up pointer declarations

Adapt style to match the rest of the project.

(cherry picked from commit 4506175023)
This commit is contained in:
Camilla Löwy
2022-03-23 18:55:22 +01:00
parent 1ee540bf48
commit 3599fe4a78
4 changed files with 20 additions and 21 deletions
+7 -7
View File
@@ -471,9 +471,9 @@ static void checkScaleChange(_GLFWwindow* window)
}
}
static void surfaceHandleEnter(void *data,
struct wl_surface *surface,
struct wl_output *output)
static void surfaceHandleEnter(void* data,
struct wl_surface* surface,
struct wl_output* output)
{
_GLFWwindow* window = data;
_GLFWmonitor* monitor = wl_output_get_user_data(output);
@@ -491,9 +491,9 @@ static void surfaceHandleEnter(void *data,
checkScaleChange(window);
}
static void surfaceHandleLeave(void *data,
struct wl_surface *surface,
struct wl_output *output)
static void surfaceHandleLeave(void* data,
struct wl_surface* surface,
struct wl_output* output)
{
_GLFWwindow* window = data;
_GLFWmonitor* monitor = wl_output_get_user_data(output);
@@ -1371,7 +1371,7 @@ void _glfwPlatformSetWindowOpacity(_GLFWwindow* window, float opacity)
{
}
void _glfwPlatformSetRawMouseMotion(_GLFWwindow *window, GLFWbool enabled)
void _glfwPlatformSetRawMouseMotion(_GLFWwindow* window, GLFWbool enabled)
{
// This is handled in relativePointerHandleRelativeMotion
}