diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index bd725007..8604518a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -30,11 +30,11 @@ elseif (_GLFW_X11) x11_monitor.c x11_window.c x11_unicode.c linux_joystick.c posix_time.c posix_tls.c) elseif (_GLFW_WAYLAND) - set(glfw_HEADERS ${common_HEADERS} wayland_platform.h linux_joystick.h + set(glfw_HEADERS ${common_HEADERS} wl_platform.h linux_joystick.h posix_time.h posix_tls.h) - set(glfw_SOURCES ${common_SOURCES} wayland_clipboard.c wayland_gamma.c - wayland_init.c wayland_monitor.c wayland_window.c - linux_joystick.c posix_time.c posix_tls.c) + set(glfw_SOURCES ${common_SOURCES} wl_clipboard.c wl_gamma.c wl_init.c + wl_monitor.c wl_window.c linux_joystick.c posix_time.c + posix_tls.c) endif() if (_GLFW_EGL) diff --git a/src/internal.h b/src/internal.h index 9d267ced..4da395e9 100644 --- a/src/internal.h +++ b/src/internal.h @@ -73,7 +73,7 @@ typedef struct _GLFWcursor _GLFWcursor; #elif defined(_GLFW_X11) #include "x11_platform.h" #elif defined(_GLFW_WAYLAND) - #include "wayland_platform.h" + #include "wl_platform.h" #else #error "No supported window creation API selected" #endif diff --git a/src/wayland_clipboard.c b/src/wl_clipboard.c similarity index 100% rename from src/wayland_clipboard.c rename to src/wl_clipboard.c diff --git a/src/wayland_gamma.c b/src/wl_gamma.c similarity index 100% rename from src/wayland_gamma.c rename to src/wl_gamma.c diff --git a/src/wayland_init.c b/src/wl_init.c similarity index 100% rename from src/wayland_init.c rename to src/wl_init.c diff --git a/src/wayland_monitor.c b/src/wl_monitor.c similarity index 100% rename from src/wayland_monitor.c rename to src/wl_monitor.c diff --git a/src/wayland_platform.h b/src/wl_platform.h similarity index 100% rename from src/wayland_platform.h rename to src/wl_platform.h diff --git a/src/wayland_window.c b/src/wl_window.c similarity index 100% rename from src/wayland_window.c rename to src/wl_window.c