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
+6 -6
View File
@@ -46,7 +46,7 @@ static void outputHandleGeometry(void* data,
const char* model,
int32_t transform)
{
struct _GLFWmonitor *monitor = data;
struct _GLFWmonitor* monitor = data;
monitor->wl.x = x;
monitor->wl.y = y;
@@ -63,7 +63,7 @@ static void outputHandleMode(void* data,
int32_t height,
int32_t refresh)
{
struct _GLFWmonitor *monitor = data;
struct _GLFWmonitor* monitor = data;
GLFWvidmode mode;
mode.width = width;
@@ -84,7 +84,7 @@ static void outputHandleMode(void* data,
static void outputHandleDone(void* data, struct wl_output* output)
{
struct _GLFWmonitor *monitor = data;
struct _GLFWmonitor* monitor = data;
if (monitor->widthMM <= 0 || monitor->heightMM <= 0)
{
@@ -101,7 +101,7 @@ static void outputHandleScale(void* data,
struct wl_output* output,
int32_t factor)
{
struct _GLFWmonitor *monitor = data;
struct _GLFWmonitor* monitor = data;
monitor->wl.scale = factor;
}
@@ -120,8 +120,8 @@ static const struct wl_output_listener outputListener = {
void _glfwAddOutputWayland(uint32_t name, uint32_t version)
{
_GLFWmonitor *monitor;
struct wl_output *output;
_GLFWmonitor* monitor;
struct wl_output* output;
if (version < 2)
{