From 1127c0e6e5345fef05198c28734f4154a2bbd199 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Tue, 8 Apr 2014 17:20:42 +0200 Subject: [PATCH] Renamed Wayland files to match prefix. --- src/CMakeLists.txt | 8 ++++---- src/internal.h | 2 +- src/{wayland_clipboard.c => wl_clipboard.c} | 0 src/{wayland_gamma.c => wl_gamma.c} | 0 src/{wayland_init.c => wl_init.c} | 0 src/{wayland_monitor.c => wl_monitor.c} | 0 src/{wayland_platform.h => wl_platform.h} | 0 src/{wayland_window.c => wl_window.c} | 0 8 files changed, 5 insertions(+), 5 deletions(-) rename src/{wayland_clipboard.c => wl_clipboard.c} (100%) rename src/{wayland_gamma.c => wl_gamma.c} (100%) rename src/{wayland_init.c => wl_init.c} (100%) rename src/{wayland_monitor.c => wl_monitor.c} (100%) rename src/{wayland_platform.h => wl_platform.h} (100%) rename src/{wayland_window.c => wl_window.c} (100%) 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