fix raylib running under xwayland rather than uh being wayland native, styled the program
Browse files
+3 −2 GNUmakefile
| @@ -2,9 +2,10 @@ CC = cc | ||
| 2 | 2 | # CC = tcc |
| 3 | 3 | CFLAGS = -Wall -std=c99 -D_DEFAULT_SOURCE -O2 |
| 4 | 4 | INCLUDES = -Iraylib/include |
| 5 | -LDFLAGS = -Lraylib -lraylib -lwayland-client -lwayland-cursor -lwayland-egl -lxkbcommon -lGL -lm -lpthread -ldl -lX11 | |
| 5 | +LDFLAGS = -Lraylib -lraylib -lwayland-client -lwayland-cursor -lwayland-egl -lxkbcommon -lGL -lm -lpthread -ldl | |
| 6 | 6 | TARGET = moosicpalyer |
| 7 | -PREFIX ?= /usr/local/ | |
| 7 | +PREFIX ?= /usr/local | |
| 8 | +USE_WAYLAND_DISPLAY ?= TRUE | |
| 8 | 9 | |
| 9 | 10 | all: $(TARGET) |
| 10 | 11 |
+32 −16 main.c
| @@ -4,18 +4,20 @@ | ||
| 4 | 4 | #include <libgen.h> |
| 5 | 5 | #include "raylib.h" |
| 6 | 6 | |
| 7 | +#define NUM_TEXTURES 5 | |
| 8 | + | |
| 7 | 9 | static void |
| 8 | 10 | get_system_font (char *dest, size_t max_len) |
| 9 | 11 | { |
| 10 | - snprintf( dest, max_len, "resources/IBMPlexSans-Bold.ttf"); | |
| 11 | - | |
| 12 | - FILE *f = popen("fc-match -f '%{file}' monospace", "r"); | |
| 12 | + snprintf (dest, max_len, "resources/IBMPlexSans-Bold.ttf"); | |
| 13 | + | |
| 14 | + FILE *f = popen ("fc-match -f '%{file}' monospace", "r"); | |
| 13 | 15 | if (f != NULL) |
| 14 | 16 | { |
| 15 | 17 | if (fgets (dest, max_len, f) != NULL) |
| 16 | - { | |
| 17 | - dest[strcspn (dest, "\r\n")] = 0; | |
| 18 | - } | |
| 18 | + { | |
| 19 | + dest[strcspn (dest, "\r\n")] = 0; | |
| 20 | + } | |
| 19 | 21 | pclose (f); |
| 20 | 22 | } |
| 21 | 23 | } |
| @@ -24,24 +26,31 @@ get_system_font (char *dest, size_t max_len) | ||
| 24 | 26 | int |
| 25 | 27 | main (int argc, char **argv) |
| 26 | 28 | { |
| 27 | - | |
| 29 | + /* SetConfigFlags(FLAG_WINDOW_RESIZABLE); */ | |
| 30 | + | |
| 28 | 31 | const int width = 1280; |
| 29 | 32 | const int height = 720; |
| 30 | 33 | |
| 31 | - | |
| 32 | 34 | InitWindow (width, height, "moosic palyer"); |
| 35 | + | |
| 36 | + Image checked = GenImageChecked (width, height, 32, 32, BLUE, DARKBLUE); | |
| 37 | + Texture2D textures[NUM_TEXTURES] = { 0 }; | |
| 38 | + textures[0] = LoadTextureFromImage (checked); | |
| 39 | + UnloadImage(checked); | |
| 40 | + | |
| 33 | 41 | SetTargetFPS (60); |
| 34 | 42 | InitAudioDevice (); |
| 35 | 43 | char font_path[512]; |
| 36 | 44 | get_system_font (font_path, sizeof (font_path)); |
| 37 | 45 | |
| 38 | 46 | Font font = LoadFont (font_path); |
| 39 | - | |
| 47 | + SetTextureFilter(font.texture, TEXTURE_FILTER_BILINEAR); | |
| 48 | + | |
| 40 | 49 | if (font.texture.id == 0) |
| 41 | 50 | { |
| 42 | 51 | TraceLog (LOG_WARNING, "Failed to load font"); |
| 43 | 52 | } |
| 44 | - | |
| 53 | + | |
| 45 | 54 | Music song; |
| 46 | 55 | char song_path[1024]; |
| 47 | 56 | if (argc > 1) |
| @@ -53,12 +62,9 @@ main (int argc, char **argv) | ||
| 53 | 62 | } |
| 54 | 63 | else |
| 55 | 64 | { |
| 56 | - | |
| 57 | 65 | FILE *f = popen ("zenity --file-selection", "r"); |
| 58 | 66 | if (f != NULL) |
| 59 | 67 | { |
| 60 | - | |
| 61 | - | |
| 62 | 68 | if (fgets (song_path, sizeof (song_path), f) != NULL) |
| 63 | 69 | { |
| 64 | 70 | song_path[strcspn (song_path, "\n")] = 0; |
| @@ -70,7 +76,9 @@ main (int argc, char **argv) | ||
| 70 | 76 | } |
| 71 | 77 | |
| 72 | 78 | while (!WindowShouldClose ()) |
| 73 | - { | |
| 79 | + { | |
| 80 | + DrawTexture(textures[0], 0, 0, WHITE); | |
| 81 | + | |
| 74 | 82 | UpdateMusicStream (song); |
| 75 | 83 | float vol = GetMasterVolume (); |
| 76 | 84 | float total = GetMusicTimeLength (song); |
| @@ -127,9 +135,9 @@ main (int argc, char **argv) | ||
| 127 | 135 | TextFormat ("%d:%02d / %d:%02d", tp / 60, tp % 60, tt / 60, tt % 60); |
| 128 | 136 | |
| 129 | 137 | |
| 130 | - int font_size = 24; | |
| 138 | + int font_size = 20; | |
| 131 | 139 | float spacing = 1.0f; |
| 132 | - float line_spacing = 35.0f; | |
| 140 | + float line_spacing = 45.0f; | |
| 133 | 141 | |
| 134 | 142 | Vector2 width1 = |
| 135 | 143 | MeasureTextEx (font, line1, (float) font_size, spacing); |
| @@ -142,7 +150,14 @@ main (int argc, char **argv) | ||
| 142 | 150 | int x2 = (width - (int) width2.x) / 2; |
| 143 | 151 | int x3 = (width - (int) width3.x) / 2; |
| 144 | 152 | int start_y = (height - 60) / 2; |
| 153 | + | |
| 154 | + float padding_x = 16.0f; | |
| 155 | + float padding_y = 12.5f; | |
| 145 | 156 | |
| 157 | + DrawRectangle((int)(x1 - padding_x), (int)(start_y - padding_y), (int)(width1.x + padding_x * 2), (int)(width1.y + padding_y * 2), Fade(BLACK, 0.9f)); | |
| 158 | + DrawRectangle((int)(x1 - padding_x), (int)(start_y + line_spacing - padding_y), (int)(width1.x + padding_x * 2), (int)(width1.y + padding_y * 2), Fade(BLACK, 0.9f)); | |
| 159 | + DrawRectangle((int)(x1 - padding_x), (int)(start_y + line_spacing * 2 - padding_y), (int)(width1.x + padding_x * 2), (int)(width1.y + padding_y * 2), Fade(BLACK, 0.9f)); | |
| 160 | + | |
| 146 | 161 | DrawTextEx (font, line1, (Vector2) |
| 147 | 162 | { |
| 148 | 163 | (float) x1, (float) start_y}, (float) font_size, spacing, |
| @@ -159,6 +174,7 @@ main (int argc, char **argv) | ||
| 159 | 174 | EndDrawing (); |
| 160 | 175 | } |
| 161 | 176 | |
| 177 | + UnloadTexture (textures[0]); | |
| 162 | 178 | UnloadMusicStream (song); |
| 163 | 179 | UnloadFont (font); |
| 164 | 180 | CloseAudioDevice (); |
+0 −0 moosicpalyer new file mode 100755, Binary files /dev/null and b/moosicpalyer differ
+1 −1 raylib/CMakeFiles/Export/242053f21705361cae06cecf1a5dc4f4/raylib-targets.cmake
| @@ -61,7 +61,7 @@ add_library(raylib STATIC IMPORTED) | ||
| 61 | 61 | set_target_properties(raylib PROPERTIES |
| 62 | 62 | INTERFACE_COMPILE_DEFINITIONS "PLATFORM_DESKTOP;GRAPHICS_API_OPENGL_33" |
| 63 | 63 | INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include" |
| 64 | - INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:>;m;\$<LINK_ONLY:pthread>;\$<LINK_ONLY:/usr/lib/libOpenGL.so>;\$<LINK_ONLY:/usr/lib/libGLX.so>;\$<LINK_ONLY:/usr/lib/libGLU.so>;/usr/lib/libSM.so;/usr/lib/libICE.so;/usr/lib/libX11.so;/usr/lib/libXext.so" | |
| 64 | + INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:>;m;\$<LINK_ONLY:pthread>;\$<LINK_ONLY:/usr/lib/libOpenGL.so>;\$<LINK_ONLY:/usr/lib/libGLX.so>;\$<LINK_ONLY:/usr/lib/libGLU.so>" | |
| 65 | 65 | ) |
| 66 | 66 | |
| 67 | 67 | # Load information for each installed configuration. |
+1 −1 raylib/CMakeFiles/progress.marks
| @@ -1 +1 @@ | ||
| 1 | -6 | |
| 1 | +9 |
+6 −10 raylib/CMakeFiles/raylib.dir/build.make
| @@ -183,11 +183,9 @@ raylib_EXTERNAL_OBJECTS = \ | ||
| 183 | 183 | "/home/fordon/projects/c/raylib/build/raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_module.c.o" \ |
| 184 | 184 | "/home/fordon/projects/c/raylib/build/raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_time.c.o" \ |
| 185 | 185 | "/home/fordon/projects/c/raylib/build/raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_thread.c.o" \ |
| 186 | -"/home/fordon/projects/c/raylib/build/raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_init.c.o" \ | |
| 187 | -"/home/fordon/projects/c/raylib/build/raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_monitor.c.o" \ | |
| 188 | -"/home/fordon/projects/c/raylib/build/raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_window.c.o" \ | |
| 189 | -"/home/fordon/projects/c/raylib/build/raylib/external/glfw/src/CMakeFiles/glfw.dir/xkb_unicode.c.o" \ | |
| 190 | -"/home/fordon/projects/c/raylib/build/raylib/external/glfw/src/CMakeFiles/glfw.dir/glx_context.c.o" \ | |
| 186 | +"/home/fordon/projects/c/raylib/build/raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_init.c.o" \ | |
| 187 | +"/home/fordon/projects/c/raylib/build/raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_monitor.c.o" \ | |
| 188 | +"/home/fordon/projects/c/raylib/build/raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_window.c.o" \ | |
| 191 | 189 | "/home/fordon/projects/c/raylib/build/raylib/external/glfw/src/CMakeFiles/glfw.dir/linux_joystick.c.o" \ |
| 192 | 190 | "/home/fordon/projects/c/raylib/build/raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_poll.c.o" |
| 193 | 191 | |
| @@ -213,11 +211,9 @@ raylib/libraylib.a: raylib/external/glfw/src/CMakeFiles/glfw.dir/null_joystick.c | ||
| 213 | 211 | raylib/libraylib.a: raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_module.c.o |
| 214 | 212 | raylib/libraylib.a: raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_time.c.o |
| 215 | 213 | raylib/libraylib.a: raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_thread.c.o |
| 216 | -raylib/libraylib.a: raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_init.c.o | |
| 217 | -raylib/libraylib.a: raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_monitor.c.o | |
| 218 | -raylib/libraylib.a: raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_window.c.o | |
| 219 | -raylib/libraylib.a: raylib/external/glfw/src/CMakeFiles/glfw.dir/xkb_unicode.c.o | |
| 220 | -raylib/libraylib.a: raylib/external/glfw/src/CMakeFiles/glfw.dir/glx_context.c.o | |
| 214 | +raylib/libraylib.a: raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_init.c.o | |
| 215 | +raylib/libraylib.a: raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_monitor.c.o | |
| 216 | +raylib/libraylib.a: raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_window.c.o | |
| 221 | 217 | raylib/libraylib.a: raylib/external/glfw/src/CMakeFiles/glfw.dir/linux_joystick.c.o |
| 222 | 218 | raylib/libraylib.a: raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_poll.c.o |
| 223 | 219 | raylib/libraylib.a: raylib/CMakeFiles/raylib.dir/build.make |
+1 −1 raylib/CMakeFiles/raylib.dir/flags.make
| @@ -2,7 +2,7 @@ | ||
| 2 | 2 | # Generated by "Unix Makefiles" Generator, CMake Version 4.2 |
| 3 | 3 | |
| 4 | 4 | # compile C with /usr/bin/cc |
| 5 | -C_DEFINES = -DEXTERNAL_CONFIG_FLAGS -DGRAPHICS_API_OPENGL_33 -DPLATFORM_DESKTOP -DRLGL_ENABLE_OPENGL_DEBUG_CONTEXT=0 -DRLGL_SHOW_GL_DETAILS_INFO=0 -DSUPPORT_AUTOMATION_EVENTS -DSUPPORT_CAMERA_SYSTEM -DSUPPORT_CLIPBOARD_IMAGE -DSUPPORT_COMPRESSION_API -DSUPPORT_FILEFORMAT_BMP -DSUPPORT_FILEFORMAT_DDS -DSUPPORT_FILEFORMAT_FNT -DSUPPORT_FILEFORMAT_GIF -DSUPPORT_FILEFORMAT_GLTF -DSUPPORT_FILEFORMAT_IQM -DSUPPORT_FILEFORMAT_M3D -DSUPPORT_FILEFORMAT_MOD -DSUPPORT_FILEFORMAT_MP3 -DSUPPORT_FILEFORMAT_MTL -DSUPPORT_FILEFORMAT_OBJ -DSUPPORT_FILEFORMAT_OGG -DSUPPORT_FILEFORMAT_PNG -DSUPPORT_FILEFORMAT_QOA -DSUPPORT_FILEFORMAT_QOI -DSUPPORT_FILEFORMAT_TTF -DSUPPORT_FILEFORMAT_VOX -DSUPPORT_FILEFORMAT_WAV -DSUPPORT_FILEFORMAT_XM -DSUPPORT_GESTURES_SYSTEM -DSUPPORT_GPU_SKINNING -DSUPPORT_IMAGE_EXPORT -DSUPPORT_IMAGE_GENERATION -DSUPPORT_MESH_GENERATION -DSUPPORT_MODULE_RAUDIO -DSUPPORT_MODULE_RMODELS -DSUPPORT_MODULE_RSHAPES -DSUPPORT_MODULE_RTEXT -DSUPPORT_MODULE_RTEXTURES -DSUPPORT_MOUSE_GESTURES -DSUPPORT_PARTIALBUSY_WAIT_LOOP -DSUPPORT_QUADS_DRAW_MODE -DSUPPORT_RPRAND_GENERATOR -DSUPPORT_SCREEN_CAPTURE -DSUPPORT_SSH_KEYBOARD_RPI -DSUPPORT_TRACELOG -DSUPPORT_WINMM_HIGHRES_TIMER -D_GLFW_X11 | |
| 5 | +C_DEFINES = -DEXTERNAL_CONFIG_FLAGS -DGRAPHICS_API_OPENGL_33 -DPLATFORM_DESKTOP -DRLGL_ENABLE_OPENGL_DEBUG_CONTEXT=0 -DRLGL_SHOW_GL_DETAILS_INFO=0 -DSUPPORT_AUTOMATION_EVENTS -DSUPPORT_CAMERA_SYSTEM -DSUPPORT_CLIPBOARD_IMAGE -DSUPPORT_COMPRESSION_API -DSUPPORT_FILEFORMAT_BMP -DSUPPORT_FILEFORMAT_DDS -DSUPPORT_FILEFORMAT_FNT -DSUPPORT_FILEFORMAT_GIF -DSUPPORT_FILEFORMAT_GLTF -DSUPPORT_FILEFORMAT_IQM -DSUPPORT_FILEFORMAT_M3D -DSUPPORT_FILEFORMAT_MOD -DSUPPORT_FILEFORMAT_MP3 -DSUPPORT_FILEFORMAT_MTL -DSUPPORT_FILEFORMAT_OBJ -DSUPPORT_FILEFORMAT_OGG -DSUPPORT_FILEFORMAT_PNG -DSUPPORT_FILEFORMAT_QOA -DSUPPORT_FILEFORMAT_QOI -DSUPPORT_FILEFORMAT_TTF -DSUPPORT_FILEFORMAT_VOX -DSUPPORT_FILEFORMAT_WAV -DSUPPORT_FILEFORMAT_XM -DSUPPORT_GESTURES_SYSTEM -DSUPPORT_GPU_SKINNING -DSUPPORT_IMAGE_EXPORT -DSUPPORT_IMAGE_GENERATION -DSUPPORT_MESH_GENERATION -DSUPPORT_MODULE_RAUDIO -DSUPPORT_MODULE_RMODELS -DSUPPORT_MODULE_RSHAPES -DSUPPORT_MODULE_RTEXT -DSUPPORT_MODULE_RTEXTURES -DSUPPORT_MOUSE_GESTURES -DSUPPORT_PARTIALBUSY_WAIT_LOOP -DSUPPORT_QUADS_DRAW_MODE -DSUPPORT_RPRAND_GENERATOR -DSUPPORT_SCREEN_CAPTURE -DSUPPORT_SSH_KEYBOARD_RPI -DSUPPORT_TRACELOG -DSUPPORT_WINMM_HIGHRES_TIMER | |
| 6 | 6 | |
| 7 | 7 | C_INCLUDES = -I/home/fordon/projects/c/raylib/src -isystem /home/fordon/projects/c/raylib/src/external/glfw/include |
| 8 | 8 |
+1 −1 raylib/CMakeFiles/raylib.dir/link.txt
| @@ -1,2 +1,2 @@ | ||
| 1 | -/usr/bin/ar qc libraylib.a CMakeFiles/raylib.dir/rcore.c.o CMakeFiles/raylib.dir/rshapes.c.o CMakeFiles/raylib.dir/rtext.c.o CMakeFiles/raylib.dir/rtextures.c.o CMakeFiles/raylib.dir/raudio.c.o CMakeFiles/raylib.dir/rmodels.c.o external/glfw/src/CMakeFiles/glfw.dir/context.c.o external/glfw/src/CMakeFiles/glfw.dir/init.c.o external/glfw/src/CMakeFiles/glfw.dir/input.c.o external/glfw/src/CMakeFiles/glfw.dir/monitor.c.o external/glfw/src/CMakeFiles/glfw.dir/platform.c.o external/glfw/src/CMakeFiles/glfw.dir/vulkan.c.o external/glfw/src/CMakeFiles/glfw.dir/window.c.o external/glfw/src/CMakeFiles/glfw.dir/egl_context.c.o external/glfw/src/CMakeFiles/glfw.dir/osmesa_context.c.o external/glfw/src/CMakeFiles/glfw.dir/null_init.c.o external/glfw/src/CMakeFiles/glfw.dir/null_monitor.c.o external/glfw/src/CMakeFiles/glfw.dir/null_window.c.o external/glfw/src/CMakeFiles/glfw.dir/null_joystick.c.o external/glfw/src/CMakeFiles/glfw.dir/posix_module.c.o external/glfw/src/CMakeFiles/glfw.dir/posix_time.c.o external/glfw/src/CMakeFiles/glfw.dir/posix_thread.c.o external/glfw/src/CMakeFiles/glfw.dir/x11_init.c.o external/glfw/src/CMakeFiles/glfw.dir/x11_monitor.c.o external/glfw/src/CMakeFiles/glfw.dir/x11_window.c.o external/glfw/src/CMakeFiles/glfw.dir/xkb_unicode.c.o external/glfw/src/CMakeFiles/glfw.dir/glx_context.c.o external/glfw/src/CMakeFiles/glfw.dir/linux_joystick.c.o external/glfw/src/CMakeFiles/glfw.dir/posix_poll.c.o | |
| 1 | +/usr/bin/ar qc libraylib.a CMakeFiles/raylib.dir/rcore.c.o CMakeFiles/raylib.dir/rshapes.c.o CMakeFiles/raylib.dir/rtext.c.o CMakeFiles/raylib.dir/rtextures.c.o CMakeFiles/raylib.dir/raudio.c.o CMakeFiles/raylib.dir/rmodels.c.o external/glfw/src/CMakeFiles/glfw.dir/context.c.o external/glfw/src/CMakeFiles/glfw.dir/init.c.o external/glfw/src/CMakeFiles/glfw.dir/input.c.o external/glfw/src/CMakeFiles/glfw.dir/monitor.c.o external/glfw/src/CMakeFiles/glfw.dir/platform.c.o external/glfw/src/CMakeFiles/glfw.dir/vulkan.c.o external/glfw/src/CMakeFiles/glfw.dir/window.c.o external/glfw/src/CMakeFiles/glfw.dir/egl_context.c.o external/glfw/src/CMakeFiles/glfw.dir/osmesa_context.c.o external/glfw/src/CMakeFiles/glfw.dir/null_init.c.o external/glfw/src/CMakeFiles/glfw.dir/null_monitor.c.o external/glfw/src/CMakeFiles/glfw.dir/null_window.c.o external/glfw/src/CMakeFiles/glfw.dir/null_joystick.c.o external/glfw/src/CMakeFiles/glfw.dir/posix_module.c.o external/glfw/src/CMakeFiles/glfw.dir/posix_time.c.o external/glfw/src/CMakeFiles/glfw.dir/posix_thread.c.o external/glfw/src/CMakeFiles/glfw.dir/wl_init.c.o external/glfw/src/CMakeFiles/glfw.dir/wl_monitor.c.o external/glfw/src/CMakeFiles/glfw.dir/wl_window.c.o external/glfw/src/CMakeFiles/glfw.dir/linux_joystick.c.o external/glfw/src/CMakeFiles/glfw.dir/posix_poll.c.o | |
| 2 | 2 | /usr/bin/ranlib libraylib.a |
+2 −2 raylib/CMakeFiles/raylib.dir/progress.make
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | CMAKE_PROGRESS_1 = |
| 2 | 2 | CMAKE_PROGRESS_2 = |
| 3 | -CMAKE_PROGRESS_3 = 44 | |
| 4 | -CMAKE_PROGRESS_4 = | |
| 3 | +CMAKE_PROGRESS_3 = | |
| 4 | +CMAKE_PROGRESS_4 = 46 | |
| 5 | 5 | CMAKE_PROGRESS_5 = |
| 6 | 6 | CMAKE_PROGRESS_6 = |
| 7 | 7 | CMAKE_PROGRESS_7 = |
+0 −0 raylib/CMakeFiles/raylib.dir/rcore.c.o Binary files a/raylib/CMakeFiles/raylib.dir/rcore.c.o and b/raylib/CMakeFiles/raylib.dir/rcore.c.o differ
+1 −9 raylib/CMakeFiles/raylib.dir/rcore.c.o.d
| @@ -65,12 +65,4 @@ raylib/CMakeFiles/raylib.dir/rcore.c.o: \ | ||
| 65 | 65 | /home/fordon/projects/c/raylib/src/external/glfw/include/GLFW/glfw3.h \ |
| 66 | 66 | /usr/include/sys/time.h /usr/include/bits/types/struct_timeval.h \ |
| 67 | 67 | /usr/include/sys/select.h /usr/include/bits/select.h \ |
| 68 | - /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \ | |
| 69 | - /home/fordon/projects/c/raylib/src/external/glfw/include/GLFW/glfw3native.h \ | |
| 70 | - /usr/include/X11/Xlib.h /usr/include/X11/X.h \ | |
| 71 | - /usr/include/X11/Xfuncproto.h /usr/include/X11/Xosdefs.h \ | |
| 72 | - /usr/include/X11/extensions/Xrandr.h /usr/include/X11/extensions/randr.h \ | |
| 73 | - /usr/include/X11/extensions/Xrender.h /usr/include/X11/Xutil.h \ | |
| 74 | - /usr/include/X11/Xresource.h /usr/include/X11/keysym.h \ | |
| 75 | - /usr/include/X11/keysymdef.h /usr/include/X11/extensions/render.h \ | |
| 76 | - /usr/include/X11/Xdefs.h | |
| 68 | + /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h |
+1 −1 raylib/external/glfw/CMakeFiles/progress.marks
| @@ -1 +1 @@ | ||
| 1 | -5 | |
| 1 | +8 |
+3 −5 raylib/external/glfw/src/CMakeFiles/glfw.dir/DependInfo.cmake
| @@ -10,7 +10,6 @@ set(CMAKE_DEPENDS_LANGUAGES | ||
| 10 | 10 | set(CMAKE_DEPENDS_DEPENDENCY_FILES |
| 11 | 11 | "/home/fordon/projects/c/raylib/src/external/glfw/src/context.c" "raylib/external/glfw/src/CMakeFiles/glfw.dir/context.c.o" "gcc" "raylib/external/glfw/src/CMakeFiles/glfw.dir/context.c.o.d" |
| 12 | 12 | "/home/fordon/projects/c/raylib/src/external/glfw/src/egl_context.c" "raylib/external/glfw/src/CMakeFiles/glfw.dir/egl_context.c.o" "gcc" "raylib/external/glfw/src/CMakeFiles/glfw.dir/egl_context.c.o.d" |
| 13 | - "/home/fordon/projects/c/raylib/src/external/glfw/src/glx_context.c" "raylib/external/glfw/src/CMakeFiles/glfw.dir/glx_context.c.o" "gcc" "raylib/external/glfw/src/CMakeFiles/glfw.dir/glx_context.c.o.d" | |
| 14 | 13 | "/home/fordon/projects/c/raylib/src/external/glfw/src/init.c" "raylib/external/glfw/src/CMakeFiles/glfw.dir/init.c.o" "gcc" "raylib/external/glfw/src/CMakeFiles/glfw.dir/init.c.o.d" |
| 15 | 14 | "/home/fordon/projects/c/raylib/src/external/glfw/src/input.c" "raylib/external/glfw/src/CMakeFiles/glfw.dir/input.c.o" "gcc" "raylib/external/glfw/src/CMakeFiles/glfw.dir/input.c.o.d" |
| 16 | 15 | "/home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.c" "raylib/external/glfw/src/CMakeFiles/glfw.dir/linux_joystick.c.o" "gcc" "raylib/external/glfw/src/CMakeFiles/glfw.dir/linux_joystick.c.o.d" |
| @@ -27,10 +26,9 @@ set(CMAKE_DEPENDS_DEPENDENCY_FILES | ||
| 27 | 26 | "/home/fordon/projects/c/raylib/src/external/glfw/src/posix_time.c" "raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_time.c.o" "gcc" "raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_time.c.o.d" |
| 28 | 27 | "/home/fordon/projects/c/raylib/src/external/glfw/src/vulkan.c" "raylib/external/glfw/src/CMakeFiles/glfw.dir/vulkan.c.o" "gcc" "raylib/external/glfw/src/CMakeFiles/glfw.dir/vulkan.c.o.d" |
| 29 | 28 | "/home/fordon/projects/c/raylib/src/external/glfw/src/window.c" "raylib/external/glfw/src/CMakeFiles/glfw.dir/window.c.o" "gcc" "raylib/external/glfw/src/CMakeFiles/glfw.dir/window.c.o.d" |
| 30 | - "/home/fordon/projects/c/raylib/src/external/glfw/src/x11_init.c" "raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_init.c.o" "gcc" "raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_init.c.o.d" | |
| 31 | - "/home/fordon/projects/c/raylib/src/external/glfw/src/x11_monitor.c" "raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_monitor.c.o" "gcc" "raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_monitor.c.o.d" | |
| 32 | - "/home/fordon/projects/c/raylib/src/external/glfw/src/x11_window.c" "raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_window.c.o" "gcc" "raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_window.c.o.d" | |
| 33 | - "/home/fordon/projects/c/raylib/src/external/glfw/src/xkb_unicode.c" "raylib/external/glfw/src/CMakeFiles/glfw.dir/xkb_unicode.c.o" "gcc" "raylib/external/glfw/src/CMakeFiles/glfw.dir/xkb_unicode.c.o.d" | |
| 29 | + "/home/fordon/projects/c/raylib/src/external/glfw/src/wl_init.c" "raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_init.c.o" "gcc" "raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_init.c.o.d" | |
| 30 | + "/home/fordon/projects/c/raylib/src/external/glfw/src/wl_monitor.c" "raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_monitor.c.o" "gcc" "raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_monitor.c.o.d" | |
| 31 | + "/home/fordon/projects/c/raylib/src/external/glfw/src/wl_window.c" "raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_window.c.o" "gcc" "raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_window.c.o.d" | |
| 34 | 32 | ) |
| 35 | 33 | |
| 36 | 34 | # Targets to which this target links which contain Fortran sources. |
+152 −93 raylib/external/glfw/src/CMakeFiles/glfw.dir/build.make
| @@ -69,13 +69,85 @@ include raylib/external/glfw/src/CMakeFiles/glfw.dir/progress.make | ||
| 69 | 69 | # Include the compile flags for this target's objects. |
| 70 | 70 | include raylib/external/glfw/src/CMakeFiles/glfw.dir/flags.make |
| 71 | 71 | |
| 72 | +raylib/external/glfw/src/wayland-client-protocol.h: /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/wayland.xml | |
| 73 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --blue --bold --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Generating wayland-client-protocol.h" | |
| 74 | + cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/wayland-scanner client-header /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/wayland.xml wayland-client-protocol.h | |
| 75 | + | |
| 76 | +raylib/external/glfw/src/wayland-client-protocol-code.h: /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/wayland.xml | |
| 77 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --blue --bold --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Generating wayland-client-protocol-code.h" | |
| 78 | + cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/wayland-scanner private-code /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/wayland.xml wayland-client-protocol-code.h | |
| 79 | + | |
| 80 | +raylib/external/glfw/src/viewporter-client-protocol.h: /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/viewporter.xml | |
| 81 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --blue --bold --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Generating viewporter-client-protocol.h" | |
| 82 | + cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/wayland-scanner client-header /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/viewporter.xml viewporter-client-protocol.h | |
| 83 | + | |
| 84 | +raylib/external/glfw/src/viewporter-client-protocol-code.h: /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/viewporter.xml | |
| 85 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --blue --bold --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_4) "Generating viewporter-client-protocol-code.h" | |
| 86 | + cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/wayland-scanner private-code /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/viewporter.xml viewporter-client-protocol-code.h | |
| 87 | + | |
| 88 | +raylib/external/glfw/src/xdg-shell-client-protocol.h: /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/xdg-shell.xml | |
| 89 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --blue --bold --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_5) "Generating xdg-shell-client-protocol.h" | |
| 90 | + cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/wayland-scanner client-header /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/xdg-shell.xml xdg-shell-client-protocol.h | |
| 91 | + | |
| 92 | +raylib/external/glfw/src/xdg-shell-client-protocol-code.h: /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/xdg-shell.xml | |
| 93 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --blue --bold --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_6) "Generating xdg-shell-client-protocol-code.h" | |
| 94 | + cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/wayland-scanner private-code /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/xdg-shell.xml xdg-shell-client-protocol-code.h | |
| 95 | + | |
| 96 | +raylib/external/glfw/src/idle-inhibit-unstable-v1-client-protocol.h: /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/idle-inhibit-unstable-v1.xml | |
| 97 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --blue --bold --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_7) "Generating idle-inhibit-unstable-v1-client-protocol.h" | |
| 98 | + cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/wayland-scanner client-header /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/idle-inhibit-unstable-v1.xml idle-inhibit-unstable-v1-client-protocol.h | |
| 99 | + | |
| 100 | +raylib/external/glfw/src/idle-inhibit-unstable-v1-client-protocol-code.h: /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/idle-inhibit-unstable-v1.xml | |
| 101 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --blue --bold --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_8) "Generating idle-inhibit-unstable-v1-client-protocol-code.h" | |
| 102 | + cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/wayland-scanner private-code /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/idle-inhibit-unstable-v1.xml idle-inhibit-unstable-v1-client-protocol-code.h | |
| 103 | + | |
| 104 | +raylib/external/glfw/src/pointer-constraints-unstable-v1-client-protocol.h: /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/pointer-constraints-unstable-v1.xml | |
| 105 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --blue --bold --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_9) "Generating pointer-constraints-unstable-v1-client-protocol.h" | |
| 106 | + cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/wayland-scanner client-header /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/pointer-constraints-unstable-v1.xml pointer-constraints-unstable-v1-client-protocol.h | |
| 107 | + | |
| 108 | +raylib/external/glfw/src/pointer-constraints-unstable-v1-client-protocol-code.h: /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/pointer-constraints-unstable-v1.xml | |
| 109 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --blue --bold --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_10) "Generating pointer-constraints-unstable-v1-client-protocol-code.h" | |
| 110 | + cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/wayland-scanner private-code /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/pointer-constraints-unstable-v1.xml pointer-constraints-unstable-v1-client-protocol-code.h | |
| 111 | + | |
| 112 | +raylib/external/glfw/src/relative-pointer-unstable-v1-client-protocol.h: /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/relative-pointer-unstable-v1.xml | |
| 113 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --blue --bold --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_11) "Generating relative-pointer-unstable-v1-client-protocol.h" | |
| 114 | + cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/wayland-scanner client-header /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/relative-pointer-unstable-v1.xml relative-pointer-unstable-v1-client-protocol.h | |
| 115 | + | |
| 116 | +raylib/external/glfw/src/relative-pointer-unstable-v1-client-protocol-code.h: /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/relative-pointer-unstable-v1.xml | |
| 117 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --blue --bold --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_12) "Generating relative-pointer-unstable-v1-client-protocol-code.h" | |
| 118 | + cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/wayland-scanner private-code /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/relative-pointer-unstable-v1.xml relative-pointer-unstable-v1-client-protocol-code.h | |
| 119 | + | |
| 120 | +raylib/external/glfw/src/fractional-scale-v1-client-protocol.h: /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/fractional-scale-v1.xml | |
| 121 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --blue --bold --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_13) "Generating fractional-scale-v1-client-protocol.h" | |
| 122 | + cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/wayland-scanner client-header /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/fractional-scale-v1.xml fractional-scale-v1-client-protocol.h | |
| 123 | + | |
| 124 | +raylib/external/glfw/src/fractional-scale-v1-client-protocol-code.h: /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/fractional-scale-v1.xml | |
| 125 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --blue --bold --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_14) "Generating fractional-scale-v1-client-protocol-code.h" | |
| 126 | + cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/wayland-scanner private-code /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/fractional-scale-v1.xml fractional-scale-v1-client-protocol-code.h | |
| 127 | + | |
| 128 | +raylib/external/glfw/src/xdg-activation-v1-client-protocol.h: /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/xdg-activation-v1.xml | |
| 129 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --blue --bold --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_15) "Generating xdg-activation-v1-client-protocol.h" | |
| 130 | + cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/wayland-scanner client-header /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/xdg-activation-v1.xml xdg-activation-v1-client-protocol.h | |
| 131 | + | |
| 132 | +raylib/external/glfw/src/xdg-activation-v1-client-protocol-code.h: /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/xdg-activation-v1.xml | |
| 133 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --blue --bold --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_16) "Generating xdg-activation-v1-client-protocol-code.h" | |
| 134 | + cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/wayland-scanner private-code /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/xdg-activation-v1.xml xdg-activation-v1-client-protocol-code.h | |
| 135 | + | |
| 136 | +raylib/external/glfw/src/xdg-decoration-unstable-v1-client-protocol.h: /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/xdg-decoration-unstable-v1.xml | |
| 137 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --blue --bold --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_17) "Generating xdg-decoration-unstable-v1-client-protocol.h" | |
| 138 | + cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/wayland-scanner client-header /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/xdg-decoration-unstable-v1.xml xdg-decoration-unstable-v1-client-protocol.h | |
| 139 | + | |
| 140 | +raylib/external/glfw/src/xdg-decoration-unstable-v1-client-protocol-code.h: /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/xdg-decoration-unstable-v1.xml | |
| 141 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --blue --bold --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_18) "Generating xdg-decoration-unstable-v1-client-protocol-code.h" | |
| 142 | + cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/wayland-scanner private-code /home/fordon/projects/c/raylib/src/external/glfw/deps/wayland/xdg-decoration-unstable-v1.xml xdg-decoration-unstable-v1-client-protocol-code.h | |
| 143 | + | |
| 72 | 144 | raylib/external/glfw/src/CMakeFiles/glfw.dir/codegen: |
| 73 | 145 | .PHONY : raylib/external/glfw/src/CMakeFiles/glfw.dir/codegen |
| 74 | 146 | |
| 75 | 147 | raylib/external/glfw/src/CMakeFiles/glfw.dir/context.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/flags.make |
| 76 | 148 | raylib/external/glfw/src/CMakeFiles/glfw.dir/context.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/context.c |
| 77 | 149 | raylib/external/glfw/src/CMakeFiles/glfw.dir/context.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/compiler_depend.ts |
| 78 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/context.c.o" | |
| 150 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_19) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/context.c.o" | |
| 79 | 151 | cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT raylib/external/glfw/src/CMakeFiles/glfw.dir/context.c.o -MF CMakeFiles/glfw.dir/context.c.o.d -o CMakeFiles/glfw.dir/context.c.o -c /home/fordon/projects/c/raylib/src/external/glfw/src/context.c |
| 80 | 152 | |
| 81 | 153 | raylib/external/glfw/src/CMakeFiles/glfw.dir/context.c.i: cmake_force |
| @@ -89,7 +161,7 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/context.c.s: cmake_force | ||
| 89 | 161 | raylib/external/glfw/src/CMakeFiles/glfw.dir/init.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/flags.make |
| 90 | 162 | raylib/external/glfw/src/CMakeFiles/glfw.dir/init.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/init.c |
| 91 | 163 | raylib/external/glfw/src/CMakeFiles/glfw.dir/init.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/compiler_depend.ts |
| 92 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/init.c.o" | |
| 164 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_20) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/init.c.o" | |
| 93 | 165 | cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT raylib/external/glfw/src/CMakeFiles/glfw.dir/init.c.o -MF CMakeFiles/glfw.dir/init.c.o.d -o CMakeFiles/glfw.dir/init.c.o -c /home/fordon/projects/c/raylib/src/external/glfw/src/init.c |
| 94 | 166 | |
| 95 | 167 | raylib/external/glfw/src/CMakeFiles/glfw.dir/init.c.i: cmake_force |
| @@ -103,7 +175,7 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/init.c.s: cmake_force | ||
| 103 | 175 | raylib/external/glfw/src/CMakeFiles/glfw.dir/input.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/flags.make |
| 104 | 176 | raylib/external/glfw/src/CMakeFiles/glfw.dir/input.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/input.c |
| 105 | 177 | raylib/external/glfw/src/CMakeFiles/glfw.dir/input.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/compiler_depend.ts |
| 106 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/input.c.o" | |
| 178 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_21) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/input.c.o" | |
| 107 | 179 | cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT raylib/external/glfw/src/CMakeFiles/glfw.dir/input.c.o -MF CMakeFiles/glfw.dir/input.c.o.d -o CMakeFiles/glfw.dir/input.c.o -c /home/fordon/projects/c/raylib/src/external/glfw/src/input.c |
| 108 | 180 | |
| 109 | 181 | raylib/external/glfw/src/CMakeFiles/glfw.dir/input.c.i: cmake_force |
| @@ -117,7 +189,7 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/input.c.s: cmake_force | ||
| 117 | 189 | raylib/external/glfw/src/CMakeFiles/glfw.dir/monitor.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/flags.make |
| 118 | 190 | raylib/external/glfw/src/CMakeFiles/glfw.dir/monitor.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/monitor.c |
| 119 | 191 | raylib/external/glfw/src/CMakeFiles/glfw.dir/monitor.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/compiler_depend.ts |
| 120 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_4) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/monitor.c.o" | |
| 192 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_22) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/monitor.c.o" | |
| 121 | 193 | cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT raylib/external/glfw/src/CMakeFiles/glfw.dir/monitor.c.o -MF CMakeFiles/glfw.dir/monitor.c.o.d -o CMakeFiles/glfw.dir/monitor.c.o -c /home/fordon/projects/c/raylib/src/external/glfw/src/monitor.c |
| 122 | 194 | |
| 123 | 195 | raylib/external/glfw/src/CMakeFiles/glfw.dir/monitor.c.i: cmake_force |
| @@ -131,7 +203,7 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/monitor.c.s: cmake_force | ||
| 131 | 203 | raylib/external/glfw/src/CMakeFiles/glfw.dir/platform.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/flags.make |
| 132 | 204 | raylib/external/glfw/src/CMakeFiles/glfw.dir/platform.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/platform.c |
| 133 | 205 | raylib/external/glfw/src/CMakeFiles/glfw.dir/platform.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/compiler_depend.ts |
| 134 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_5) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/platform.c.o" | |
| 206 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_23) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/platform.c.o" | |
| 135 | 207 | cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT raylib/external/glfw/src/CMakeFiles/glfw.dir/platform.c.o -MF CMakeFiles/glfw.dir/platform.c.o.d -o CMakeFiles/glfw.dir/platform.c.o -c /home/fordon/projects/c/raylib/src/external/glfw/src/platform.c |
| 136 | 208 | |
| 137 | 209 | raylib/external/glfw/src/CMakeFiles/glfw.dir/platform.c.i: cmake_force |
| @@ -145,7 +217,7 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/platform.c.s: cmake_force | ||
| 145 | 217 | raylib/external/glfw/src/CMakeFiles/glfw.dir/vulkan.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/flags.make |
| 146 | 218 | raylib/external/glfw/src/CMakeFiles/glfw.dir/vulkan.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/vulkan.c |
| 147 | 219 | raylib/external/glfw/src/CMakeFiles/glfw.dir/vulkan.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/compiler_depend.ts |
| 148 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_6) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/vulkan.c.o" | |
| 220 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_24) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/vulkan.c.o" | |
| 149 | 221 | cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT raylib/external/glfw/src/CMakeFiles/glfw.dir/vulkan.c.o -MF CMakeFiles/glfw.dir/vulkan.c.o.d -o CMakeFiles/glfw.dir/vulkan.c.o -c /home/fordon/projects/c/raylib/src/external/glfw/src/vulkan.c |
| 150 | 222 | |
| 151 | 223 | raylib/external/glfw/src/CMakeFiles/glfw.dir/vulkan.c.i: cmake_force |
| @@ -159,7 +231,7 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/vulkan.c.s: cmake_force | ||
| 159 | 231 | raylib/external/glfw/src/CMakeFiles/glfw.dir/window.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/flags.make |
| 160 | 232 | raylib/external/glfw/src/CMakeFiles/glfw.dir/window.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/window.c |
| 161 | 233 | raylib/external/glfw/src/CMakeFiles/glfw.dir/window.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/compiler_depend.ts |
| 162 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_7) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/window.c.o" | |
| 234 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_25) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/window.c.o" | |
| 163 | 235 | cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT raylib/external/glfw/src/CMakeFiles/glfw.dir/window.c.o -MF CMakeFiles/glfw.dir/window.c.o.d -o CMakeFiles/glfw.dir/window.c.o -c /home/fordon/projects/c/raylib/src/external/glfw/src/window.c |
| 164 | 236 | |
| 165 | 237 | raylib/external/glfw/src/CMakeFiles/glfw.dir/window.c.i: cmake_force |
| @@ -173,7 +245,7 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/window.c.s: cmake_force | ||
| 173 | 245 | raylib/external/glfw/src/CMakeFiles/glfw.dir/egl_context.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/flags.make |
| 174 | 246 | raylib/external/glfw/src/CMakeFiles/glfw.dir/egl_context.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/egl_context.c |
| 175 | 247 | raylib/external/glfw/src/CMakeFiles/glfw.dir/egl_context.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/compiler_depend.ts |
| 176 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_8) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/egl_context.c.o" | |
| 248 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_26) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/egl_context.c.o" | |
| 177 | 249 | cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT raylib/external/glfw/src/CMakeFiles/glfw.dir/egl_context.c.o -MF CMakeFiles/glfw.dir/egl_context.c.o.d -o CMakeFiles/glfw.dir/egl_context.c.o -c /home/fordon/projects/c/raylib/src/external/glfw/src/egl_context.c |
| 178 | 250 | |
| 179 | 251 | raylib/external/glfw/src/CMakeFiles/glfw.dir/egl_context.c.i: cmake_force |
| @@ -187,7 +259,7 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/egl_context.c.s: cmake_force | ||
| 187 | 259 | raylib/external/glfw/src/CMakeFiles/glfw.dir/osmesa_context.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/flags.make |
| 188 | 260 | raylib/external/glfw/src/CMakeFiles/glfw.dir/osmesa_context.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/osmesa_context.c |
| 189 | 261 | raylib/external/glfw/src/CMakeFiles/glfw.dir/osmesa_context.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/compiler_depend.ts |
| 190 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_9) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/osmesa_context.c.o" | |
| 262 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_27) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/osmesa_context.c.o" | |
| 191 | 263 | cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT raylib/external/glfw/src/CMakeFiles/glfw.dir/osmesa_context.c.o -MF CMakeFiles/glfw.dir/osmesa_context.c.o.d -o CMakeFiles/glfw.dir/osmesa_context.c.o -c /home/fordon/projects/c/raylib/src/external/glfw/src/osmesa_context.c |
| 192 | 264 | |
| 193 | 265 | raylib/external/glfw/src/CMakeFiles/glfw.dir/osmesa_context.c.i: cmake_force |
| @@ -201,7 +273,7 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/osmesa_context.c.s: cmake_force | ||
| 201 | 273 | raylib/external/glfw/src/CMakeFiles/glfw.dir/null_init.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/flags.make |
| 202 | 274 | raylib/external/glfw/src/CMakeFiles/glfw.dir/null_init.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/null_init.c |
| 203 | 275 | raylib/external/glfw/src/CMakeFiles/glfw.dir/null_init.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/compiler_depend.ts |
| 204 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_10) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/null_init.c.o" | |
| 276 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_28) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/null_init.c.o" | |
| 205 | 277 | cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT raylib/external/glfw/src/CMakeFiles/glfw.dir/null_init.c.o -MF CMakeFiles/glfw.dir/null_init.c.o.d -o CMakeFiles/glfw.dir/null_init.c.o -c /home/fordon/projects/c/raylib/src/external/glfw/src/null_init.c |
| 206 | 278 | |
| 207 | 279 | raylib/external/glfw/src/CMakeFiles/glfw.dir/null_init.c.i: cmake_force |
| @@ -215,7 +287,7 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/null_init.c.s: cmake_force | ||
| 215 | 287 | raylib/external/glfw/src/CMakeFiles/glfw.dir/null_monitor.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/flags.make |
| 216 | 288 | raylib/external/glfw/src/CMakeFiles/glfw.dir/null_monitor.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/null_monitor.c |
| 217 | 289 | raylib/external/glfw/src/CMakeFiles/glfw.dir/null_monitor.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/compiler_depend.ts |
| 218 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_11) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/null_monitor.c.o" | |
| 290 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_29) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/null_monitor.c.o" | |
| 219 | 291 | cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT raylib/external/glfw/src/CMakeFiles/glfw.dir/null_monitor.c.o -MF CMakeFiles/glfw.dir/null_monitor.c.o.d -o CMakeFiles/glfw.dir/null_monitor.c.o -c /home/fordon/projects/c/raylib/src/external/glfw/src/null_monitor.c |
| 220 | 292 | |
| 221 | 293 | raylib/external/glfw/src/CMakeFiles/glfw.dir/null_monitor.c.i: cmake_force |
| @@ -229,7 +301,7 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/null_monitor.c.s: cmake_force | ||
| 229 | 301 | raylib/external/glfw/src/CMakeFiles/glfw.dir/null_window.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/flags.make |
| 230 | 302 | raylib/external/glfw/src/CMakeFiles/glfw.dir/null_window.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/null_window.c |
| 231 | 303 | raylib/external/glfw/src/CMakeFiles/glfw.dir/null_window.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/compiler_depend.ts |
| 232 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_12) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/null_window.c.o" | |
| 304 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_30) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/null_window.c.o" | |
| 233 | 305 | cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT raylib/external/glfw/src/CMakeFiles/glfw.dir/null_window.c.o -MF CMakeFiles/glfw.dir/null_window.c.o.d -o CMakeFiles/glfw.dir/null_window.c.o -c /home/fordon/projects/c/raylib/src/external/glfw/src/null_window.c |
| 234 | 306 | |
| 235 | 307 | raylib/external/glfw/src/CMakeFiles/glfw.dir/null_window.c.i: cmake_force |
| @@ -243,7 +315,7 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/null_window.c.s: cmake_force | ||
| 243 | 315 | raylib/external/glfw/src/CMakeFiles/glfw.dir/null_joystick.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/flags.make |
| 244 | 316 | raylib/external/glfw/src/CMakeFiles/glfw.dir/null_joystick.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.c |
| 245 | 317 | raylib/external/glfw/src/CMakeFiles/glfw.dir/null_joystick.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/compiler_depend.ts |
| 246 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_13) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/null_joystick.c.o" | |
| 318 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_31) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/null_joystick.c.o" | |
| 247 | 319 | cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT raylib/external/glfw/src/CMakeFiles/glfw.dir/null_joystick.c.o -MF CMakeFiles/glfw.dir/null_joystick.c.o.d -o CMakeFiles/glfw.dir/null_joystick.c.o -c /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.c |
| 248 | 320 | |
| 249 | 321 | raylib/external/glfw/src/CMakeFiles/glfw.dir/null_joystick.c.i: cmake_force |
| @@ -257,7 +329,7 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/null_joystick.c.s: cmake_force | ||
| 257 | 329 | raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_module.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/flags.make |
| 258 | 330 | raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_module.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/posix_module.c |
| 259 | 331 | raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_module.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/compiler_depend.ts |
| 260 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_14) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_module.c.o" | |
| 332 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_32) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_module.c.o" | |
| 261 | 333 | cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_module.c.o -MF CMakeFiles/glfw.dir/posix_module.c.o.d -o CMakeFiles/glfw.dir/posix_module.c.o -c /home/fordon/projects/c/raylib/src/external/glfw/src/posix_module.c |
| 262 | 334 | |
| 263 | 335 | raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_module.c.i: cmake_force |
| @@ -271,7 +343,7 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_module.c.s: cmake_force | ||
| 271 | 343 | raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_time.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/flags.make |
| 272 | 344 | raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_time.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/posix_time.c |
| 273 | 345 | raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_time.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/compiler_depend.ts |
| 274 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_15) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_time.c.o" | |
| 346 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_33) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_time.c.o" | |
| 275 | 347 | cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_time.c.o -MF CMakeFiles/glfw.dir/posix_time.c.o.d -o CMakeFiles/glfw.dir/posix_time.c.o -c /home/fordon/projects/c/raylib/src/external/glfw/src/posix_time.c |
| 276 | 348 | |
| 277 | 349 | raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_time.c.i: cmake_force |
| @@ -285,7 +357,7 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_time.c.s: cmake_force | ||
| 285 | 357 | raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_thread.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/flags.make |
| 286 | 358 | raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_thread.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/posix_thread.c |
| 287 | 359 | raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_thread.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/compiler_depend.ts |
| 288 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_16) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_thread.c.o" | |
| 360 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_34) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_thread.c.o" | |
| 289 | 361 | cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_thread.c.o -MF CMakeFiles/glfw.dir/posix_thread.c.o.d -o CMakeFiles/glfw.dir/posix_thread.c.o -c /home/fordon/projects/c/raylib/src/external/glfw/src/posix_thread.c |
| 290 | 362 | |
| 291 | 363 | raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_thread.c.i: cmake_force |
| @@ -296,80 +368,52 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_thread.c.s: cmake_force | ||
| 296 | 368 | @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling C source to assembly CMakeFiles/glfw.dir/posix_thread.c.s" |
| 297 | 369 | cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/fordon/projects/c/raylib/src/external/glfw/src/posix_thread.c -o CMakeFiles/glfw.dir/posix_thread.c.s |
| 298 | 370 | |
| 299 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_init.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/flags.make | |
| 300 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_init.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/x11_init.c | |
| 301 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_init.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/compiler_depend.ts | |
| 302 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_17) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_init.c.o" | |
| 303 | - cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_init.c.o -MF CMakeFiles/glfw.dir/x11_init.c.o.d -o CMakeFiles/glfw.dir/x11_init.c.o -c /home/fordon/projects/c/raylib/src/external/glfw/src/x11_init.c | |
| 304 | - | |
| 305 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_init.c.i: cmake_force | |
| 306 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Preprocessing C source to CMakeFiles/glfw.dir/x11_init.c.i" | |
| 307 | - cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/fordon/projects/c/raylib/src/external/glfw/src/x11_init.c > CMakeFiles/glfw.dir/x11_init.c.i | |
| 308 | - | |
| 309 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_init.c.s: cmake_force | |
| 310 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling C source to assembly CMakeFiles/glfw.dir/x11_init.c.s" | |
| 311 | - cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/fordon/projects/c/raylib/src/external/glfw/src/x11_init.c -o CMakeFiles/glfw.dir/x11_init.c.s | |
| 312 | - | |
| 313 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_monitor.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/flags.make | |
| 314 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_monitor.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/x11_monitor.c | |
| 315 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_monitor.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/compiler_depend.ts | |
| 316 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_18) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_monitor.c.o" | |
| 317 | - cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_monitor.c.o -MF CMakeFiles/glfw.dir/x11_monitor.c.o.d -o CMakeFiles/glfw.dir/x11_monitor.c.o -c /home/fordon/projects/c/raylib/src/external/glfw/src/x11_monitor.c | |
| 318 | - | |
| 319 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_monitor.c.i: cmake_force | |
| 320 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Preprocessing C source to CMakeFiles/glfw.dir/x11_monitor.c.i" | |
| 321 | - cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/fordon/projects/c/raylib/src/external/glfw/src/x11_monitor.c > CMakeFiles/glfw.dir/x11_monitor.c.i | |
| 322 | - | |
| 323 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_monitor.c.s: cmake_force | |
| 324 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling C source to assembly CMakeFiles/glfw.dir/x11_monitor.c.s" | |
| 325 | - cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/fordon/projects/c/raylib/src/external/glfw/src/x11_monitor.c -o CMakeFiles/glfw.dir/x11_monitor.c.s | |
| 326 | - | |
| 327 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_window.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/flags.make | |
| 328 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_window.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/x11_window.c | |
| 329 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_window.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/compiler_depend.ts | |
| 330 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_19) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_window.c.o" | |
| 331 | - cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_window.c.o -MF CMakeFiles/glfw.dir/x11_window.c.o.d -o CMakeFiles/glfw.dir/x11_window.c.o -c /home/fordon/projects/c/raylib/src/external/glfw/src/x11_window.c | |
| 332 | - | |
| 333 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_window.c.i: cmake_force | |
| 334 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Preprocessing C source to CMakeFiles/glfw.dir/x11_window.c.i" | |
| 335 | - cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/fordon/projects/c/raylib/src/external/glfw/src/x11_window.c > CMakeFiles/glfw.dir/x11_window.c.i | |
| 336 | - | |
| 337 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_window.c.s: cmake_force | |
| 338 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling C source to assembly CMakeFiles/glfw.dir/x11_window.c.s" | |
| 339 | - cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/fordon/projects/c/raylib/src/external/glfw/src/x11_window.c -o CMakeFiles/glfw.dir/x11_window.c.s | |
| 340 | - | |
| 341 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/xkb_unicode.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/flags.make | |
| 342 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/xkb_unicode.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/xkb_unicode.c | |
| 343 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/xkb_unicode.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/compiler_depend.ts | |
| 344 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_20) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/xkb_unicode.c.o" | |
| 345 | - cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT raylib/external/glfw/src/CMakeFiles/glfw.dir/xkb_unicode.c.o -MF CMakeFiles/glfw.dir/xkb_unicode.c.o.d -o CMakeFiles/glfw.dir/xkb_unicode.c.o -c /home/fordon/projects/c/raylib/src/external/glfw/src/xkb_unicode.c | |
| 346 | - | |
| 347 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/xkb_unicode.c.i: cmake_force | |
| 348 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Preprocessing C source to CMakeFiles/glfw.dir/xkb_unicode.c.i" | |
| 349 | - cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/fordon/projects/c/raylib/src/external/glfw/src/xkb_unicode.c > CMakeFiles/glfw.dir/xkb_unicode.c.i | |
| 350 | - | |
| 351 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/xkb_unicode.c.s: cmake_force | |
| 352 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling C source to assembly CMakeFiles/glfw.dir/xkb_unicode.c.s" | |
| 353 | - cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/fordon/projects/c/raylib/src/external/glfw/src/xkb_unicode.c -o CMakeFiles/glfw.dir/xkb_unicode.c.s | |
| 354 | - | |
| 355 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/glx_context.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/flags.make | |
| 356 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/glx_context.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/glx_context.c | |
| 357 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/glx_context.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/compiler_depend.ts | |
| 358 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_21) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/glx_context.c.o" | |
| 359 | - cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT raylib/external/glfw/src/CMakeFiles/glfw.dir/glx_context.c.o -MF CMakeFiles/glfw.dir/glx_context.c.o.d -o CMakeFiles/glfw.dir/glx_context.c.o -c /home/fordon/projects/c/raylib/src/external/glfw/src/glx_context.c | |
| 360 | - | |
| 361 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/glx_context.c.i: cmake_force | |
| 362 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Preprocessing C source to CMakeFiles/glfw.dir/glx_context.c.i" | |
| 363 | - cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/fordon/projects/c/raylib/src/external/glfw/src/glx_context.c > CMakeFiles/glfw.dir/glx_context.c.i | |
| 364 | - | |
| 365 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/glx_context.c.s: cmake_force | |
| 366 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling C source to assembly CMakeFiles/glfw.dir/glx_context.c.s" | |
| 367 | - cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/fordon/projects/c/raylib/src/external/glfw/src/glx_context.c -o CMakeFiles/glfw.dir/glx_context.c.s | |
| 371 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_init.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/flags.make | |
| 372 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_init.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/wl_init.c | |
| 373 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_init.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/compiler_depend.ts | |
| 374 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_35) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_init.c.o" | |
| 375 | + cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_init.c.o -MF CMakeFiles/glfw.dir/wl_init.c.o.d -o CMakeFiles/glfw.dir/wl_init.c.o -c /home/fordon/projects/c/raylib/src/external/glfw/src/wl_init.c | |
| 376 | + | |
| 377 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_init.c.i: cmake_force | |
| 378 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Preprocessing C source to CMakeFiles/glfw.dir/wl_init.c.i" | |
| 379 | + cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/fordon/projects/c/raylib/src/external/glfw/src/wl_init.c > CMakeFiles/glfw.dir/wl_init.c.i | |
| 380 | + | |
| 381 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_init.c.s: cmake_force | |
| 382 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling C source to assembly CMakeFiles/glfw.dir/wl_init.c.s" | |
| 383 | + cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/fordon/projects/c/raylib/src/external/glfw/src/wl_init.c -o CMakeFiles/glfw.dir/wl_init.c.s | |
| 384 | + | |
| 385 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_monitor.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/flags.make | |
| 386 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_monitor.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/wl_monitor.c | |
| 387 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_monitor.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/compiler_depend.ts | |
| 388 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_36) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_monitor.c.o" | |
| 389 | + cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_monitor.c.o -MF CMakeFiles/glfw.dir/wl_monitor.c.o.d -o CMakeFiles/glfw.dir/wl_monitor.c.o -c /home/fordon/projects/c/raylib/src/external/glfw/src/wl_monitor.c | |
| 390 | + | |
| 391 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_monitor.c.i: cmake_force | |
| 392 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Preprocessing C source to CMakeFiles/glfw.dir/wl_monitor.c.i" | |
| 393 | + cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/fordon/projects/c/raylib/src/external/glfw/src/wl_monitor.c > CMakeFiles/glfw.dir/wl_monitor.c.i | |
| 394 | + | |
| 395 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_monitor.c.s: cmake_force | |
| 396 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling C source to assembly CMakeFiles/glfw.dir/wl_monitor.c.s" | |
| 397 | + cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/fordon/projects/c/raylib/src/external/glfw/src/wl_monitor.c -o CMakeFiles/glfw.dir/wl_monitor.c.s | |
| 398 | + | |
| 399 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_window.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/flags.make | |
| 400 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_window.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/wl_window.c | |
| 401 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_window.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/compiler_depend.ts | |
| 402 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_37) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_window.c.o" | |
| 403 | + cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_window.c.o -MF CMakeFiles/glfw.dir/wl_window.c.o.d -o CMakeFiles/glfw.dir/wl_window.c.o -c /home/fordon/projects/c/raylib/src/external/glfw/src/wl_window.c | |
| 404 | + | |
| 405 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_window.c.i: cmake_force | |
| 406 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Preprocessing C source to CMakeFiles/glfw.dir/wl_window.c.i" | |
| 407 | + cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/fordon/projects/c/raylib/src/external/glfw/src/wl_window.c > CMakeFiles/glfw.dir/wl_window.c.i | |
| 408 | + | |
| 409 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_window.c.s: cmake_force | |
| 410 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling C source to assembly CMakeFiles/glfw.dir/wl_window.c.s" | |
| 411 | + cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/fordon/projects/c/raylib/src/external/glfw/src/wl_window.c -o CMakeFiles/glfw.dir/wl_window.c.s | |
| 368 | 412 | |
| 369 | 413 | raylib/external/glfw/src/CMakeFiles/glfw.dir/linux_joystick.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/flags.make |
| 370 | 414 | raylib/external/glfw/src/CMakeFiles/glfw.dir/linux_joystick.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.c |
| 371 | 415 | raylib/external/glfw/src/CMakeFiles/glfw.dir/linux_joystick.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/compiler_depend.ts |
| 372 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_22) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/linux_joystick.c.o" | |
| 416 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_38) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/linux_joystick.c.o" | |
| 373 | 417 | cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT raylib/external/glfw/src/CMakeFiles/glfw.dir/linux_joystick.c.o -MF CMakeFiles/glfw.dir/linux_joystick.c.o.d -o CMakeFiles/glfw.dir/linux_joystick.c.o -c /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.c |
| 374 | 418 | |
| 375 | 419 | raylib/external/glfw/src/CMakeFiles/glfw.dir/linux_joystick.c.i: cmake_force |
| @@ -383,7 +427,7 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/linux_joystick.c.s: cmake_force | ||
| 383 | 427 | raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_poll.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/flags.make |
| 384 | 428 | raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_poll.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/posix_poll.c |
| 385 | 429 | raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_poll.c.o: raylib/external/glfw/src/CMakeFiles/glfw.dir/compiler_depend.ts |
| 386 | - @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_23) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_poll.c.o" | |
| 430 | + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/fordon/projects/c/raylib/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_39) "Building C object raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_poll.c.o" | |
| 387 | 431 | cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_poll.c.o -MF CMakeFiles/glfw.dir/posix_poll.c.o.d -o CMakeFiles/glfw.dir/posix_poll.c.o -c /home/fordon/projects/c/raylib/src/external/glfw/src/posix_poll.c |
| 388 | 432 | |
| 389 | 433 | raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_poll.c.i: cmake_force |
| @@ -410,11 +454,9 @@ glfw: raylib/external/glfw/src/CMakeFiles/glfw.dir/null_joystick.c.o | ||
| 410 | 454 | glfw: raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_module.c.o |
| 411 | 455 | glfw: raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_time.c.o |
| 412 | 456 | glfw: raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_thread.c.o |
| 413 | -glfw: raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_init.c.o | |
| 414 | -glfw: raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_monitor.c.o | |
| 415 | -glfw: raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_window.c.o | |
| 416 | -glfw: raylib/external/glfw/src/CMakeFiles/glfw.dir/xkb_unicode.c.o | |
| 417 | -glfw: raylib/external/glfw/src/CMakeFiles/glfw.dir/glx_context.c.o | |
| 457 | +glfw: raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_init.c.o | |
| 458 | +glfw: raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_monitor.c.o | |
| 459 | +glfw: raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_window.c.o | |
| 418 | 460 | glfw: raylib/external/glfw/src/CMakeFiles/glfw.dir/linux_joystick.c.o |
| 419 | 461 | glfw: raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_poll.c.o |
| 420 | 462 | glfw: raylib/external/glfw/src/CMakeFiles/glfw.dir/build.make |
| @@ -428,7 +470,24 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/clean: | ||
| 428 | 470 | cd /home/fordon/projects/c/raylib/build/raylib/external/glfw/src && $(CMAKE_COMMAND) -P CMakeFiles/glfw.dir/cmake_clean.cmake |
| 429 | 471 | .PHONY : raylib/external/glfw/src/CMakeFiles/glfw.dir/clean |
| 430 | 472 | |
| 431 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/depend: | |
| 473 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/depend: raylib/external/glfw/src/fractional-scale-v1-client-protocol-code.h | |
| 474 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/depend: raylib/external/glfw/src/fractional-scale-v1-client-protocol.h | |
| 475 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/depend: raylib/external/glfw/src/idle-inhibit-unstable-v1-client-protocol-code.h | |
| 476 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/depend: raylib/external/glfw/src/idle-inhibit-unstable-v1-client-protocol.h | |
| 477 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/depend: raylib/external/glfw/src/pointer-constraints-unstable-v1-client-protocol-code.h | |
| 478 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/depend: raylib/external/glfw/src/pointer-constraints-unstable-v1-client-protocol.h | |
| 479 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/depend: raylib/external/glfw/src/relative-pointer-unstable-v1-client-protocol-code.h | |
| 480 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/depend: raylib/external/glfw/src/relative-pointer-unstable-v1-client-protocol.h | |
| 481 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/depend: raylib/external/glfw/src/viewporter-client-protocol-code.h | |
| 482 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/depend: raylib/external/glfw/src/viewporter-client-protocol.h | |
| 483 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/depend: raylib/external/glfw/src/wayland-client-protocol-code.h | |
| 484 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/depend: raylib/external/glfw/src/wayland-client-protocol.h | |
| 485 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/depend: raylib/external/glfw/src/xdg-activation-v1-client-protocol-code.h | |
| 486 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/depend: raylib/external/glfw/src/xdg-activation-v1-client-protocol.h | |
| 487 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/depend: raylib/external/glfw/src/xdg-decoration-unstable-v1-client-protocol-code.h | |
| 488 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/depend: raylib/external/glfw/src/xdg-decoration-unstable-v1-client-protocol.h | |
| 489 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/depend: raylib/external/glfw/src/xdg-shell-client-protocol-code.h | |
| 490 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/depend: raylib/external/glfw/src/xdg-shell-client-protocol.h | |
| 432 | 491 | cd /home/fordon/projects/c/raylib/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/fordon/projects/c/raylib /home/fordon/projects/c/raylib/src/external/glfw/src /home/fordon/projects/c/raylib/build /home/fordon/projects/c/raylib/build/raylib/external/glfw/src /home/fordon/projects/c/raylib/build/raylib/external/glfw/src/CMakeFiles/glfw.dir/DependInfo.cmake "--color=$(COLOR)" glfw |
| 433 | 492 | .PHONY : raylib/external/glfw/src/CMakeFiles/glfw.dir/depend |
| 434 | 493 |
+24 −10 raylib/external/glfw/src/CMakeFiles/glfw.dir/cmake_clean.cmake
| @@ -3,8 +3,6 @@ file(REMOVE_RECURSE | ||
| 3 | 3 | "CMakeFiles/glfw.dir/context.c.o.d" |
| 4 | 4 | "CMakeFiles/glfw.dir/egl_context.c.o" |
| 5 | 5 | "CMakeFiles/glfw.dir/egl_context.c.o.d" |
| 6 | - "CMakeFiles/glfw.dir/glx_context.c.o" | |
| 7 | - "CMakeFiles/glfw.dir/glx_context.c.o.d" | |
| 8 | 6 | "CMakeFiles/glfw.dir/init.c.o" |
| 9 | 7 | "CMakeFiles/glfw.dir/init.c.o.d" |
| 10 | 8 | "CMakeFiles/glfw.dir/input.c.o" |
| @@ -37,14 +35,30 @@ file(REMOVE_RECURSE | ||
| 37 | 35 | "CMakeFiles/glfw.dir/vulkan.c.o.d" |
| 38 | 36 | "CMakeFiles/glfw.dir/window.c.o" |
| 39 | 37 | "CMakeFiles/glfw.dir/window.c.o.d" |
| 40 | - "CMakeFiles/glfw.dir/x11_init.c.o" | |
| 41 | - "CMakeFiles/glfw.dir/x11_init.c.o.d" | |
| 42 | - "CMakeFiles/glfw.dir/x11_monitor.c.o" | |
| 43 | - "CMakeFiles/glfw.dir/x11_monitor.c.o.d" | |
| 44 | - "CMakeFiles/glfw.dir/x11_window.c.o" | |
| 45 | - "CMakeFiles/glfw.dir/x11_window.c.o.d" | |
| 46 | - "CMakeFiles/glfw.dir/xkb_unicode.c.o" | |
| 47 | - "CMakeFiles/glfw.dir/xkb_unicode.c.o.d" | |
| 38 | + "CMakeFiles/glfw.dir/wl_init.c.o" | |
| 39 | + "CMakeFiles/glfw.dir/wl_init.c.o.d" | |
| 40 | + "CMakeFiles/glfw.dir/wl_monitor.c.o" | |
| 41 | + "CMakeFiles/glfw.dir/wl_monitor.c.o.d" | |
| 42 | + "CMakeFiles/glfw.dir/wl_window.c.o" | |
| 43 | + "CMakeFiles/glfw.dir/wl_window.c.o.d" | |
| 44 | + "fractional-scale-v1-client-protocol-code.h" | |
| 45 | + "fractional-scale-v1-client-protocol.h" | |
| 46 | + "idle-inhibit-unstable-v1-client-protocol-code.h" | |
| 47 | + "idle-inhibit-unstable-v1-client-protocol.h" | |
| 48 | + "pointer-constraints-unstable-v1-client-protocol-code.h" | |
| 49 | + "pointer-constraints-unstable-v1-client-protocol.h" | |
| 50 | + "relative-pointer-unstable-v1-client-protocol-code.h" | |
| 51 | + "relative-pointer-unstable-v1-client-protocol.h" | |
| 52 | + "viewporter-client-protocol-code.h" | |
| 53 | + "viewporter-client-protocol.h" | |
| 54 | + "wayland-client-protocol-code.h" | |
| 55 | + "wayland-client-protocol.h" | |
| 56 | + "xdg-activation-v1-client-protocol-code.h" | |
| 57 | + "xdg-activation-v1-client-protocol.h" | |
| 58 | + "xdg-decoration-unstable-v1-client-protocol-code.h" | |
| 59 | + "xdg-decoration-unstable-v1-client-protocol.h" | |
| 60 | + "xdg-shell-client-protocol-code.h" | |
| 61 | + "xdg-shell-client-protocol.h" | |
| 48 | 62 | ) |
| 49 | 63 | |
| 50 | 64 | # Per-language clean rules from dependency scanning. |
+0 −910 raylib/external/glfw/src/CMakeFiles/glfw.dir/compiler_depend.internal Large diff collapsed, click to expand
| @@ -350,180 +350,6 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/egl_context.c.o | ||
| 350 | 350 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stddef.h |
| 351 | 351 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdint.h |
| 352 | 352 | |
| 353 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/glx_context.c.o | |
| 354 | - /home/fordon/projects/c/raylib/src/external/glfw/src/glx_context.c | |
| 355 | - /home/fordon/projects/c/raylib/src/external/glfw/include/GLFW/glfw3.h | |
| 356 | - /home/fordon/projects/c/raylib/src/external/glfw/include/GLFW/glfw3native.h | |
| 357 | - /home/fordon/projects/c/raylib/src/external/glfw/src/internal.h | |
| 358 | - /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h | |
| 359 | - /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h | |
| 360 | - /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h | |
| 361 | - /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h | |
| 362 | - /home/fordon/projects/c/raylib/src/external/glfw/src/posix_poll.h | |
| 363 | - /home/fordon/projects/c/raylib/src/external/glfw/src/posix_thread.h | |
| 364 | - /home/fordon/projects/c/raylib/src/external/glfw/src/posix_time.h | |
| 365 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_platform.h | |
| 366 | - /usr/include/X11/X.h | |
| 367 | - /usr/include/X11/XKBlib.h | |
| 368 | - /usr/include/X11/Xatom.h | |
| 369 | - /usr/include/X11/Xcursor/Xcursor.h | |
| 370 | - /usr/include/X11/Xdefs.h | |
| 371 | - /usr/include/X11/Xfuncproto.h | |
| 372 | - /usr/include/X11/Xlib.h | |
| 373 | - /usr/include/X11/Xosdefs.h | |
| 374 | - /usr/include/X11/Xresource.h | |
| 375 | - /usr/include/X11/Xutil.h | |
| 376 | - /usr/include/X11/extensions/XI2.h | |
| 377 | - /usr/include/X11/extensions/XInput2.h | |
| 378 | - /usr/include/X11/extensions/XKB.h | |
| 379 | - /usr/include/X11/extensions/XKBstr.h | |
| 380 | - /usr/include/X11/extensions/Xfixes.h | |
| 381 | - /usr/include/X11/extensions/Xge.h | |
| 382 | - /usr/include/X11/extensions/Xinerama.h | |
| 383 | - /usr/include/X11/extensions/Xrandr.h | |
| 384 | - /usr/include/X11/extensions/Xrender.h | |
| 385 | - /usr/include/X11/extensions/randr.h | |
| 386 | - /usr/include/X11/extensions/render.h | |
| 387 | - /usr/include/X11/extensions/shape.h | |
| 388 | - /usr/include/X11/extensions/shapeconst.h | |
| 389 | - /usr/include/X11/extensions/xfixeswire.h | |
| 390 | - /usr/include/X11/keysym.h | |
| 391 | - /usr/include/X11/keysymdef.h | |
| 392 | - /usr/include/alloca.h | |
| 393 | - /usr/include/asm-generic/bitsperlong.h | |
| 394 | - /usr/include/asm-generic/int-ll64.h | |
| 395 | - /usr/include/asm-generic/ioctl.h | |
| 396 | - /usr/include/asm-generic/ioctls.h | |
| 397 | - /usr/include/asm-generic/posix_types.h | |
| 398 | - /usr/include/asm-generic/types.h | |
| 399 | - /usr/include/asm/bitsperlong.h | |
| 400 | - /usr/include/asm/ioctl.h | |
| 401 | - /usr/include/asm/ioctls.h | |
| 402 | - /usr/include/asm/posix_types.h | |
| 403 | - /usr/include/asm/posix_types_64.h | |
| 404 | - /usr/include/asm/types.h | |
| 405 | - /usr/include/assert.h | |
| 406 | - /usr/include/bits/atomic_wide_counter.h | |
| 407 | - /usr/include/bits/byteswap.h | |
| 408 | - /usr/include/bits/confname.h | |
| 409 | - /usr/include/bits/cpu-set.h | |
| 410 | - /usr/include/bits/endian.h | |
| 411 | - /usr/include/bits/endianness.h | |
| 412 | - /usr/include/bits/environments.h | |
| 413 | - /usr/include/bits/floatn-common.h | |
| 414 | - /usr/include/bits/floatn.h | |
| 415 | - /usr/include/bits/getopt_core.h | |
| 416 | - /usr/include/bits/getopt_posix.h | |
| 417 | - /usr/include/bits/ioctl-types.h | |
| 418 | - /usr/include/bits/ioctls.h | |
| 419 | - /usr/include/bits/libc-header-start.h | |
| 420 | - /usr/include/bits/long-double.h | |
| 421 | - /usr/include/bits/poll.h | |
| 422 | - /usr/include/bits/posix_opt.h | |
| 423 | - /usr/include/bits/pthread_stack_min-dynamic.h | |
| 424 | - /usr/include/bits/pthread_stack_min.h | |
| 425 | - /usr/include/bits/pthreadtypes-arch.h | |
| 426 | - /usr/include/bits/pthreadtypes.h | |
| 427 | - /usr/include/bits/sched.h | |
| 428 | - /usr/include/bits/select.h | |
| 429 | - /usr/include/bits/setjmp.h | |
| 430 | - /usr/include/bits/sigaction.h | |
| 431 | - /usr/include/bits/sigcontext.h | |
| 432 | - /usr/include/bits/sigevent-consts.h | |
| 433 | - /usr/include/bits/siginfo-arch.h | |
| 434 | - /usr/include/bits/siginfo-consts.h | |
| 435 | - /usr/include/bits/signal_ext.h | |
| 436 | - /usr/include/bits/signum-arch.h | |
| 437 | - /usr/include/bits/signum-generic.h | |
| 438 | - /usr/include/bits/sigstack.h | |
| 439 | - /usr/include/bits/sigstksz.h | |
| 440 | - /usr/include/bits/sigthread.h | |
| 441 | - /usr/include/bits/ss_flags.h | |
| 442 | - /usr/include/bits/stdint-intn.h | |
| 443 | - /usr/include/bits/stdint-least.h | |
| 444 | - /usr/include/bits/stdint-uintn.h | |
| 445 | - /usr/include/bits/stdio_lim.h | |
| 446 | - /usr/include/bits/stdlib-float.h | |
| 447 | - /usr/include/bits/struct_mutex.h | |
| 448 | - /usr/include/bits/struct_rwlock.h | |
| 449 | - /usr/include/bits/thread-shared-types.h | |
| 450 | - /usr/include/bits/time.h | |
| 451 | - /usr/include/bits/time64.h | |
| 452 | - /usr/include/bits/timesize.h | |
| 453 | - /usr/include/bits/types.h | |
| 454 | - /usr/include/bits/types/FILE.h | |
| 455 | - /usr/include/bits/types/__FILE.h | |
| 456 | - /usr/include/bits/types/__fpos64_t.h | |
| 457 | - /usr/include/bits/types/__fpos_t.h | |
| 458 | - /usr/include/bits/types/__locale_t.h | |
| 459 | - /usr/include/bits/types/__mbstate_t.h | |
| 460 | - /usr/include/bits/types/__sigset_t.h | |
| 461 | - /usr/include/bits/types/__sigval_t.h | |
| 462 | - /usr/include/bits/types/clock_t.h | |
| 463 | - /usr/include/bits/types/clockid_t.h | |
| 464 | - /usr/include/bits/types/cookie_io_functions_t.h | |
| 465 | - /usr/include/bits/types/locale_t.h | |
| 466 | - /usr/include/bits/types/sig_atomic_t.h | |
| 467 | - /usr/include/bits/types/sigevent_t.h | |
| 468 | - /usr/include/bits/types/siginfo_t.h | |
| 469 | - /usr/include/bits/types/sigset_t.h | |
| 470 | - /usr/include/bits/types/sigval_t.h | |
| 471 | - /usr/include/bits/types/stack_t.h | |
| 472 | - /usr/include/bits/types/struct_FILE.h | |
| 473 | - /usr/include/bits/types/struct___jmp_buf_tag.h | |
| 474 | - /usr/include/bits/types/struct_itimerspec.h | |
| 475 | - /usr/include/bits/types/struct_sched_param.h | |
| 476 | - /usr/include/bits/types/struct_sigstack.h | |
| 477 | - /usr/include/bits/types/struct_timespec.h | |
| 478 | - /usr/include/bits/types/struct_timeval.h | |
| 479 | - /usr/include/bits/types/struct_tm.h | |
| 480 | - /usr/include/bits/types/time_t.h | |
| 481 | - /usr/include/bits/types/timer_t.h | |
| 482 | - /usr/include/bits/typesizes.h | |
| 483 | - /usr/include/bits/uintn-identity.h | |
| 484 | - /usr/include/bits/unistd_ext.h | |
| 485 | - /usr/include/bits/waitflags.h | |
| 486 | - /usr/include/bits/waitstatus.h | |
| 487 | - /usr/include/bits/wchar.h | |
| 488 | - /usr/include/bits/wordsize.h | |
| 489 | - /usr/include/endian.h | |
| 490 | - /usr/include/features-time64.h | |
| 491 | - /usr/include/features.h | |
| 492 | - /usr/include/gnu/stubs-64.h | |
| 493 | - /usr/include/gnu/stubs.h | |
| 494 | - /usr/include/linux/input-event-codes.h | |
| 495 | - /usr/include/linux/input.h | |
| 496 | - /usr/include/linux/ioctl.h | |
| 497 | - /usr/include/linux/limits.h | |
| 498 | - /usr/include/linux/posix_types.h | |
| 499 | - /usr/include/linux/stddef.h | |
| 500 | - /usr/include/linux/types.h | |
| 501 | - /usr/include/poll.h | |
| 502 | - /usr/include/pthread.h | |
| 503 | - /usr/include/regex.h | |
| 504 | - /usr/include/sched.h | |
| 505 | - /usr/include/signal.h | |
| 506 | - /usr/include/stdc-predef.h | |
| 507 | - /usr/include/stdint.h | |
| 508 | - /usr/include/stdio.h | |
| 509 | - /usr/include/stdlib.h | |
| 510 | - /usr/include/string.h | |
| 511 | - /usr/include/strings.h | |
| 512 | - /usr/include/sys/cdefs.h | |
| 513 | - /usr/include/sys/ioctl.h | |
| 514 | - /usr/include/sys/poll.h | |
| 515 | - /usr/include/sys/select.h | |
| 516 | - /usr/include/sys/time.h | |
| 517 | - /usr/include/sys/ttydefaults.h | |
| 518 | - /usr/include/sys/types.h | |
| 519 | - /usr/include/sys/ucontext.h | |
| 520 | - /usr/include/time.h | |
| 521 | - /usr/include/unistd.h | |
| 522 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h | |
| 523 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h | |
| 524 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stddef.h | |
| 525 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdint.h | |
| 526 | - | |
| 527 | 353 | raylib/external/glfw/src/CMakeFiles/glfw.dir/init.c.o |
| 528 | 354 | /home/fordon/projects/c/raylib/src/external/glfw/src/init.c |
| 529 | 355 | /home/fordon/projects/c/raylib/src/external/glfw/include/GLFW/glfw3.h |
| @@ -3343,739 +3169,3 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/window.c.o | ||
| 3343 | 3169 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stddef.h |
| 3344 | 3170 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdint.h |
| 3345 | 3171 | |
| 3346 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_init.c.o | |
| 3347 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_init.c | |
| 3348 | - /home/fordon/projects/c/raylib/src/external/glfw/include/GLFW/glfw3.h | |
| 3349 | - /home/fordon/projects/c/raylib/src/external/glfw/include/GLFW/glfw3native.h | |
| 3350 | - /home/fordon/projects/c/raylib/src/external/glfw/src/internal.h | |
| 3351 | - /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h | |
| 3352 | - /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h | |
| 3353 | - /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h | |
| 3354 | - /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h | |
| 3355 | - /home/fordon/projects/c/raylib/src/external/glfw/src/posix_poll.h | |
| 3356 | - /home/fordon/projects/c/raylib/src/external/glfw/src/posix_thread.h | |
| 3357 | - /home/fordon/projects/c/raylib/src/external/glfw/src/posix_time.h | |
| 3358 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_platform.h | |
| 3359 | - /usr/include/X11/X.h | |
| 3360 | - /usr/include/X11/XKBlib.h | |
| 3361 | - /usr/include/X11/Xatom.h | |
| 3362 | - /usr/include/X11/Xcursor/Xcursor.h | |
| 3363 | - /usr/include/X11/Xdefs.h | |
| 3364 | - /usr/include/X11/Xfuncproto.h | |
| 3365 | - /usr/include/X11/Xlib.h | |
| 3366 | - /usr/include/X11/Xosdefs.h | |
| 3367 | - /usr/include/X11/Xresource.h | |
| 3368 | - /usr/include/X11/Xutil.h | |
| 3369 | - /usr/include/X11/extensions/XI2.h | |
| 3370 | - /usr/include/X11/extensions/XInput2.h | |
| 3371 | - /usr/include/X11/extensions/XKB.h | |
| 3372 | - /usr/include/X11/extensions/XKBstr.h | |
| 3373 | - /usr/include/X11/extensions/Xfixes.h | |
| 3374 | - /usr/include/X11/extensions/Xge.h | |
| 3375 | - /usr/include/X11/extensions/Xinerama.h | |
| 3376 | - /usr/include/X11/extensions/Xrandr.h | |
| 3377 | - /usr/include/X11/extensions/Xrender.h | |
| 3378 | - /usr/include/X11/extensions/randr.h | |
| 3379 | - /usr/include/X11/extensions/render.h | |
| 3380 | - /usr/include/X11/extensions/shape.h | |
| 3381 | - /usr/include/X11/extensions/shapeconst.h | |
| 3382 | - /usr/include/X11/extensions/xfixeswire.h | |
| 3383 | - /usr/include/X11/keysym.h | |
| 3384 | - /usr/include/X11/keysymdef.h | |
| 3385 | - /usr/include/alloca.h | |
| 3386 | - /usr/include/asm-generic/bitsperlong.h | |
| 3387 | - /usr/include/asm-generic/errno-base.h | |
| 3388 | - /usr/include/asm-generic/errno.h | |
| 3389 | - /usr/include/asm-generic/int-ll64.h | |
| 3390 | - /usr/include/asm-generic/ioctl.h | |
| 3391 | - /usr/include/asm-generic/ioctls.h | |
| 3392 | - /usr/include/asm-generic/posix_types.h | |
| 3393 | - /usr/include/asm-generic/types.h | |
| 3394 | - /usr/include/asm/bitsperlong.h | |
| 3395 | - /usr/include/asm/errno.h | |
| 3396 | - /usr/include/asm/ioctl.h | |
| 3397 | - /usr/include/asm/ioctls.h | |
| 3398 | - /usr/include/asm/posix_types.h | |
| 3399 | - /usr/include/asm/posix_types_64.h | |
| 3400 | - /usr/include/asm/types.h | |
| 3401 | - /usr/include/assert.h | |
| 3402 | - /usr/include/bits/atomic_wide_counter.h | |
| 3403 | - /usr/include/bits/byteswap.h | |
| 3404 | - /usr/include/bits/confname.h | |
| 3405 | - /usr/include/bits/cpu-set.h | |
| 3406 | - /usr/include/bits/endian.h | |
| 3407 | - /usr/include/bits/endianness.h | |
| 3408 | - /usr/include/bits/environments.h | |
| 3409 | - /usr/include/bits/errno.h | |
| 3410 | - /usr/include/bits/fcntl-linux.h | |
| 3411 | - /usr/include/bits/fcntl.h | |
| 3412 | - /usr/include/bits/floatn-common.h | |
| 3413 | - /usr/include/bits/floatn.h | |
| 3414 | - /usr/include/bits/getopt_core.h | |
| 3415 | - /usr/include/bits/getopt_posix.h | |
| 3416 | - /usr/include/bits/ioctl-types.h | |
| 3417 | - /usr/include/bits/ioctls.h | |
| 3418 | - /usr/include/bits/libc-header-start.h | |
| 3419 | - /usr/include/bits/local_lim.h | |
| 3420 | - /usr/include/bits/locale.h | |
| 3421 | - /usr/include/bits/long-double.h | |
| 3422 | - /usr/include/bits/poll.h | |
| 3423 | - /usr/include/bits/posix1_lim.h | |
| 3424 | - /usr/include/bits/posix2_lim.h | |
| 3425 | - /usr/include/bits/posix_opt.h | |
| 3426 | - /usr/include/bits/pthread_stack_min-dynamic.h | |
| 3427 | - /usr/include/bits/pthread_stack_min.h | |
| 3428 | - /usr/include/bits/pthreadtypes-arch.h | |
| 3429 | - /usr/include/bits/pthreadtypes.h | |
| 3430 | - /usr/include/bits/sched.h | |
| 3431 | - /usr/include/bits/select.h | |
| 3432 | - /usr/include/bits/setjmp.h | |
| 3433 | - /usr/include/bits/sigaction.h | |
| 3434 | - /usr/include/bits/sigcontext.h | |
| 3435 | - /usr/include/bits/sigevent-consts.h | |
| 3436 | - /usr/include/bits/siginfo-arch.h | |
| 3437 | - /usr/include/bits/siginfo-consts.h | |
| 3438 | - /usr/include/bits/signal_ext.h | |
| 3439 | - /usr/include/bits/signum-arch.h | |
| 3440 | - /usr/include/bits/signum-generic.h | |
| 3441 | - /usr/include/bits/sigstack.h | |
| 3442 | - /usr/include/bits/sigstksz.h | |
| 3443 | - /usr/include/bits/sigthread.h | |
| 3444 | - /usr/include/bits/ss_flags.h | |
| 3445 | - /usr/include/bits/stat.h | |
| 3446 | - /usr/include/bits/stdint-intn.h | |
| 3447 | - /usr/include/bits/stdint-least.h | |
| 3448 | - /usr/include/bits/stdint-uintn.h | |
| 3449 | - /usr/include/bits/stdio_lim.h | |
| 3450 | - /usr/include/bits/stdlib-float.h | |
| 3451 | - /usr/include/bits/struct_mutex.h | |
| 3452 | - /usr/include/bits/struct_rwlock.h | |
| 3453 | - /usr/include/bits/struct_stat.h | |
| 3454 | - /usr/include/bits/thread-shared-types.h | |
| 3455 | - /usr/include/bits/time.h | |
| 3456 | - /usr/include/bits/time64.h | |
| 3457 | - /usr/include/bits/timesize.h | |
| 3458 | - /usr/include/bits/types.h | |
| 3459 | - /usr/include/bits/types/FILE.h | |
| 3460 | - /usr/include/bits/types/__FILE.h | |
| 3461 | - /usr/include/bits/types/__fpos64_t.h | |
| 3462 | - /usr/include/bits/types/__fpos_t.h | |
| 3463 | - /usr/include/bits/types/__locale_t.h | |
| 3464 | - /usr/include/bits/types/__mbstate_t.h | |
| 3465 | - /usr/include/bits/types/__sigset_t.h | |
| 3466 | - /usr/include/bits/types/__sigval_t.h | |
| 3467 | - /usr/include/bits/types/clock_t.h | |
| 3468 | - /usr/include/bits/types/clockid_t.h | |
| 3469 | - /usr/include/bits/types/cookie_io_functions_t.h | |
| 3470 | - /usr/include/bits/types/locale_t.h | |
| 3471 | - /usr/include/bits/types/sig_atomic_t.h | |
| 3472 | - /usr/include/bits/types/sigevent_t.h | |
| 3473 | - /usr/include/bits/types/siginfo_t.h | |
| 3474 | - /usr/include/bits/types/sigset_t.h | |
| 3475 | - /usr/include/bits/types/sigval_t.h | |
| 3476 | - /usr/include/bits/types/stack_t.h | |
| 3477 | - /usr/include/bits/types/struct_FILE.h | |
| 3478 | - /usr/include/bits/types/struct___jmp_buf_tag.h | |
| 3479 | - /usr/include/bits/types/struct_itimerspec.h | |
| 3480 | - /usr/include/bits/types/struct_sched_param.h | |
| 3481 | - /usr/include/bits/types/struct_sigstack.h | |
| 3482 | - /usr/include/bits/types/struct_timespec.h | |
| 3483 | - /usr/include/bits/types/struct_timeval.h | |
| 3484 | - /usr/include/bits/types/struct_tm.h | |
| 3485 | - /usr/include/bits/types/time_t.h | |
| 3486 | - /usr/include/bits/types/timer_t.h | |
| 3487 | - /usr/include/bits/typesizes.h | |
| 3488 | - /usr/include/bits/uintn-identity.h | |
| 3489 | - /usr/include/bits/unistd_ext.h | |
| 3490 | - /usr/include/bits/waitflags.h | |
| 3491 | - /usr/include/bits/waitstatus.h | |
| 3492 | - /usr/include/bits/wchar.h | |
| 3493 | - /usr/include/bits/wordsize.h | |
| 3494 | - /usr/include/endian.h | |
| 3495 | - /usr/include/errno.h | |
| 3496 | - /usr/include/fcntl.h | |
| 3497 | - /usr/include/features-time64.h | |
| 3498 | - /usr/include/features.h | |
| 3499 | - /usr/include/gnu/stubs-64.h | |
| 3500 | - /usr/include/gnu/stubs.h | |
| 3501 | - /usr/include/limits.h | |
| 3502 | - /usr/include/linux/errno.h | |
| 3503 | - /usr/include/linux/input-event-codes.h | |
| 3504 | - /usr/include/linux/input.h | |
| 3505 | - /usr/include/linux/ioctl.h | |
| 3506 | - /usr/include/linux/limits.h | |
| 3507 | - /usr/include/linux/posix_types.h | |
| 3508 | - /usr/include/linux/stddef.h | |
| 3509 | - /usr/include/linux/types.h | |
| 3510 | - /usr/include/locale.h | |
| 3511 | - /usr/include/poll.h | |
| 3512 | - /usr/include/pthread.h | |
| 3513 | - /usr/include/regex.h | |
| 3514 | - /usr/include/sched.h | |
| 3515 | - /usr/include/signal.h | |
| 3516 | - /usr/include/stdc-predef.h | |
| 3517 | - /usr/include/stdint.h | |
| 3518 | - /usr/include/stdio.h | |
| 3519 | - /usr/include/stdlib.h | |
| 3520 | - /usr/include/string.h | |
| 3521 | - /usr/include/strings.h | |
| 3522 | - /usr/include/sys/cdefs.h | |
| 3523 | - /usr/include/sys/ioctl.h | |
| 3524 | - /usr/include/sys/poll.h | |
| 3525 | - /usr/include/sys/select.h | |
| 3526 | - /usr/include/sys/time.h | |
| 3527 | - /usr/include/sys/ttydefaults.h | |
| 3528 | - /usr/include/sys/types.h | |
| 3529 | - /usr/include/sys/ucontext.h | |
| 3530 | - /usr/include/time.h | |
| 3531 | - /usr/include/unistd.h | |
| 3532 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/limits.h | |
| 3533 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h | |
| 3534 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h | |
| 3535 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stddef.h | |
| 3536 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdint.h | |
| 3537 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/syslimits.h | |
| 3538 | - | |
| 3539 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_monitor.c.o | |
| 3540 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_monitor.c | |
| 3541 | - /home/fordon/projects/c/raylib/src/external/glfw/include/GLFW/glfw3.h | |
| 3542 | - /home/fordon/projects/c/raylib/src/external/glfw/include/GLFW/glfw3native.h | |
| 3543 | - /home/fordon/projects/c/raylib/src/external/glfw/src/internal.h | |
| 3544 | - /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h | |
| 3545 | - /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h | |
| 3546 | - /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h | |
| 3547 | - /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h | |
| 3548 | - /home/fordon/projects/c/raylib/src/external/glfw/src/posix_poll.h | |
| 3549 | - /home/fordon/projects/c/raylib/src/external/glfw/src/posix_thread.h | |
| 3550 | - /home/fordon/projects/c/raylib/src/external/glfw/src/posix_time.h | |
| 3551 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_platform.h | |
| 3552 | - /usr/include/X11/X.h | |
| 3553 | - /usr/include/X11/XKBlib.h | |
| 3554 | - /usr/include/X11/Xatom.h | |
| 3555 | - /usr/include/X11/Xcursor/Xcursor.h | |
| 3556 | - /usr/include/X11/Xdefs.h | |
| 3557 | - /usr/include/X11/Xfuncproto.h | |
| 3558 | - /usr/include/X11/Xlib.h | |
| 3559 | - /usr/include/X11/Xosdefs.h | |
| 3560 | - /usr/include/X11/Xresource.h | |
| 3561 | - /usr/include/X11/Xutil.h | |
| 3562 | - /usr/include/X11/extensions/XI2.h | |
| 3563 | - /usr/include/X11/extensions/XInput2.h | |
| 3564 | - /usr/include/X11/extensions/XKB.h | |
| 3565 | - /usr/include/X11/extensions/XKBstr.h | |
| 3566 | - /usr/include/X11/extensions/Xfixes.h | |
| 3567 | - /usr/include/X11/extensions/Xge.h | |
| 3568 | - /usr/include/X11/extensions/Xinerama.h | |
| 3569 | - /usr/include/X11/extensions/Xrandr.h | |
| 3570 | - /usr/include/X11/extensions/Xrender.h | |
| 3571 | - /usr/include/X11/extensions/randr.h | |
| 3572 | - /usr/include/X11/extensions/render.h | |
| 3573 | - /usr/include/X11/extensions/shape.h | |
| 3574 | - /usr/include/X11/extensions/shapeconst.h | |
| 3575 | - /usr/include/X11/extensions/xfixeswire.h | |
| 3576 | - /usr/include/X11/keysym.h | |
| 3577 | - /usr/include/X11/keysymdef.h | |
| 3578 | - /usr/include/alloca.h | |
| 3579 | - /usr/include/asm-generic/bitsperlong.h | |
| 3580 | - /usr/include/asm-generic/int-ll64.h | |
| 3581 | - /usr/include/asm-generic/ioctl.h | |
| 3582 | - /usr/include/asm-generic/ioctls.h | |
| 3583 | - /usr/include/asm-generic/posix_types.h | |
| 3584 | - /usr/include/asm-generic/types.h | |
| 3585 | - /usr/include/asm/bitsperlong.h | |
| 3586 | - /usr/include/asm/ioctl.h | |
| 3587 | - /usr/include/asm/ioctls.h | |
| 3588 | - /usr/include/asm/posix_types.h | |
| 3589 | - /usr/include/asm/posix_types_64.h | |
| 3590 | - /usr/include/asm/types.h | |
| 3591 | - /usr/include/assert.h | |
| 3592 | - /usr/include/bits/atomic_wide_counter.h | |
| 3593 | - /usr/include/bits/byteswap.h | |
| 3594 | - /usr/include/bits/confname.h | |
| 3595 | - /usr/include/bits/cpu-set.h | |
| 3596 | - /usr/include/bits/endian.h | |
| 3597 | - /usr/include/bits/endianness.h | |
| 3598 | - /usr/include/bits/environments.h | |
| 3599 | - /usr/include/bits/floatn-common.h | |
| 3600 | - /usr/include/bits/floatn.h | |
| 3601 | - /usr/include/bits/flt-eval-method.h | |
| 3602 | - /usr/include/bits/fp-fast.h | |
| 3603 | - /usr/include/bits/fp-logb.h | |
| 3604 | - /usr/include/bits/getopt_core.h | |
| 3605 | - /usr/include/bits/getopt_posix.h | |
| 3606 | - /usr/include/bits/ioctl-types.h | |
| 3607 | - /usr/include/bits/ioctls.h | |
| 3608 | - /usr/include/bits/libc-header-start.h | |
| 3609 | - /usr/include/bits/libm-simd-decl-stubs.h | |
| 3610 | - /usr/include/bits/local_lim.h | |
| 3611 | - /usr/include/bits/long-double.h | |
| 3612 | - /usr/include/bits/math-vector.h | |
| 3613 | - /usr/include/bits/mathcalls-helper-functions.h | |
| 3614 | - /usr/include/bits/mathcalls-macros.h | |
| 3615 | - /usr/include/bits/mathcalls.h | |
| 3616 | - /usr/include/bits/poll.h | |
| 3617 | - /usr/include/bits/posix1_lim.h | |
| 3618 | - /usr/include/bits/posix2_lim.h | |
| 3619 | - /usr/include/bits/posix_opt.h | |
| 3620 | - /usr/include/bits/pthread_stack_min-dynamic.h | |
| 3621 | - /usr/include/bits/pthread_stack_min.h | |
| 3622 | - /usr/include/bits/pthreadtypes-arch.h | |
| 3623 | - /usr/include/bits/pthreadtypes.h | |
| 3624 | - /usr/include/bits/sched.h | |
| 3625 | - /usr/include/bits/select.h | |
| 3626 | - /usr/include/bits/setjmp.h | |
| 3627 | - /usr/include/bits/sigaction.h | |
| 3628 | - /usr/include/bits/sigcontext.h | |
| 3629 | - /usr/include/bits/sigevent-consts.h | |
| 3630 | - /usr/include/bits/siginfo-arch.h | |
| 3631 | - /usr/include/bits/siginfo-consts.h | |
| 3632 | - /usr/include/bits/signal_ext.h | |
| 3633 | - /usr/include/bits/signum-arch.h | |
| 3634 | - /usr/include/bits/signum-generic.h | |
| 3635 | - /usr/include/bits/sigstack.h | |
| 3636 | - /usr/include/bits/sigstksz.h | |
| 3637 | - /usr/include/bits/sigthread.h | |
| 3638 | - /usr/include/bits/ss_flags.h | |
| 3639 | - /usr/include/bits/stdint-intn.h | |
| 3640 | - /usr/include/bits/stdint-least.h | |
| 3641 | - /usr/include/bits/stdint-uintn.h | |
| 3642 | - /usr/include/bits/stdio_lim.h | |
| 3643 | - /usr/include/bits/stdlib-float.h | |
| 3644 | - /usr/include/bits/struct_mutex.h | |
| 3645 | - /usr/include/bits/struct_rwlock.h | |
| 3646 | - /usr/include/bits/thread-shared-types.h | |
| 3647 | - /usr/include/bits/time.h | |
| 3648 | - /usr/include/bits/time64.h | |
| 3649 | - /usr/include/bits/timesize.h | |
| 3650 | - /usr/include/bits/types.h | |
| 3651 | - /usr/include/bits/types/FILE.h | |
| 3652 | - /usr/include/bits/types/__FILE.h | |
| 3653 | - /usr/include/bits/types/__fpos64_t.h | |
| 3654 | - /usr/include/bits/types/__fpos_t.h | |
| 3655 | - /usr/include/bits/types/__locale_t.h | |
| 3656 | - /usr/include/bits/types/__mbstate_t.h | |
| 3657 | - /usr/include/bits/types/__sigset_t.h | |
| 3658 | - /usr/include/bits/types/__sigval_t.h | |
| 3659 | - /usr/include/bits/types/clock_t.h | |
| 3660 | - /usr/include/bits/types/clockid_t.h | |
| 3661 | - /usr/include/bits/types/cookie_io_functions_t.h | |
| 3662 | - /usr/include/bits/types/locale_t.h | |
| 3663 | - /usr/include/bits/types/sig_atomic_t.h | |
| 3664 | - /usr/include/bits/types/sigevent_t.h | |
| 3665 | - /usr/include/bits/types/siginfo_t.h | |
| 3666 | - /usr/include/bits/types/sigset_t.h | |
| 3667 | - /usr/include/bits/types/sigval_t.h | |
| 3668 | - /usr/include/bits/types/stack_t.h | |
| 3669 | - /usr/include/bits/types/struct_FILE.h | |
| 3670 | - /usr/include/bits/types/struct___jmp_buf_tag.h | |
| 3671 | - /usr/include/bits/types/struct_itimerspec.h | |
| 3672 | - /usr/include/bits/types/struct_sched_param.h | |
| 3673 | - /usr/include/bits/types/struct_sigstack.h | |
| 3674 | - /usr/include/bits/types/struct_timespec.h | |
| 3675 | - /usr/include/bits/types/struct_timeval.h | |
| 3676 | - /usr/include/bits/types/struct_tm.h | |
| 3677 | - /usr/include/bits/types/time_t.h | |
| 3678 | - /usr/include/bits/types/timer_t.h | |
| 3679 | - /usr/include/bits/typesizes.h | |
| 3680 | - /usr/include/bits/uintn-identity.h | |
| 3681 | - /usr/include/bits/unistd_ext.h | |
| 3682 | - /usr/include/bits/waitflags.h | |
| 3683 | - /usr/include/bits/waitstatus.h | |
| 3684 | - /usr/include/bits/wchar.h | |
| 3685 | - /usr/include/bits/wordsize.h | |
| 3686 | - /usr/include/endian.h | |
| 3687 | - /usr/include/features-time64.h | |
| 3688 | - /usr/include/features.h | |
| 3689 | - /usr/include/gnu/stubs-64.h | |
| 3690 | - /usr/include/gnu/stubs.h | |
| 3691 | - /usr/include/limits.h | |
| 3692 | - /usr/include/linux/input-event-codes.h | |
| 3693 | - /usr/include/linux/input.h | |
| 3694 | - /usr/include/linux/ioctl.h | |
| 3695 | - /usr/include/linux/limits.h | |
| 3696 | - /usr/include/linux/posix_types.h | |
| 3697 | - /usr/include/linux/stddef.h | |
| 3698 | - /usr/include/linux/types.h | |
| 3699 | - /usr/include/math.h | |
| 3700 | - /usr/include/poll.h | |
| 3701 | - /usr/include/pthread.h | |
| 3702 | - /usr/include/regex.h | |
| 3703 | - /usr/include/sched.h | |
| 3704 | - /usr/include/signal.h | |
| 3705 | - /usr/include/stdc-predef.h | |
| 3706 | - /usr/include/stdint.h | |
| 3707 | - /usr/include/stdio.h | |
| 3708 | - /usr/include/stdlib.h | |
| 3709 | - /usr/include/string.h | |
| 3710 | - /usr/include/strings.h | |
| 3711 | - /usr/include/sys/cdefs.h | |
| 3712 | - /usr/include/sys/ioctl.h | |
| 3713 | - /usr/include/sys/poll.h | |
| 3714 | - /usr/include/sys/select.h | |
| 3715 | - /usr/include/sys/time.h | |
| 3716 | - /usr/include/sys/ttydefaults.h | |
| 3717 | - /usr/include/sys/types.h | |
| 3718 | - /usr/include/sys/ucontext.h | |
| 3719 | - /usr/include/time.h | |
| 3720 | - /usr/include/unistd.h | |
| 3721 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/limits.h | |
| 3722 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h | |
| 3723 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h | |
| 3724 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stddef.h | |
| 3725 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdint.h | |
| 3726 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/syslimits.h | |
| 3727 | - | |
| 3728 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_window.c.o | |
| 3729 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_window.c | |
| 3730 | - /home/fordon/projects/c/raylib/src/external/glfw/include/GLFW/glfw3.h | |
| 3731 | - /home/fordon/projects/c/raylib/src/external/glfw/include/GLFW/glfw3native.h | |
| 3732 | - /home/fordon/projects/c/raylib/src/external/glfw/src/internal.h | |
| 3733 | - /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h | |
| 3734 | - /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h | |
| 3735 | - /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h | |
| 3736 | - /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h | |
| 3737 | - /home/fordon/projects/c/raylib/src/external/glfw/src/posix_poll.h | |
| 3738 | - /home/fordon/projects/c/raylib/src/external/glfw/src/posix_thread.h | |
| 3739 | - /home/fordon/projects/c/raylib/src/external/glfw/src/posix_time.h | |
| 3740 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_platform.h | |
| 3741 | - /usr/include/X11/X.h | |
| 3742 | - /usr/include/X11/XKBlib.h | |
| 3743 | - /usr/include/X11/Xatom.h | |
| 3744 | - /usr/include/X11/Xcursor/Xcursor.h | |
| 3745 | - /usr/include/X11/Xdefs.h | |
| 3746 | - /usr/include/X11/Xfuncproto.h | |
| 3747 | - /usr/include/X11/Xlib.h | |
| 3748 | - /usr/include/X11/Xmd.h | |
| 3749 | - /usr/include/X11/Xosdefs.h | |
| 3750 | - /usr/include/X11/Xresource.h | |
| 3751 | - /usr/include/X11/Xutil.h | |
| 3752 | - /usr/include/X11/cursorfont.h | |
| 3753 | - /usr/include/X11/extensions/XI2.h | |
| 3754 | - /usr/include/X11/extensions/XInput2.h | |
| 3755 | - /usr/include/X11/extensions/XKB.h | |
| 3756 | - /usr/include/X11/extensions/XKBstr.h | |
| 3757 | - /usr/include/X11/extensions/Xfixes.h | |
| 3758 | - /usr/include/X11/extensions/Xge.h | |
| 3759 | - /usr/include/X11/extensions/Xinerama.h | |
| 3760 | - /usr/include/X11/extensions/Xrandr.h | |
| 3761 | - /usr/include/X11/extensions/Xrender.h | |
| 3762 | - /usr/include/X11/extensions/randr.h | |
| 3763 | - /usr/include/X11/extensions/render.h | |
| 3764 | - /usr/include/X11/extensions/shape.h | |
| 3765 | - /usr/include/X11/extensions/shapeconst.h | |
| 3766 | - /usr/include/X11/extensions/xfixeswire.h | |
| 3767 | - /usr/include/X11/keysym.h | |
| 3768 | - /usr/include/X11/keysymdef.h | |
| 3769 | - /usr/include/alloca.h | |
| 3770 | - /usr/include/asm-generic/bitsperlong.h | |
| 3771 | - /usr/include/asm-generic/errno-base.h | |
| 3772 | - /usr/include/asm-generic/errno.h | |
| 3773 | - /usr/include/asm-generic/int-ll64.h | |
| 3774 | - /usr/include/asm-generic/ioctl.h | |
| 3775 | - /usr/include/asm-generic/ioctls.h | |
| 3776 | - /usr/include/asm-generic/posix_types.h | |
| 3777 | - /usr/include/asm-generic/types.h | |
| 3778 | - /usr/include/asm/bitsperlong.h | |
| 3779 | - /usr/include/asm/errno.h | |
| 3780 | - /usr/include/asm/ioctl.h | |
| 3781 | - /usr/include/asm/ioctls.h | |
| 3782 | - /usr/include/asm/posix_types.h | |
| 3783 | - /usr/include/asm/posix_types_64.h | |
| 3784 | - /usr/include/asm/types.h | |
| 3785 | - /usr/include/assert.h | |
| 3786 | - /usr/include/bits/atomic_wide_counter.h | |
| 3787 | - /usr/include/bits/byteswap.h | |
| 3788 | - /usr/include/bits/confname.h | |
| 3789 | - /usr/include/bits/cpu-set.h | |
| 3790 | - /usr/include/bits/endian.h | |
| 3791 | - /usr/include/bits/endianness.h | |
| 3792 | - /usr/include/bits/environments.h | |
| 3793 | - /usr/include/bits/errno.h | |
| 3794 | - /usr/include/bits/floatn-common.h | |
| 3795 | - /usr/include/bits/floatn.h | |
| 3796 | - /usr/include/bits/getopt_core.h | |
| 3797 | - /usr/include/bits/getopt_posix.h | |
| 3798 | - /usr/include/bits/ioctl-types.h | |
| 3799 | - /usr/include/bits/ioctls.h | |
| 3800 | - /usr/include/bits/libc-header-start.h | |
| 3801 | - /usr/include/bits/local_lim.h | |
| 3802 | - /usr/include/bits/long-double.h | |
| 3803 | - /usr/include/bits/poll.h | |
| 3804 | - /usr/include/bits/posix1_lim.h | |
| 3805 | - /usr/include/bits/posix2_lim.h | |
| 3806 | - /usr/include/bits/posix_opt.h | |
| 3807 | - /usr/include/bits/pthread_stack_min-dynamic.h | |
| 3808 | - /usr/include/bits/pthread_stack_min.h | |
| 3809 | - /usr/include/bits/pthreadtypes-arch.h | |
| 3810 | - /usr/include/bits/pthreadtypes.h | |
| 3811 | - /usr/include/bits/sched.h | |
| 3812 | - /usr/include/bits/select.h | |
| 3813 | - /usr/include/bits/setjmp.h | |
| 3814 | - /usr/include/bits/sigaction.h | |
| 3815 | - /usr/include/bits/sigcontext.h | |
| 3816 | - /usr/include/bits/sigevent-consts.h | |
| 3817 | - /usr/include/bits/siginfo-arch.h | |
| 3818 | - /usr/include/bits/siginfo-consts.h | |
| 3819 | - /usr/include/bits/signal_ext.h | |
| 3820 | - /usr/include/bits/signum-arch.h | |
| 3821 | - /usr/include/bits/signum-generic.h | |
| 3822 | - /usr/include/bits/sigstack.h | |
| 3823 | - /usr/include/bits/sigstksz.h | |
| 3824 | - /usr/include/bits/sigthread.h | |
| 3825 | - /usr/include/bits/ss_flags.h | |
| 3826 | - /usr/include/bits/stdint-intn.h | |
| 3827 | - /usr/include/bits/stdint-least.h | |
| 3828 | - /usr/include/bits/stdint-uintn.h | |
| 3829 | - /usr/include/bits/stdio_lim.h | |
| 3830 | - /usr/include/bits/stdlib-float.h | |
| 3831 | - /usr/include/bits/struct_mutex.h | |
| 3832 | - /usr/include/bits/struct_rwlock.h | |
| 3833 | - /usr/include/bits/thread-shared-types.h | |
| 3834 | - /usr/include/bits/time.h | |
| 3835 | - /usr/include/bits/time64.h | |
| 3836 | - /usr/include/bits/timesize.h | |
| 3837 | - /usr/include/bits/types.h | |
| 3838 | - /usr/include/bits/types/FILE.h | |
| 3839 | - /usr/include/bits/types/__FILE.h | |
| 3840 | - /usr/include/bits/types/__fpos64_t.h | |
| 3841 | - /usr/include/bits/types/__fpos_t.h | |
| 3842 | - /usr/include/bits/types/__locale_t.h | |
| 3843 | - /usr/include/bits/types/__mbstate_t.h | |
| 3844 | - /usr/include/bits/types/__sigset_t.h | |
| 3845 | - /usr/include/bits/types/__sigval_t.h | |
| 3846 | - /usr/include/bits/types/clock_t.h | |
| 3847 | - /usr/include/bits/types/clockid_t.h | |
| 3848 | - /usr/include/bits/types/cookie_io_functions_t.h | |
| 3849 | - /usr/include/bits/types/locale_t.h | |
| 3850 | - /usr/include/bits/types/sig_atomic_t.h | |
| 3851 | - /usr/include/bits/types/sigevent_t.h | |
| 3852 | - /usr/include/bits/types/siginfo_t.h | |
| 3853 | - /usr/include/bits/types/sigset_t.h | |
| 3854 | - /usr/include/bits/types/sigval_t.h | |
| 3855 | - /usr/include/bits/types/stack_t.h | |
| 3856 | - /usr/include/bits/types/struct_FILE.h | |
| 3857 | - /usr/include/bits/types/struct___jmp_buf_tag.h | |
| 3858 | - /usr/include/bits/types/struct_itimerspec.h | |
| 3859 | - /usr/include/bits/types/struct_sched_param.h | |
| 3860 | - /usr/include/bits/types/struct_sigstack.h | |
| 3861 | - /usr/include/bits/types/struct_timespec.h | |
| 3862 | - /usr/include/bits/types/struct_timeval.h | |
| 3863 | - /usr/include/bits/types/struct_tm.h | |
| 3864 | - /usr/include/bits/types/time_t.h | |
| 3865 | - /usr/include/bits/types/timer_t.h | |
| 3866 | - /usr/include/bits/typesizes.h | |
| 3867 | - /usr/include/bits/uintn-identity.h | |
| 3868 | - /usr/include/bits/unistd_ext.h | |
| 3869 | - /usr/include/bits/waitflags.h | |
| 3870 | - /usr/include/bits/waitstatus.h | |
| 3871 | - /usr/include/bits/wchar.h | |
| 3872 | - /usr/include/bits/wordsize.h | |
| 3873 | - /usr/include/endian.h | |
| 3874 | - /usr/include/errno.h | |
| 3875 | - /usr/include/features-time64.h | |
| 3876 | - /usr/include/features.h | |
| 3877 | - /usr/include/gnu/stubs-64.h | |
| 3878 | - /usr/include/gnu/stubs.h | |
| 3879 | - /usr/include/limits.h | |
| 3880 | - /usr/include/linux/errno.h | |
| 3881 | - /usr/include/linux/input-event-codes.h | |
| 3882 | - /usr/include/linux/input.h | |
| 3883 | - /usr/include/linux/ioctl.h | |
| 3884 | - /usr/include/linux/limits.h | |
| 3885 | - /usr/include/linux/posix_types.h | |
| 3886 | - /usr/include/linux/stddef.h | |
| 3887 | - /usr/include/linux/types.h | |
| 3888 | - /usr/include/poll.h | |
| 3889 | - /usr/include/pthread.h | |
| 3890 | - /usr/include/regex.h | |
| 3891 | - /usr/include/sched.h | |
| 3892 | - /usr/include/signal.h | |
| 3893 | - /usr/include/stdc-predef.h | |
| 3894 | - /usr/include/stdint.h | |
| 3895 | - /usr/include/stdio.h | |
| 3896 | - /usr/include/stdlib.h | |
| 3897 | - /usr/include/string.h | |
| 3898 | - /usr/include/strings.h | |
| 3899 | - /usr/include/sys/cdefs.h | |
| 3900 | - /usr/include/sys/ioctl.h | |
| 3901 | - /usr/include/sys/poll.h | |
| 3902 | - /usr/include/sys/select.h | |
| 3903 | - /usr/include/sys/time.h | |
| 3904 | - /usr/include/sys/ttydefaults.h | |
| 3905 | - /usr/include/sys/types.h | |
| 3906 | - /usr/include/sys/ucontext.h | |
| 3907 | - /usr/include/time.h | |
| 3908 | - /usr/include/unistd.h | |
| 3909 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/limits.h | |
| 3910 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h | |
| 3911 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h | |
| 3912 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stddef.h | |
| 3913 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdint.h | |
| 3914 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/syslimits.h | |
| 3915 | - | |
| 3916 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/xkb_unicode.c.o | |
| 3917 | - /home/fordon/projects/c/raylib/src/external/glfw/src/xkb_unicode.c | |
| 3918 | - /home/fordon/projects/c/raylib/src/external/glfw/include/GLFW/glfw3.h | |
| 3919 | - /home/fordon/projects/c/raylib/src/external/glfw/include/GLFW/glfw3native.h | |
| 3920 | - /home/fordon/projects/c/raylib/src/external/glfw/src/internal.h | |
| 3921 | - /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h | |
| 3922 | - /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h | |
| 3923 | - /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h | |
| 3924 | - /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h | |
| 3925 | - /home/fordon/projects/c/raylib/src/external/glfw/src/posix_poll.h | |
| 3926 | - /home/fordon/projects/c/raylib/src/external/glfw/src/posix_thread.h | |
| 3927 | - /home/fordon/projects/c/raylib/src/external/glfw/src/posix_time.h | |
| 3928 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_platform.h | |
| 3929 | - /usr/include/X11/X.h | |
| 3930 | - /usr/include/X11/XKBlib.h | |
| 3931 | - /usr/include/X11/Xatom.h | |
| 3932 | - /usr/include/X11/Xcursor/Xcursor.h | |
| 3933 | - /usr/include/X11/Xdefs.h | |
| 3934 | - /usr/include/X11/Xfuncproto.h | |
| 3935 | - /usr/include/X11/Xlib.h | |
| 3936 | - /usr/include/X11/Xosdefs.h | |
| 3937 | - /usr/include/X11/Xresource.h | |
| 3938 | - /usr/include/X11/Xutil.h | |
| 3939 | - /usr/include/X11/extensions/XI2.h | |
| 3940 | - /usr/include/X11/extensions/XInput2.h | |
| 3941 | - /usr/include/X11/extensions/XKB.h | |
| 3942 | - /usr/include/X11/extensions/XKBstr.h | |
| 3943 | - /usr/include/X11/extensions/Xfixes.h | |
| 3944 | - /usr/include/X11/extensions/Xge.h | |
| 3945 | - /usr/include/X11/extensions/Xinerama.h | |
| 3946 | - /usr/include/X11/extensions/Xrandr.h | |
| 3947 | - /usr/include/X11/extensions/Xrender.h | |
| 3948 | - /usr/include/X11/extensions/randr.h | |
| 3949 | - /usr/include/X11/extensions/render.h | |
| 3950 | - /usr/include/X11/extensions/shape.h | |
| 3951 | - /usr/include/X11/extensions/shapeconst.h | |
| 3952 | - /usr/include/X11/extensions/xfixeswire.h | |
| 3953 | - /usr/include/X11/keysym.h | |
| 3954 | - /usr/include/X11/keysymdef.h | |
| 3955 | - /usr/include/asm-generic/bitsperlong.h | |
| 3956 | - /usr/include/asm-generic/int-ll64.h | |
| 3957 | - /usr/include/asm-generic/ioctl.h | |
| 3958 | - /usr/include/asm-generic/ioctls.h | |
| 3959 | - /usr/include/asm-generic/posix_types.h | |
| 3960 | - /usr/include/asm-generic/types.h | |
| 3961 | - /usr/include/asm/bitsperlong.h | |
| 3962 | - /usr/include/asm/ioctl.h | |
| 3963 | - /usr/include/asm/ioctls.h | |
| 3964 | - /usr/include/asm/posix_types.h | |
| 3965 | - /usr/include/asm/posix_types_64.h | |
| 3966 | - /usr/include/asm/types.h | |
| 3967 | - /usr/include/bits/atomic_wide_counter.h | |
| 3968 | - /usr/include/bits/byteswap.h | |
| 3969 | - /usr/include/bits/confname.h | |
| 3970 | - /usr/include/bits/cpu-set.h | |
| 3971 | - /usr/include/bits/endian.h | |
| 3972 | - /usr/include/bits/endianness.h | |
| 3973 | - /usr/include/bits/environments.h | |
| 3974 | - /usr/include/bits/floatn-common.h | |
| 3975 | - /usr/include/bits/floatn.h | |
| 3976 | - /usr/include/bits/getopt_core.h | |
| 3977 | - /usr/include/bits/getopt_posix.h | |
| 3978 | - /usr/include/bits/ioctl-types.h | |
| 3979 | - /usr/include/bits/ioctls.h | |
| 3980 | - /usr/include/bits/libc-header-start.h | |
| 3981 | - /usr/include/bits/long-double.h | |
| 3982 | - /usr/include/bits/poll.h | |
| 3983 | - /usr/include/bits/posix_opt.h | |
| 3984 | - /usr/include/bits/pthread_stack_min-dynamic.h | |
| 3985 | - /usr/include/bits/pthread_stack_min.h | |
| 3986 | - /usr/include/bits/pthreadtypes-arch.h | |
| 3987 | - /usr/include/bits/pthreadtypes.h | |
| 3988 | - /usr/include/bits/sched.h | |
| 3989 | - /usr/include/bits/select.h | |
| 3990 | - /usr/include/bits/setjmp.h | |
| 3991 | - /usr/include/bits/sigaction.h | |
| 3992 | - /usr/include/bits/sigcontext.h | |
| 3993 | - /usr/include/bits/sigevent-consts.h | |
| 3994 | - /usr/include/bits/siginfo-arch.h | |
| 3995 | - /usr/include/bits/siginfo-consts.h | |
| 3996 | - /usr/include/bits/signal_ext.h | |
| 3997 | - /usr/include/bits/signum-arch.h | |
| 3998 | - /usr/include/bits/signum-generic.h | |
| 3999 | - /usr/include/bits/sigstack.h | |
| 4000 | - /usr/include/bits/sigstksz.h | |
| 4001 | - /usr/include/bits/sigthread.h | |
| 4002 | - /usr/include/bits/ss_flags.h | |
| 4003 | - /usr/include/bits/stdint-intn.h | |
| 4004 | - /usr/include/bits/stdint-least.h | |
| 4005 | - /usr/include/bits/stdint-uintn.h | |
| 4006 | - /usr/include/bits/stdio_lim.h | |
| 4007 | - /usr/include/bits/struct_mutex.h | |
| 4008 | - /usr/include/bits/struct_rwlock.h | |
| 4009 | - /usr/include/bits/thread-shared-types.h | |
| 4010 | - /usr/include/bits/time.h | |
| 4011 | - /usr/include/bits/time64.h | |
| 4012 | - /usr/include/bits/timesize.h | |
| 4013 | - /usr/include/bits/types.h | |
| 4014 | - /usr/include/bits/types/FILE.h | |
| 4015 | - /usr/include/bits/types/__FILE.h | |
| 4016 | - /usr/include/bits/types/__fpos64_t.h | |
| 4017 | - /usr/include/bits/types/__fpos_t.h | |
| 4018 | - /usr/include/bits/types/__locale_t.h | |
| 4019 | - /usr/include/bits/types/__mbstate_t.h | |
| 4020 | - /usr/include/bits/types/__sigset_t.h | |
| 4021 | - /usr/include/bits/types/__sigval_t.h | |
| 4022 | - /usr/include/bits/types/clock_t.h | |
| 4023 | - /usr/include/bits/types/clockid_t.h | |
| 4024 | - /usr/include/bits/types/cookie_io_functions_t.h | |
| 4025 | - /usr/include/bits/types/locale_t.h | |
| 4026 | - /usr/include/bits/types/sig_atomic_t.h | |
| 4027 | - /usr/include/bits/types/sigevent_t.h | |
| 4028 | - /usr/include/bits/types/siginfo_t.h | |
| 4029 | - /usr/include/bits/types/sigset_t.h | |
| 4030 | - /usr/include/bits/types/sigval_t.h | |
| 4031 | - /usr/include/bits/types/stack_t.h | |
| 4032 | - /usr/include/bits/types/struct_FILE.h | |
| 4033 | - /usr/include/bits/types/struct___jmp_buf_tag.h | |
| 4034 | - /usr/include/bits/types/struct_itimerspec.h | |
| 4035 | - /usr/include/bits/types/struct_sched_param.h | |
| 4036 | - /usr/include/bits/types/struct_sigstack.h | |
| 4037 | - /usr/include/bits/types/struct_timespec.h | |
| 4038 | - /usr/include/bits/types/struct_timeval.h | |
| 4039 | - /usr/include/bits/types/struct_tm.h | |
| 4040 | - /usr/include/bits/types/time_t.h | |
| 4041 | - /usr/include/bits/types/timer_t.h | |
| 4042 | - /usr/include/bits/typesizes.h | |
| 4043 | - /usr/include/bits/uintn-identity.h | |
| 4044 | - /usr/include/bits/unistd_ext.h | |
| 4045 | - /usr/include/bits/wchar.h | |
| 4046 | - /usr/include/bits/wordsize.h | |
| 4047 | - /usr/include/endian.h | |
| 4048 | - /usr/include/features-time64.h | |
| 4049 | - /usr/include/features.h | |
| 4050 | - /usr/include/gnu/stubs-64.h | |
| 4051 | - /usr/include/gnu/stubs.h | |
| 4052 | - /usr/include/linux/input-event-codes.h | |
| 4053 | - /usr/include/linux/input.h | |
| 4054 | - /usr/include/linux/ioctl.h | |
| 4055 | - /usr/include/linux/limits.h | |
| 4056 | - /usr/include/linux/posix_types.h | |
| 4057 | - /usr/include/linux/stddef.h | |
| 4058 | - /usr/include/linux/types.h | |
| 4059 | - /usr/include/poll.h | |
| 4060 | - /usr/include/pthread.h | |
| 4061 | - /usr/include/regex.h | |
| 4062 | - /usr/include/sched.h | |
| 4063 | - /usr/include/signal.h | |
| 4064 | - /usr/include/stdc-predef.h | |
| 4065 | - /usr/include/stdint.h | |
| 4066 | - /usr/include/stdio.h | |
| 4067 | - /usr/include/sys/cdefs.h | |
| 4068 | - /usr/include/sys/ioctl.h | |
| 4069 | - /usr/include/sys/poll.h | |
| 4070 | - /usr/include/sys/select.h | |
| 4071 | - /usr/include/sys/time.h | |
| 4072 | - /usr/include/sys/ttydefaults.h | |
| 4073 | - /usr/include/sys/types.h | |
| 4074 | - /usr/include/sys/ucontext.h | |
| 4075 | - /usr/include/time.h | |
| 4076 | - /usr/include/unistd.h | |
| 4077 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h | |
| 4078 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h | |
| 4079 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stddef.h | |
| 4080 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdint.h | |
| 4081 | - |
+0 −923 raylib/external/glfw/src/CMakeFiles/glfw.dir/compiler_depend.make Large diff collapsed, click to expand
| @@ -348,179 +348,6 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/egl_context.c.o: /home/fordon/proje | ||
| 348 | 348 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stddef.h \ |
| 349 | 349 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdint.h |
| 350 | 350 | |
| 351 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/glx_context.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/glx_context.c \ | |
| 352 | - /home/fordon/projects/c/raylib/src/external/glfw/include/GLFW/glfw3.h \ | |
| 353 | - /home/fordon/projects/c/raylib/src/external/glfw/include/GLFW/glfw3native.h \ | |
| 354 | - /home/fordon/projects/c/raylib/src/external/glfw/src/internal.h \ | |
| 355 | - /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h \ | |
| 356 | - /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h \ | |
| 357 | - /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h \ | |
| 358 | - /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h \ | |
| 359 | - /home/fordon/projects/c/raylib/src/external/glfw/src/posix_poll.h \ | |
| 360 | - /home/fordon/projects/c/raylib/src/external/glfw/src/posix_thread.h \ | |
| 361 | - /home/fordon/projects/c/raylib/src/external/glfw/src/posix_time.h \ | |
| 362 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_platform.h \ | |
| 363 | - /usr/include/X11/X.h \ | |
| 364 | - /usr/include/X11/XKBlib.h \ | |
| 365 | - /usr/include/X11/Xatom.h \ | |
| 366 | - /usr/include/X11/Xcursor/Xcursor.h \ | |
| 367 | - /usr/include/X11/Xdefs.h \ | |
| 368 | - /usr/include/X11/Xfuncproto.h \ | |
| 369 | - /usr/include/X11/Xlib.h \ | |
| 370 | - /usr/include/X11/Xosdefs.h \ | |
| 371 | - /usr/include/X11/Xresource.h \ | |
| 372 | - /usr/include/X11/Xutil.h \ | |
| 373 | - /usr/include/X11/extensions/XI2.h \ | |
| 374 | - /usr/include/X11/extensions/XInput2.h \ | |
| 375 | - /usr/include/X11/extensions/XKB.h \ | |
| 376 | - /usr/include/X11/extensions/XKBstr.h \ | |
| 377 | - /usr/include/X11/extensions/Xfixes.h \ | |
| 378 | - /usr/include/X11/extensions/Xge.h \ | |
| 379 | - /usr/include/X11/extensions/Xinerama.h \ | |
| 380 | - /usr/include/X11/extensions/Xrandr.h \ | |
| 381 | - /usr/include/X11/extensions/Xrender.h \ | |
| 382 | - /usr/include/X11/extensions/randr.h \ | |
| 383 | - /usr/include/X11/extensions/render.h \ | |
| 384 | - /usr/include/X11/extensions/shape.h \ | |
| 385 | - /usr/include/X11/extensions/shapeconst.h \ | |
| 386 | - /usr/include/X11/extensions/xfixeswire.h \ | |
| 387 | - /usr/include/X11/keysym.h \ | |
| 388 | - /usr/include/X11/keysymdef.h \ | |
| 389 | - /usr/include/alloca.h \ | |
| 390 | - /usr/include/asm-generic/bitsperlong.h \ | |
| 391 | - /usr/include/asm-generic/int-ll64.h \ | |
| 392 | - /usr/include/asm-generic/ioctl.h \ | |
| 393 | - /usr/include/asm-generic/ioctls.h \ | |
| 394 | - /usr/include/asm-generic/posix_types.h \ | |
| 395 | - /usr/include/asm-generic/types.h \ | |
| 396 | - /usr/include/asm/bitsperlong.h \ | |
| 397 | - /usr/include/asm/ioctl.h \ | |
| 398 | - /usr/include/asm/ioctls.h \ | |
| 399 | - /usr/include/asm/posix_types.h \ | |
| 400 | - /usr/include/asm/posix_types_64.h \ | |
| 401 | - /usr/include/asm/types.h \ | |
| 402 | - /usr/include/assert.h \ | |
| 403 | - /usr/include/bits/atomic_wide_counter.h \ | |
| 404 | - /usr/include/bits/byteswap.h \ | |
| 405 | - /usr/include/bits/confname.h \ | |
| 406 | - /usr/include/bits/cpu-set.h \ | |
| 407 | - /usr/include/bits/endian.h \ | |
| 408 | - /usr/include/bits/endianness.h \ | |
| 409 | - /usr/include/bits/environments.h \ | |
| 410 | - /usr/include/bits/floatn-common.h \ | |
| 411 | - /usr/include/bits/floatn.h \ | |
| 412 | - /usr/include/bits/getopt_core.h \ | |
| 413 | - /usr/include/bits/getopt_posix.h \ | |
| 414 | - /usr/include/bits/ioctl-types.h \ | |
| 415 | - /usr/include/bits/ioctls.h \ | |
| 416 | - /usr/include/bits/libc-header-start.h \ | |
| 417 | - /usr/include/bits/long-double.h \ | |
| 418 | - /usr/include/bits/poll.h \ | |
| 419 | - /usr/include/bits/posix_opt.h \ | |
| 420 | - /usr/include/bits/pthread_stack_min-dynamic.h \ | |
| 421 | - /usr/include/bits/pthread_stack_min.h \ | |
| 422 | - /usr/include/bits/pthreadtypes-arch.h \ | |
| 423 | - /usr/include/bits/pthreadtypes.h \ | |
| 424 | - /usr/include/bits/sched.h \ | |
| 425 | - /usr/include/bits/select.h \ | |
| 426 | - /usr/include/bits/setjmp.h \ | |
| 427 | - /usr/include/bits/sigaction.h \ | |
| 428 | - /usr/include/bits/sigcontext.h \ | |
| 429 | - /usr/include/bits/sigevent-consts.h \ | |
| 430 | - /usr/include/bits/siginfo-arch.h \ | |
| 431 | - /usr/include/bits/siginfo-consts.h \ | |
| 432 | - /usr/include/bits/signal_ext.h \ | |
| 433 | - /usr/include/bits/signum-arch.h \ | |
| 434 | - /usr/include/bits/signum-generic.h \ | |
| 435 | - /usr/include/bits/sigstack.h \ | |
| 436 | - /usr/include/bits/sigstksz.h \ | |
| 437 | - /usr/include/bits/sigthread.h \ | |
| 438 | - /usr/include/bits/ss_flags.h \ | |
| 439 | - /usr/include/bits/stdint-intn.h \ | |
| 440 | - /usr/include/bits/stdint-least.h \ | |
| 441 | - /usr/include/bits/stdint-uintn.h \ | |
| 442 | - /usr/include/bits/stdio_lim.h \ | |
| 443 | - /usr/include/bits/stdlib-float.h \ | |
| 444 | - /usr/include/bits/struct_mutex.h \ | |
| 445 | - /usr/include/bits/struct_rwlock.h \ | |
| 446 | - /usr/include/bits/thread-shared-types.h \ | |
| 447 | - /usr/include/bits/time.h \ | |
| 448 | - /usr/include/bits/time64.h \ | |
| 449 | - /usr/include/bits/timesize.h \ | |
| 450 | - /usr/include/bits/types.h \ | |
| 451 | - /usr/include/bits/types/FILE.h \ | |
| 452 | - /usr/include/bits/types/__FILE.h \ | |
| 453 | - /usr/include/bits/types/__fpos64_t.h \ | |
| 454 | - /usr/include/bits/types/__fpos_t.h \ | |
| 455 | - /usr/include/bits/types/__locale_t.h \ | |
| 456 | - /usr/include/bits/types/__mbstate_t.h \ | |
| 457 | - /usr/include/bits/types/__sigset_t.h \ | |
| 458 | - /usr/include/bits/types/__sigval_t.h \ | |
| 459 | - /usr/include/bits/types/clock_t.h \ | |
| 460 | - /usr/include/bits/types/clockid_t.h \ | |
| 461 | - /usr/include/bits/types/cookie_io_functions_t.h \ | |
| 462 | - /usr/include/bits/types/locale_t.h \ | |
| 463 | - /usr/include/bits/types/sig_atomic_t.h \ | |
| 464 | - /usr/include/bits/types/sigevent_t.h \ | |
| 465 | - /usr/include/bits/types/siginfo_t.h \ | |
| 466 | - /usr/include/bits/types/sigset_t.h \ | |
| 467 | - /usr/include/bits/types/sigval_t.h \ | |
| 468 | - /usr/include/bits/types/stack_t.h \ | |
| 469 | - /usr/include/bits/types/struct_FILE.h \ | |
| 470 | - /usr/include/bits/types/struct___jmp_buf_tag.h \ | |
| 471 | - /usr/include/bits/types/struct_itimerspec.h \ | |
| 472 | - /usr/include/bits/types/struct_sched_param.h \ | |
| 473 | - /usr/include/bits/types/struct_sigstack.h \ | |
| 474 | - /usr/include/bits/types/struct_timespec.h \ | |
| 475 | - /usr/include/bits/types/struct_timeval.h \ | |
| 476 | - /usr/include/bits/types/struct_tm.h \ | |
| 477 | - /usr/include/bits/types/time_t.h \ | |
| 478 | - /usr/include/bits/types/timer_t.h \ | |
| 479 | - /usr/include/bits/typesizes.h \ | |
| 480 | - /usr/include/bits/uintn-identity.h \ | |
| 481 | - /usr/include/bits/unistd_ext.h \ | |
| 482 | - /usr/include/bits/waitflags.h \ | |
| 483 | - /usr/include/bits/waitstatus.h \ | |
| 484 | - /usr/include/bits/wchar.h \ | |
| 485 | - /usr/include/bits/wordsize.h \ | |
| 486 | - /usr/include/endian.h \ | |
| 487 | - /usr/include/features-time64.h \ | |
| 488 | - /usr/include/features.h \ | |
| 489 | - /usr/include/gnu/stubs-64.h \ | |
| 490 | - /usr/include/gnu/stubs.h \ | |
| 491 | - /usr/include/linux/input-event-codes.h \ | |
| 492 | - /usr/include/linux/input.h \ | |
| 493 | - /usr/include/linux/ioctl.h \ | |
| 494 | - /usr/include/linux/limits.h \ | |
| 495 | - /usr/include/linux/posix_types.h \ | |
| 496 | - /usr/include/linux/stddef.h \ | |
| 497 | - /usr/include/linux/types.h \ | |
| 498 | - /usr/include/poll.h \ | |
| 499 | - /usr/include/pthread.h \ | |
| 500 | - /usr/include/regex.h \ | |
| 501 | - /usr/include/sched.h \ | |
| 502 | - /usr/include/signal.h \ | |
| 503 | - /usr/include/stdc-predef.h \ | |
| 504 | - /usr/include/stdint.h \ | |
| 505 | - /usr/include/stdio.h \ | |
| 506 | - /usr/include/stdlib.h \ | |
| 507 | - /usr/include/string.h \ | |
| 508 | - /usr/include/strings.h \ | |
| 509 | - /usr/include/sys/cdefs.h \ | |
| 510 | - /usr/include/sys/ioctl.h \ | |
| 511 | - /usr/include/sys/poll.h \ | |
| 512 | - /usr/include/sys/select.h \ | |
| 513 | - /usr/include/sys/time.h \ | |
| 514 | - /usr/include/sys/ttydefaults.h \ | |
| 515 | - /usr/include/sys/types.h \ | |
| 516 | - /usr/include/sys/ucontext.h \ | |
| 517 | - /usr/include/time.h \ | |
| 518 | - /usr/include/unistd.h \ | |
| 519 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h \ | |
| 520 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h \ | |
| 521 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stddef.h \ | |
| 522 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdint.h | |
| 523 | - | |
| 524 | 351 | raylib/external/glfw/src/CMakeFiles/glfw.dir/init.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/init.c \ |
| 525 | 352 | /home/fordon/projects/c/raylib/src/external/glfw/include/GLFW/glfw3.h \ |
| 526 | 353 | /home/fordon/projects/c/raylib/src/external/glfw/include/GLFW/glfw3native.h \ |
| @@ -3324,746 +3151,6 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/window.c.o: /home/fordon/projects/c | ||
| 3324 | 3151 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stddef.h \ |
| 3325 | 3152 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdint.h |
| 3326 | 3153 | |
| 3327 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_init.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/x11_init.c \ | |
| 3328 | - /home/fordon/projects/c/raylib/src/external/glfw/include/GLFW/glfw3.h \ | |
| 3329 | - /home/fordon/projects/c/raylib/src/external/glfw/include/GLFW/glfw3native.h \ | |
| 3330 | - /home/fordon/projects/c/raylib/src/external/glfw/src/internal.h \ | |
| 3331 | - /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h \ | |
| 3332 | - /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h \ | |
| 3333 | - /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h \ | |
| 3334 | - /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h \ | |
| 3335 | - /home/fordon/projects/c/raylib/src/external/glfw/src/posix_poll.h \ | |
| 3336 | - /home/fordon/projects/c/raylib/src/external/glfw/src/posix_thread.h \ | |
| 3337 | - /home/fordon/projects/c/raylib/src/external/glfw/src/posix_time.h \ | |
| 3338 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_platform.h \ | |
| 3339 | - /usr/include/X11/X.h \ | |
| 3340 | - /usr/include/X11/XKBlib.h \ | |
| 3341 | - /usr/include/X11/Xatom.h \ | |
| 3342 | - /usr/include/X11/Xcursor/Xcursor.h \ | |
| 3343 | - /usr/include/X11/Xdefs.h \ | |
| 3344 | - /usr/include/X11/Xfuncproto.h \ | |
| 3345 | - /usr/include/X11/Xlib.h \ | |
| 3346 | - /usr/include/X11/Xosdefs.h \ | |
| 3347 | - /usr/include/X11/Xresource.h \ | |
| 3348 | - /usr/include/X11/Xutil.h \ | |
| 3349 | - /usr/include/X11/extensions/XI2.h \ | |
| 3350 | - /usr/include/X11/extensions/XInput2.h \ | |
| 3351 | - /usr/include/X11/extensions/XKB.h \ | |
| 3352 | - /usr/include/X11/extensions/XKBstr.h \ | |
| 3353 | - /usr/include/X11/extensions/Xfixes.h \ | |
| 3354 | - /usr/include/X11/extensions/Xge.h \ | |
| 3355 | - /usr/include/X11/extensions/Xinerama.h \ | |
| 3356 | - /usr/include/X11/extensions/Xrandr.h \ | |
| 3357 | - /usr/include/X11/extensions/Xrender.h \ | |
| 3358 | - /usr/include/X11/extensions/randr.h \ | |
| 3359 | - /usr/include/X11/extensions/render.h \ | |
| 3360 | - /usr/include/X11/extensions/shape.h \ | |
| 3361 | - /usr/include/X11/extensions/shapeconst.h \ | |
| 3362 | - /usr/include/X11/extensions/xfixeswire.h \ | |
| 3363 | - /usr/include/X11/keysym.h \ | |
| 3364 | - /usr/include/X11/keysymdef.h \ | |
| 3365 | - /usr/include/alloca.h \ | |
| 3366 | - /usr/include/asm-generic/bitsperlong.h \ | |
| 3367 | - /usr/include/asm-generic/errno-base.h \ | |
| 3368 | - /usr/include/asm-generic/errno.h \ | |
| 3369 | - /usr/include/asm-generic/int-ll64.h \ | |
| 3370 | - /usr/include/asm-generic/ioctl.h \ | |
| 3371 | - /usr/include/asm-generic/ioctls.h \ | |
| 3372 | - /usr/include/asm-generic/posix_types.h \ | |
| 3373 | - /usr/include/asm-generic/types.h \ | |
| 3374 | - /usr/include/asm/bitsperlong.h \ | |
| 3375 | - /usr/include/asm/errno.h \ | |
| 3376 | - /usr/include/asm/ioctl.h \ | |
| 3377 | - /usr/include/asm/ioctls.h \ | |
| 3378 | - /usr/include/asm/posix_types.h \ | |
| 3379 | - /usr/include/asm/posix_types_64.h \ | |
| 3380 | - /usr/include/asm/types.h \ | |
| 3381 | - /usr/include/assert.h \ | |
| 3382 | - /usr/include/bits/atomic_wide_counter.h \ | |
| 3383 | - /usr/include/bits/byteswap.h \ | |
| 3384 | - /usr/include/bits/confname.h \ | |
| 3385 | - /usr/include/bits/cpu-set.h \ | |
| 3386 | - /usr/include/bits/endian.h \ | |
| 3387 | - /usr/include/bits/endianness.h \ | |
| 3388 | - /usr/include/bits/environments.h \ | |
| 3389 | - /usr/include/bits/errno.h \ | |
| 3390 | - /usr/include/bits/fcntl-linux.h \ | |
| 3391 | - /usr/include/bits/fcntl.h \ | |
| 3392 | - /usr/include/bits/floatn-common.h \ | |
| 3393 | - /usr/include/bits/floatn.h \ | |
| 3394 | - /usr/include/bits/getopt_core.h \ | |
| 3395 | - /usr/include/bits/getopt_posix.h \ | |
| 3396 | - /usr/include/bits/ioctl-types.h \ | |
| 3397 | - /usr/include/bits/ioctls.h \ | |
| 3398 | - /usr/include/bits/libc-header-start.h \ | |
| 3399 | - /usr/include/bits/local_lim.h \ | |
| 3400 | - /usr/include/bits/locale.h \ | |
| 3401 | - /usr/include/bits/long-double.h \ | |
| 3402 | - /usr/include/bits/poll.h \ | |
| 3403 | - /usr/include/bits/posix1_lim.h \ | |
| 3404 | - /usr/include/bits/posix2_lim.h \ | |
| 3405 | - /usr/include/bits/posix_opt.h \ | |
| 3406 | - /usr/include/bits/pthread_stack_min-dynamic.h \ | |
| 3407 | - /usr/include/bits/pthread_stack_min.h \ | |
| 3408 | - /usr/include/bits/pthreadtypes-arch.h \ | |
| 3409 | - /usr/include/bits/pthreadtypes.h \ | |
| 3410 | - /usr/include/bits/sched.h \ | |
| 3411 | - /usr/include/bits/select.h \ | |
| 3412 | - /usr/include/bits/setjmp.h \ | |
| 3413 | - /usr/include/bits/sigaction.h \ | |
| 3414 | - /usr/include/bits/sigcontext.h \ | |
| 3415 | - /usr/include/bits/sigevent-consts.h \ | |
| 3416 | - /usr/include/bits/siginfo-arch.h \ | |
| 3417 | - /usr/include/bits/siginfo-consts.h \ | |
| 3418 | - /usr/include/bits/signal_ext.h \ | |
| 3419 | - /usr/include/bits/signum-arch.h \ | |
| 3420 | - /usr/include/bits/signum-generic.h \ | |
| 3421 | - /usr/include/bits/sigstack.h \ | |
| 3422 | - /usr/include/bits/sigstksz.h \ | |
| 3423 | - /usr/include/bits/sigthread.h \ | |
| 3424 | - /usr/include/bits/ss_flags.h \ | |
| 3425 | - /usr/include/bits/stat.h \ | |
| 3426 | - /usr/include/bits/stdint-intn.h \ | |
| 3427 | - /usr/include/bits/stdint-least.h \ | |
| 3428 | - /usr/include/bits/stdint-uintn.h \ | |
| 3429 | - /usr/include/bits/stdio_lim.h \ | |
| 3430 | - /usr/include/bits/stdlib-float.h \ | |
| 3431 | - /usr/include/bits/struct_mutex.h \ | |
| 3432 | - /usr/include/bits/struct_rwlock.h \ | |
| 3433 | - /usr/include/bits/struct_stat.h \ | |
| 3434 | - /usr/include/bits/thread-shared-types.h \ | |
| 3435 | - /usr/include/bits/time.h \ | |
| 3436 | - /usr/include/bits/time64.h \ | |
| 3437 | - /usr/include/bits/timesize.h \ | |
| 3438 | - /usr/include/bits/types.h \ | |
| 3439 | - /usr/include/bits/types/FILE.h \ | |
| 3440 | - /usr/include/bits/types/__FILE.h \ | |
| 3441 | - /usr/include/bits/types/__fpos64_t.h \ | |
| 3442 | - /usr/include/bits/types/__fpos_t.h \ | |
| 3443 | - /usr/include/bits/types/__locale_t.h \ | |
| 3444 | - /usr/include/bits/types/__mbstate_t.h \ | |
| 3445 | - /usr/include/bits/types/__sigset_t.h \ | |
| 3446 | - /usr/include/bits/types/__sigval_t.h \ | |
| 3447 | - /usr/include/bits/types/clock_t.h \ | |
| 3448 | - /usr/include/bits/types/clockid_t.h \ | |
| 3449 | - /usr/include/bits/types/cookie_io_functions_t.h \ | |
| 3450 | - /usr/include/bits/types/locale_t.h \ | |
| 3451 | - /usr/include/bits/types/sig_atomic_t.h \ | |
| 3452 | - /usr/include/bits/types/sigevent_t.h \ | |
| 3453 | - /usr/include/bits/types/siginfo_t.h \ | |
| 3454 | - /usr/include/bits/types/sigset_t.h \ | |
| 3455 | - /usr/include/bits/types/sigval_t.h \ | |
| 3456 | - /usr/include/bits/types/stack_t.h \ | |
| 3457 | - /usr/include/bits/types/struct_FILE.h \ | |
| 3458 | - /usr/include/bits/types/struct___jmp_buf_tag.h \ | |
| 3459 | - /usr/include/bits/types/struct_itimerspec.h \ | |
| 3460 | - /usr/include/bits/types/struct_sched_param.h \ | |
| 3461 | - /usr/include/bits/types/struct_sigstack.h \ | |
| 3462 | - /usr/include/bits/types/struct_timespec.h \ | |
| 3463 | - /usr/include/bits/types/struct_timeval.h \ | |
| 3464 | - /usr/include/bits/types/struct_tm.h \ | |
| 3465 | - /usr/include/bits/types/time_t.h \ | |
| 3466 | - /usr/include/bits/types/timer_t.h \ | |
| 3467 | - /usr/include/bits/typesizes.h \ | |
| 3468 | - /usr/include/bits/uintn-identity.h \ | |
| 3469 | - /usr/include/bits/unistd_ext.h \ | |
| 3470 | - /usr/include/bits/waitflags.h \ | |
| 3471 | - /usr/include/bits/waitstatus.h \ | |
| 3472 | - /usr/include/bits/wchar.h \ | |
| 3473 | - /usr/include/bits/wordsize.h \ | |
| 3474 | - /usr/include/endian.h \ | |
| 3475 | - /usr/include/errno.h \ | |
| 3476 | - /usr/include/fcntl.h \ | |
| 3477 | - /usr/include/features-time64.h \ | |
| 3478 | - /usr/include/features.h \ | |
| 3479 | - /usr/include/gnu/stubs-64.h \ | |
| 3480 | - /usr/include/gnu/stubs.h \ | |
| 3481 | - /usr/include/limits.h \ | |
| 3482 | - /usr/include/linux/errno.h \ | |
| 3483 | - /usr/include/linux/input-event-codes.h \ | |
| 3484 | - /usr/include/linux/input.h \ | |
| 3485 | - /usr/include/linux/ioctl.h \ | |
| 3486 | - /usr/include/linux/limits.h \ | |
| 3487 | - /usr/include/linux/posix_types.h \ | |
| 3488 | - /usr/include/linux/stddef.h \ | |
| 3489 | - /usr/include/linux/types.h \ | |
| 3490 | - /usr/include/locale.h \ | |
| 3491 | - /usr/include/poll.h \ | |
| 3492 | - /usr/include/pthread.h \ | |
| 3493 | - /usr/include/regex.h \ | |
| 3494 | - /usr/include/sched.h \ | |
| 3495 | - /usr/include/signal.h \ | |
| 3496 | - /usr/include/stdc-predef.h \ | |
| 3497 | - /usr/include/stdint.h \ | |
| 3498 | - /usr/include/stdio.h \ | |
| 3499 | - /usr/include/stdlib.h \ | |
| 3500 | - /usr/include/string.h \ | |
| 3501 | - /usr/include/strings.h \ | |
| 3502 | - /usr/include/sys/cdefs.h \ | |
| 3503 | - /usr/include/sys/ioctl.h \ | |
| 3504 | - /usr/include/sys/poll.h \ | |
| 3505 | - /usr/include/sys/select.h \ | |
| 3506 | - /usr/include/sys/time.h \ | |
| 3507 | - /usr/include/sys/ttydefaults.h \ | |
| 3508 | - /usr/include/sys/types.h \ | |
| 3509 | - /usr/include/sys/ucontext.h \ | |
| 3510 | - /usr/include/time.h \ | |
| 3511 | - /usr/include/unistd.h \ | |
| 3512 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/limits.h \ | |
| 3513 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h \ | |
| 3514 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h \ | |
| 3515 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stddef.h \ | |
| 3516 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdint.h \ | |
| 3517 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/syslimits.h | |
| 3518 | - | |
| 3519 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_monitor.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/x11_monitor.c \ | |
| 3520 | - /home/fordon/projects/c/raylib/src/external/glfw/include/GLFW/glfw3.h \ | |
| 3521 | - /home/fordon/projects/c/raylib/src/external/glfw/include/GLFW/glfw3native.h \ | |
| 3522 | - /home/fordon/projects/c/raylib/src/external/glfw/src/internal.h \ | |
| 3523 | - /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h \ | |
| 3524 | - /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h \ | |
| 3525 | - /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h \ | |
| 3526 | - /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h \ | |
| 3527 | - /home/fordon/projects/c/raylib/src/external/glfw/src/posix_poll.h \ | |
| 3528 | - /home/fordon/projects/c/raylib/src/external/glfw/src/posix_thread.h \ | |
| 3529 | - /home/fordon/projects/c/raylib/src/external/glfw/src/posix_time.h \ | |
| 3530 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_platform.h \ | |
| 3531 | - /usr/include/X11/X.h \ | |
| 3532 | - /usr/include/X11/XKBlib.h \ | |
| 3533 | - /usr/include/X11/Xatom.h \ | |
| 3534 | - /usr/include/X11/Xcursor/Xcursor.h \ | |
| 3535 | - /usr/include/X11/Xdefs.h \ | |
| 3536 | - /usr/include/X11/Xfuncproto.h \ | |
| 3537 | - /usr/include/X11/Xlib.h \ | |
| 3538 | - /usr/include/X11/Xosdefs.h \ | |
| 3539 | - /usr/include/X11/Xresource.h \ | |
| 3540 | - /usr/include/X11/Xutil.h \ | |
| 3541 | - /usr/include/X11/extensions/XI2.h \ | |
| 3542 | - /usr/include/X11/extensions/XInput2.h \ | |
| 3543 | - /usr/include/X11/extensions/XKB.h \ | |
| 3544 | - /usr/include/X11/extensions/XKBstr.h \ | |
| 3545 | - /usr/include/X11/extensions/Xfixes.h \ | |
| 3546 | - /usr/include/X11/extensions/Xge.h \ | |
| 3547 | - /usr/include/X11/extensions/Xinerama.h \ | |
| 3548 | - /usr/include/X11/extensions/Xrandr.h \ | |
| 3549 | - /usr/include/X11/extensions/Xrender.h \ | |
| 3550 | - /usr/include/X11/extensions/randr.h \ | |
| 3551 | - /usr/include/X11/extensions/render.h \ | |
| 3552 | - /usr/include/X11/extensions/shape.h \ | |
| 3553 | - /usr/include/X11/extensions/shapeconst.h \ | |
| 3554 | - /usr/include/X11/extensions/xfixeswire.h \ | |
| 3555 | - /usr/include/X11/keysym.h \ | |
| 3556 | - /usr/include/X11/keysymdef.h \ | |
| 3557 | - /usr/include/alloca.h \ | |
| 3558 | - /usr/include/asm-generic/bitsperlong.h \ | |
| 3559 | - /usr/include/asm-generic/int-ll64.h \ | |
| 3560 | - /usr/include/asm-generic/ioctl.h \ | |
| 3561 | - /usr/include/asm-generic/ioctls.h \ | |
| 3562 | - /usr/include/asm-generic/posix_types.h \ | |
| 3563 | - /usr/include/asm-generic/types.h \ | |
| 3564 | - /usr/include/asm/bitsperlong.h \ | |
| 3565 | - /usr/include/asm/ioctl.h \ | |
| 3566 | - /usr/include/asm/ioctls.h \ | |
| 3567 | - /usr/include/asm/posix_types.h \ | |
| 3568 | - /usr/include/asm/posix_types_64.h \ | |
| 3569 | - /usr/include/asm/types.h \ | |
| 3570 | - /usr/include/assert.h \ | |
| 3571 | - /usr/include/bits/atomic_wide_counter.h \ | |
| 3572 | - /usr/include/bits/byteswap.h \ | |
| 3573 | - /usr/include/bits/confname.h \ | |
| 3574 | - /usr/include/bits/cpu-set.h \ | |
| 3575 | - /usr/include/bits/endian.h \ | |
| 3576 | - /usr/include/bits/endianness.h \ | |
| 3577 | - /usr/include/bits/environments.h \ | |
| 3578 | - /usr/include/bits/floatn-common.h \ | |
| 3579 | - /usr/include/bits/floatn.h \ | |
| 3580 | - /usr/include/bits/flt-eval-method.h \ | |
| 3581 | - /usr/include/bits/fp-fast.h \ | |
| 3582 | - /usr/include/bits/fp-logb.h \ | |
| 3583 | - /usr/include/bits/getopt_core.h \ | |
| 3584 | - /usr/include/bits/getopt_posix.h \ | |
| 3585 | - /usr/include/bits/ioctl-types.h \ | |
| 3586 | - /usr/include/bits/ioctls.h \ | |
| 3587 | - /usr/include/bits/libc-header-start.h \ | |
| 3588 | - /usr/include/bits/libm-simd-decl-stubs.h \ | |
| 3589 | - /usr/include/bits/local_lim.h \ | |
| 3590 | - /usr/include/bits/long-double.h \ | |
| 3591 | - /usr/include/bits/math-vector.h \ | |
| 3592 | - /usr/include/bits/mathcalls-helper-functions.h \ | |
| 3593 | - /usr/include/bits/mathcalls-macros.h \ | |
| 3594 | - /usr/include/bits/mathcalls.h \ | |
| 3595 | - /usr/include/bits/poll.h \ | |
| 3596 | - /usr/include/bits/posix1_lim.h \ | |
| 3597 | - /usr/include/bits/posix2_lim.h \ | |
| 3598 | - /usr/include/bits/posix_opt.h \ | |
| 3599 | - /usr/include/bits/pthread_stack_min-dynamic.h \ | |
| 3600 | - /usr/include/bits/pthread_stack_min.h \ | |
| 3601 | - /usr/include/bits/pthreadtypes-arch.h \ | |
| 3602 | - /usr/include/bits/pthreadtypes.h \ | |
| 3603 | - /usr/include/bits/sched.h \ | |
| 3604 | - /usr/include/bits/select.h \ | |
| 3605 | - /usr/include/bits/setjmp.h \ | |
| 3606 | - /usr/include/bits/sigaction.h \ | |
| 3607 | - /usr/include/bits/sigcontext.h \ | |
| 3608 | - /usr/include/bits/sigevent-consts.h \ | |
| 3609 | - /usr/include/bits/siginfo-arch.h \ | |
| 3610 | - /usr/include/bits/siginfo-consts.h \ | |
| 3611 | - /usr/include/bits/signal_ext.h \ | |
| 3612 | - /usr/include/bits/signum-arch.h \ | |
| 3613 | - /usr/include/bits/signum-generic.h \ | |
| 3614 | - /usr/include/bits/sigstack.h \ | |
| 3615 | - /usr/include/bits/sigstksz.h \ | |
| 3616 | - /usr/include/bits/sigthread.h \ | |
| 3617 | - /usr/include/bits/ss_flags.h \ | |
| 3618 | - /usr/include/bits/stdint-intn.h \ | |
| 3619 | - /usr/include/bits/stdint-least.h \ | |
| 3620 | - /usr/include/bits/stdint-uintn.h \ | |
| 3621 | - /usr/include/bits/stdio_lim.h \ | |
| 3622 | - /usr/include/bits/stdlib-float.h \ | |
| 3623 | - /usr/include/bits/struct_mutex.h \ | |
| 3624 | - /usr/include/bits/struct_rwlock.h \ | |
| 3625 | - /usr/include/bits/thread-shared-types.h \ | |
| 3626 | - /usr/include/bits/time.h \ | |
| 3627 | - /usr/include/bits/time64.h \ | |
| 3628 | - /usr/include/bits/timesize.h \ | |
| 3629 | - /usr/include/bits/types.h \ | |
| 3630 | - /usr/include/bits/types/FILE.h \ | |
| 3631 | - /usr/include/bits/types/__FILE.h \ | |
| 3632 | - /usr/include/bits/types/__fpos64_t.h \ | |
| 3633 | - /usr/include/bits/types/__fpos_t.h \ | |
| 3634 | - /usr/include/bits/types/__locale_t.h \ | |
| 3635 | - /usr/include/bits/types/__mbstate_t.h \ | |
| 3636 | - /usr/include/bits/types/__sigset_t.h \ | |
| 3637 | - /usr/include/bits/types/__sigval_t.h \ | |
| 3638 | - /usr/include/bits/types/clock_t.h \ | |
| 3639 | - /usr/include/bits/types/clockid_t.h \ | |
| 3640 | - /usr/include/bits/types/cookie_io_functions_t.h \ | |
| 3641 | - /usr/include/bits/types/locale_t.h \ | |
| 3642 | - /usr/include/bits/types/sig_atomic_t.h \ | |
| 3643 | - /usr/include/bits/types/sigevent_t.h \ | |
| 3644 | - /usr/include/bits/types/siginfo_t.h \ | |
| 3645 | - /usr/include/bits/types/sigset_t.h \ | |
| 3646 | - /usr/include/bits/types/sigval_t.h \ | |
| 3647 | - /usr/include/bits/types/stack_t.h \ | |
| 3648 | - /usr/include/bits/types/struct_FILE.h \ | |
| 3649 | - /usr/include/bits/types/struct___jmp_buf_tag.h \ | |
| 3650 | - /usr/include/bits/types/struct_itimerspec.h \ | |
| 3651 | - /usr/include/bits/types/struct_sched_param.h \ | |
| 3652 | - /usr/include/bits/types/struct_sigstack.h \ | |
| 3653 | - /usr/include/bits/types/struct_timespec.h \ | |
| 3654 | - /usr/include/bits/types/struct_timeval.h \ | |
| 3655 | - /usr/include/bits/types/struct_tm.h \ | |
| 3656 | - /usr/include/bits/types/time_t.h \ | |
| 3657 | - /usr/include/bits/types/timer_t.h \ | |
| 3658 | - /usr/include/bits/typesizes.h \ | |
| 3659 | - /usr/include/bits/uintn-identity.h \ | |
| 3660 | - /usr/include/bits/unistd_ext.h \ | |
| 3661 | - /usr/include/bits/waitflags.h \ | |
| 3662 | - /usr/include/bits/waitstatus.h \ | |
| 3663 | - /usr/include/bits/wchar.h \ | |
| 3664 | - /usr/include/bits/wordsize.h \ | |
| 3665 | - /usr/include/endian.h \ | |
| 3666 | - /usr/include/features-time64.h \ | |
| 3667 | - /usr/include/features.h \ | |
| 3668 | - /usr/include/gnu/stubs-64.h \ | |
| 3669 | - /usr/include/gnu/stubs.h \ | |
| 3670 | - /usr/include/limits.h \ | |
| 3671 | - /usr/include/linux/input-event-codes.h \ | |
| 3672 | - /usr/include/linux/input.h \ | |
| 3673 | - /usr/include/linux/ioctl.h \ | |
| 3674 | - /usr/include/linux/limits.h \ | |
| 3675 | - /usr/include/linux/posix_types.h \ | |
| 3676 | - /usr/include/linux/stddef.h \ | |
| 3677 | - /usr/include/linux/types.h \ | |
| 3678 | - /usr/include/math.h \ | |
| 3679 | - /usr/include/poll.h \ | |
| 3680 | - /usr/include/pthread.h \ | |
| 3681 | - /usr/include/regex.h \ | |
| 3682 | - /usr/include/sched.h \ | |
| 3683 | - /usr/include/signal.h \ | |
| 3684 | - /usr/include/stdc-predef.h \ | |
| 3685 | - /usr/include/stdint.h \ | |
| 3686 | - /usr/include/stdio.h \ | |
| 3687 | - /usr/include/stdlib.h \ | |
| 3688 | - /usr/include/string.h \ | |
| 3689 | - /usr/include/strings.h \ | |
| 3690 | - /usr/include/sys/cdefs.h \ | |
| 3691 | - /usr/include/sys/ioctl.h \ | |
| 3692 | - /usr/include/sys/poll.h \ | |
| 3693 | - /usr/include/sys/select.h \ | |
| 3694 | - /usr/include/sys/time.h \ | |
| 3695 | - /usr/include/sys/ttydefaults.h \ | |
| 3696 | - /usr/include/sys/types.h \ | |
| 3697 | - /usr/include/sys/ucontext.h \ | |
| 3698 | - /usr/include/time.h \ | |
| 3699 | - /usr/include/unistd.h \ | |
| 3700 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/limits.h \ | |
| 3701 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h \ | |
| 3702 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h \ | |
| 3703 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stddef.h \ | |
| 3704 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdint.h \ | |
| 3705 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/syslimits.h | |
| 3706 | - | |
| 3707 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_window.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/x11_window.c \ | |
| 3708 | - /home/fordon/projects/c/raylib/src/external/glfw/include/GLFW/glfw3.h \ | |
| 3709 | - /home/fordon/projects/c/raylib/src/external/glfw/include/GLFW/glfw3native.h \ | |
| 3710 | - /home/fordon/projects/c/raylib/src/external/glfw/src/internal.h \ | |
| 3711 | - /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h \ | |
| 3712 | - /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h \ | |
| 3713 | - /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h \ | |
| 3714 | - /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h \ | |
| 3715 | - /home/fordon/projects/c/raylib/src/external/glfw/src/posix_poll.h \ | |
| 3716 | - /home/fordon/projects/c/raylib/src/external/glfw/src/posix_thread.h \ | |
| 3717 | - /home/fordon/projects/c/raylib/src/external/glfw/src/posix_time.h \ | |
| 3718 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_platform.h \ | |
| 3719 | - /usr/include/X11/X.h \ | |
| 3720 | - /usr/include/X11/XKBlib.h \ | |
| 3721 | - /usr/include/X11/Xatom.h \ | |
| 3722 | - /usr/include/X11/Xcursor/Xcursor.h \ | |
| 3723 | - /usr/include/X11/Xdefs.h \ | |
| 3724 | - /usr/include/X11/Xfuncproto.h \ | |
| 3725 | - /usr/include/X11/Xlib.h \ | |
| 3726 | - /usr/include/X11/Xmd.h \ | |
| 3727 | - /usr/include/X11/Xosdefs.h \ | |
| 3728 | - /usr/include/X11/Xresource.h \ | |
| 3729 | - /usr/include/X11/Xutil.h \ | |
| 3730 | - /usr/include/X11/cursorfont.h \ | |
| 3731 | - /usr/include/X11/extensions/XI2.h \ | |
| 3732 | - /usr/include/X11/extensions/XInput2.h \ | |
| 3733 | - /usr/include/X11/extensions/XKB.h \ | |
| 3734 | - /usr/include/X11/extensions/XKBstr.h \ | |
| 3735 | - /usr/include/X11/extensions/Xfixes.h \ | |
| 3736 | - /usr/include/X11/extensions/Xge.h \ | |
| 3737 | - /usr/include/X11/extensions/Xinerama.h \ | |
| 3738 | - /usr/include/X11/extensions/Xrandr.h \ | |
| 3739 | - /usr/include/X11/extensions/Xrender.h \ | |
| 3740 | - /usr/include/X11/extensions/randr.h \ | |
| 3741 | - /usr/include/X11/extensions/render.h \ | |
| 3742 | - /usr/include/X11/extensions/shape.h \ | |
| 3743 | - /usr/include/X11/extensions/shapeconst.h \ | |
| 3744 | - /usr/include/X11/extensions/xfixeswire.h \ | |
| 3745 | - /usr/include/X11/keysym.h \ | |
| 3746 | - /usr/include/X11/keysymdef.h \ | |
| 3747 | - /usr/include/alloca.h \ | |
| 3748 | - /usr/include/asm-generic/bitsperlong.h \ | |
| 3749 | - /usr/include/asm-generic/errno-base.h \ | |
| 3750 | - /usr/include/asm-generic/errno.h \ | |
| 3751 | - /usr/include/asm-generic/int-ll64.h \ | |
| 3752 | - /usr/include/asm-generic/ioctl.h \ | |
| 3753 | - /usr/include/asm-generic/ioctls.h \ | |
| 3754 | - /usr/include/asm-generic/posix_types.h \ | |
| 3755 | - /usr/include/asm-generic/types.h \ | |
| 3756 | - /usr/include/asm/bitsperlong.h \ | |
| 3757 | - /usr/include/asm/errno.h \ | |
| 3758 | - /usr/include/asm/ioctl.h \ | |
| 3759 | - /usr/include/asm/ioctls.h \ | |
| 3760 | - /usr/include/asm/posix_types.h \ | |
| 3761 | - /usr/include/asm/posix_types_64.h \ | |
| 3762 | - /usr/include/asm/types.h \ | |
| 3763 | - /usr/include/assert.h \ | |
| 3764 | - /usr/include/bits/atomic_wide_counter.h \ | |
| 3765 | - /usr/include/bits/byteswap.h \ | |
| 3766 | - /usr/include/bits/confname.h \ | |
| 3767 | - /usr/include/bits/cpu-set.h \ | |
| 3768 | - /usr/include/bits/endian.h \ | |
| 3769 | - /usr/include/bits/endianness.h \ | |
| 3770 | - /usr/include/bits/environments.h \ | |
| 3771 | - /usr/include/bits/errno.h \ | |
| 3772 | - /usr/include/bits/floatn-common.h \ | |
| 3773 | - /usr/include/bits/floatn.h \ | |
| 3774 | - /usr/include/bits/getopt_core.h \ | |
| 3775 | - /usr/include/bits/getopt_posix.h \ | |
| 3776 | - /usr/include/bits/ioctl-types.h \ | |
| 3777 | - /usr/include/bits/ioctls.h \ | |
| 3778 | - /usr/include/bits/libc-header-start.h \ | |
| 3779 | - /usr/include/bits/local_lim.h \ | |
| 3780 | - /usr/include/bits/long-double.h \ | |
| 3781 | - /usr/include/bits/poll.h \ | |
| 3782 | - /usr/include/bits/posix1_lim.h \ | |
| 3783 | - /usr/include/bits/posix2_lim.h \ | |
| 3784 | - /usr/include/bits/posix_opt.h \ | |
| 3785 | - /usr/include/bits/pthread_stack_min-dynamic.h \ | |
| 3786 | - /usr/include/bits/pthread_stack_min.h \ | |
| 3787 | - /usr/include/bits/pthreadtypes-arch.h \ | |
| 3788 | - /usr/include/bits/pthreadtypes.h \ | |
| 3789 | - /usr/include/bits/sched.h \ | |
| 3790 | - /usr/include/bits/select.h \ | |
| 3791 | - /usr/include/bits/setjmp.h \ | |
| 3792 | - /usr/include/bits/sigaction.h \ | |
| 3793 | - /usr/include/bits/sigcontext.h \ | |
| 3794 | - /usr/include/bits/sigevent-consts.h \ | |
| 3795 | - /usr/include/bits/siginfo-arch.h \ | |
| 3796 | - /usr/include/bits/siginfo-consts.h \ | |
| 3797 | - /usr/include/bits/signal_ext.h \ | |
| 3798 | - /usr/include/bits/signum-arch.h \ | |
| 3799 | - /usr/include/bits/signum-generic.h \ | |
| 3800 | - /usr/include/bits/sigstack.h \ | |
| 3801 | - /usr/include/bits/sigstksz.h \ | |
| 3802 | - /usr/include/bits/sigthread.h \ | |
| 3803 | - /usr/include/bits/ss_flags.h \ | |
| 3804 | - /usr/include/bits/stdint-intn.h \ | |
| 3805 | - /usr/include/bits/stdint-least.h \ | |
| 3806 | - /usr/include/bits/stdint-uintn.h \ | |
| 3807 | - /usr/include/bits/stdio_lim.h \ | |
| 3808 | - /usr/include/bits/stdlib-float.h \ | |
| 3809 | - /usr/include/bits/struct_mutex.h \ | |
| 3810 | - /usr/include/bits/struct_rwlock.h \ | |
| 3811 | - /usr/include/bits/thread-shared-types.h \ | |
| 3812 | - /usr/include/bits/time.h \ | |
| 3813 | - /usr/include/bits/time64.h \ | |
| 3814 | - /usr/include/bits/timesize.h \ | |
| 3815 | - /usr/include/bits/types.h \ | |
| 3816 | - /usr/include/bits/types/FILE.h \ | |
| 3817 | - /usr/include/bits/types/__FILE.h \ | |
| 3818 | - /usr/include/bits/types/__fpos64_t.h \ | |
| 3819 | - /usr/include/bits/types/__fpos_t.h \ | |
| 3820 | - /usr/include/bits/types/__locale_t.h \ | |
| 3821 | - /usr/include/bits/types/__mbstate_t.h \ | |
| 3822 | - /usr/include/bits/types/__sigset_t.h \ | |
| 3823 | - /usr/include/bits/types/__sigval_t.h \ | |
| 3824 | - /usr/include/bits/types/clock_t.h \ | |
| 3825 | - /usr/include/bits/types/clockid_t.h \ | |
| 3826 | - /usr/include/bits/types/cookie_io_functions_t.h \ | |
| 3827 | - /usr/include/bits/types/locale_t.h \ | |
| 3828 | - /usr/include/bits/types/sig_atomic_t.h \ | |
| 3829 | - /usr/include/bits/types/sigevent_t.h \ | |
| 3830 | - /usr/include/bits/types/siginfo_t.h \ | |
| 3831 | - /usr/include/bits/types/sigset_t.h \ | |
| 3832 | - /usr/include/bits/types/sigval_t.h \ | |
| 3833 | - /usr/include/bits/types/stack_t.h \ | |
| 3834 | - /usr/include/bits/types/struct_FILE.h \ | |
| 3835 | - /usr/include/bits/types/struct___jmp_buf_tag.h \ | |
| 3836 | - /usr/include/bits/types/struct_itimerspec.h \ | |
| 3837 | - /usr/include/bits/types/struct_sched_param.h \ | |
| 3838 | - /usr/include/bits/types/struct_sigstack.h \ | |
| 3839 | - /usr/include/bits/types/struct_timespec.h \ | |
| 3840 | - /usr/include/bits/types/struct_timeval.h \ | |
| 3841 | - /usr/include/bits/types/struct_tm.h \ | |
| 3842 | - /usr/include/bits/types/time_t.h \ | |
| 3843 | - /usr/include/bits/types/timer_t.h \ | |
| 3844 | - /usr/include/bits/typesizes.h \ | |
| 3845 | - /usr/include/bits/uintn-identity.h \ | |
| 3846 | - /usr/include/bits/unistd_ext.h \ | |
| 3847 | - /usr/include/bits/waitflags.h \ | |
| 3848 | - /usr/include/bits/waitstatus.h \ | |
| 3849 | - /usr/include/bits/wchar.h \ | |
| 3850 | - /usr/include/bits/wordsize.h \ | |
| 3851 | - /usr/include/endian.h \ | |
| 3852 | - /usr/include/errno.h \ | |
| 3853 | - /usr/include/features-time64.h \ | |
| 3854 | - /usr/include/features.h \ | |
| 3855 | - /usr/include/gnu/stubs-64.h \ | |
| 3856 | - /usr/include/gnu/stubs.h \ | |
| 3857 | - /usr/include/limits.h \ | |
| 3858 | - /usr/include/linux/errno.h \ | |
| 3859 | - /usr/include/linux/input-event-codes.h \ | |
| 3860 | - /usr/include/linux/input.h \ | |
| 3861 | - /usr/include/linux/ioctl.h \ | |
| 3862 | - /usr/include/linux/limits.h \ | |
| 3863 | - /usr/include/linux/posix_types.h \ | |
| 3864 | - /usr/include/linux/stddef.h \ | |
| 3865 | - /usr/include/linux/types.h \ | |
| 3866 | - /usr/include/poll.h \ | |
| 3867 | - /usr/include/pthread.h \ | |
| 3868 | - /usr/include/regex.h \ | |
| 3869 | - /usr/include/sched.h \ | |
| 3870 | - /usr/include/signal.h \ | |
| 3871 | - /usr/include/stdc-predef.h \ | |
| 3872 | - /usr/include/stdint.h \ | |
| 3873 | - /usr/include/stdio.h \ | |
| 3874 | - /usr/include/stdlib.h \ | |
| 3875 | - /usr/include/string.h \ | |
| 3876 | - /usr/include/strings.h \ | |
| 3877 | - /usr/include/sys/cdefs.h \ | |
| 3878 | - /usr/include/sys/ioctl.h \ | |
| 3879 | - /usr/include/sys/poll.h \ | |
| 3880 | - /usr/include/sys/select.h \ | |
| 3881 | - /usr/include/sys/time.h \ | |
| 3882 | - /usr/include/sys/ttydefaults.h \ | |
| 3883 | - /usr/include/sys/types.h \ | |
| 3884 | - /usr/include/sys/ucontext.h \ | |
| 3885 | - /usr/include/time.h \ | |
| 3886 | - /usr/include/unistd.h \ | |
| 3887 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/limits.h \ | |
| 3888 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h \ | |
| 3889 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h \ | |
| 3890 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stddef.h \ | |
| 3891 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdint.h \ | |
| 3892 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/syslimits.h | |
| 3893 | - | |
| 3894 | -raylib/external/glfw/src/CMakeFiles/glfw.dir/xkb_unicode.c.o: /home/fordon/projects/c/raylib/src/external/glfw/src/xkb_unicode.c \ | |
| 3895 | - /home/fordon/projects/c/raylib/src/external/glfw/include/GLFW/glfw3.h \ | |
| 3896 | - /home/fordon/projects/c/raylib/src/external/glfw/include/GLFW/glfw3native.h \ | |
| 3897 | - /home/fordon/projects/c/raylib/src/external/glfw/src/internal.h \ | |
| 3898 | - /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h \ | |
| 3899 | - /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h \ | |
| 3900 | - /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h \ | |
| 3901 | - /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h \ | |
| 3902 | - /home/fordon/projects/c/raylib/src/external/glfw/src/posix_poll.h \ | |
| 3903 | - /home/fordon/projects/c/raylib/src/external/glfw/src/posix_thread.h \ | |
| 3904 | - /home/fordon/projects/c/raylib/src/external/glfw/src/posix_time.h \ | |
| 3905 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_platform.h \ | |
| 3906 | - /usr/include/X11/X.h \ | |
| 3907 | - /usr/include/X11/XKBlib.h \ | |
| 3908 | - /usr/include/X11/Xatom.h \ | |
| 3909 | - /usr/include/X11/Xcursor/Xcursor.h \ | |
| 3910 | - /usr/include/X11/Xdefs.h \ | |
| 3911 | - /usr/include/X11/Xfuncproto.h \ | |
| 3912 | - /usr/include/X11/Xlib.h \ | |
| 3913 | - /usr/include/X11/Xosdefs.h \ | |
| 3914 | - /usr/include/X11/Xresource.h \ | |
| 3915 | - /usr/include/X11/Xutil.h \ | |
| 3916 | - /usr/include/X11/extensions/XI2.h \ | |
| 3917 | - /usr/include/X11/extensions/XInput2.h \ | |
| 3918 | - /usr/include/X11/extensions/XKB.h \ | |
| 3919 | - /usr/include/X11/extensions/XKBstr.h \ | |
| 3920 | - /usr/include/X11/extensions/Xfixes.h \ | |
| 3921 | - /usr/include/X11/extensions/Xge.h \ | |
| 3922 | - /usr/include/X11/extensions/Xinerama.h \ | |
| 3923 | - /usr/include/X11/extensions/Xrandr.h \ | |
| 3924 | - /usr/include/X11/extensions/Xrender.h \ | |
| 3925 | - /usr/include/X11/extensions/randr.h \ | |
| 3926 | - /usr/include/X11/extensions/render.h \ | |
| 3927 | - /usr/include/X11/extensions/shape.h \ | |
| 3928 | - /usr/include/X11/extensions/shapeconst.h \ | |
| 3929 | - /usr/include/X11/extensions/xfixeswire.h \ | |
| 3930 | - /usr/include/X11/keysym.h \ | |
| 3931 | - /usr/include/X11/keysymdef.h \ | |
| 3932 | - /usr/include/asm-generic/bitsperlong.h \ | |
| 3933 | - /usr/include/asm-generic/int-ll64.h \ | |
| 3934 | - /usr/include/asm-generic/ioctl.h \ | |
| 3935 | - /usr/include/asm-generic/ioctls.h \ | |
| 3936 | - /usr/include/asm-generic/posix_types.h \ | |
| 3937 | - /usr/include/asm-generic/types.h \ | |
| 3938 | - /usr/include/asm/bitsperlong.h \ | |
| 3939 | - /usr/include/asm/ioctl.h \ | |
| 3940 | - /usr/include/asm/ioctls.h \ | |
| 3941 | - /usr/include/asm/posix_types.h \ | |
| 3942 | - /usr/include/asm/posix_types_64.h \ | |
| 3943 | - /usr/include/asm/types.h \ | |
| 3944 | - /usr/include/bits/atomic_wide_counter.h \ | |
| 3945 | - /usr/include/bits/byteswap.h \ | |
| 3946 | - /usr/include/bits/confname.h \ | |
| 3947 | - /usr/include/bits/cpu-set.h \ | |
| 3948 | - /usr/include/bits/endian.h \ | |
| 3949 | - /usr/include/bits/endianness.h \ | |
| 3950 | - /usr/include/bits/environments.h \ | |
| 3951 | - /usr/include/bits/floatn-common.h \ | |
| 3952 | - /usr/include/bits/floatn.h \ | |
| 3953 | - /usr/include/bits/getopt_core.h \ | |
| 3954 | - /usr/include/bits/getopt_posix.h \ | |
| 3955 | - /usr/include/bits/ioctl-types.h \ | |
| 3956 | - /usr/include/bits/ioctls.h \ | |
| 3957 | - /usr/include/bits/libc-header-start.h \ | |
| 3958 | - /usr/include/bits/long-double.h \ | |
| 3959 | - /usr/include/bits/poll.h \ | |
| 3960 | - /usr/include/bits/posix_opt.h \ | |
| 3961 | - /usr/include/bits/pthread_stack_min-dynamic.h \ | |
| 3962 | - /usr/include/bits/pthread_stack_min.h \ | |
| 3963 | - /usr/include/bits/pthreadtypes-arch.h \ | |
| 3964 | - /usr/include/bits/pthreadtypes.h \ | |
| 3965 | - /usr/include/bits/sched.h \ | |
| 3966 | - /usr/include/bits/select.h \ | |
| 3967 | - /usr/include/bits/setjmp.h \ | |
| 3968 | - /usr/include/bits/sigaction.h \ | |
| 3969 | - /usr/include/bits/sigcontext.h \ | |
| 3970 | - /usr/include/bits/sigevent-consts.h \ | |
| 3971 | - /usr/include/bits/siginfo-arch.h \ | |
| 3972 | - /usr/include/bits/siginfo-consts.h \ | |
| 3973 | - /usr/include/bits/signal_ext.h \ | |
| 3974 | - /usr/include/bits/signum-arch.h \ | |
| 3975 | - /usr/include/bits/signum-generic.h \ | |
| 3976 | - /usr/include/bits/sigstack.h \ | |
| 3977 | - /usr/include/bits/sigstksz.h \ | |
| 3978 | - /usr/include/bits/sigthread.h \ | |
| 3979 | - /usr/include/bits/ss_flags.h \ | |
| 3980 | - /usr/include/bits/stdint-intn.h \ | |
| 3981 | - /usr/include/bits/stdint-least.h \ | |
| 3982 | - /usr/include/bits/stdint-uintn.h \ | |
| 3983 | - /usr/include/bits/stdio_lim.h \ | |
| 3984 | - /usr/include/bits/struct_mutex.h \ | |
| 3985 | - /usr/include/bits/struct_rwlock.h \ | |
| 3986 | - /usr/include/bits/thread-shared-types.h \ | |
| 3987 | - /usr/include/bits/time.h \ | |
| 3988 | - /usr/include/bits/time64.h \ | |
| 3989 | - /usr/include/bits/timesize.h \ | |
| 3990 | - /usr/include/bits/types.h \ | |
| 3991 | - /usr/include/bits/types/FILE.h \ | |
| 3992 | - /usr/include/bits/types/__FILE.h \ | |
| 3993 | - /usr/include/bits/types/__fpos64_t.h \ | |
| 3994 | - /usr/include/bits/types/__fpos_t.h \ | |
| 3995 | - /usr/include/bits/types/__locale_t.h \ | |
| 3996 | - /usr/include/bits/types/__mbstate_t.h \ | |
| 3997 | - /usr/include/bits/types/__sigset_t.h \ | |
| 3998 | - /usr/include/bits/types/__sigval_t.h \ | |
| 3999 | - /usr/include/bits/types/clock_t.h \ | |
| 4000 | - /usr/include/bits/types/clockid_t.h \ | |
| 4001 | - /usr/include/bits/types/cookie_io_functions_t.h \ | |
| 4002 | - /usr/include/bits/types/locale_t.h \ | |
| 4003 | - /usr/include/bits/types/sig_atomic_t.h \ | |
| 4004 | - /usr/include/bits/types/sigevent_t.h \ | |
| 4005 | - /usr/include/bits/types/siginfo_t.h \ | |
| 4006 | - /usr/include/bits/types/sigset_t.h \ | |
| 4007 | - /usr/include/bits/types/sigval_t.h \ | |
| 4008 | - /usr/include/bits/types/stack_t.h \ | |
| 4009 | - /usr/include/bits/types/struct_FILE.h \ | |
| 4010 | - /usr/include/bits/types/struct___jmp_buf_tag.h \ | |
| 4011 | - /usr/include/bits/types/struct_itimerspec.h \ | |
| 4012 | - /usr/include/bits/types/struct_sched_param.h \ | |
| 4013 | - /usr/include/bits/types/struct_sigstack.h \ | |
| 4014 | - /usr/include/bits/types/struct_timespec.h \ | |
| 4015 | - /usr/include/bits/types/struct_timeval.h \ | |
| 4016 | - /usr/include/bits/types/struct_tm.h \ | |
| 4017 | - /usr/include/bits/types/time_t.h \ | |
| 4018 | - /usr/include/bits/types/timer_t.h \ | |
| 4019 | - /usr/include/bits/typesizes.h \ | |
| 4020 | - /usr/include/bits/uintn-identity.h \ | |
| 4021 | - /usr/include/bits/unistd_ext.h \ | |
| 4022 | - /usr/include/bits/wchar.h \ | |
| 4023 | - /usr/include/bits/wordsize.h \ | |
| 4024 | - /usr/include/endian.h \ | |
| 4025 | - /usr/include/features-time64.h \ | |
| 4026 | - /usr/include/features.h \ | |
| 4027 | - /usr/include/gnu/stubs-64.h \ | |
| 4028 | - /usr/include/gnu/stubs.h \ | |
| 4029 | - /usr/include/linux/input-event-codes.h \ | |
| 4030 | - /usr/include/linux/input.h \ | |
| 4031 | - /usr/include/linux/ioctl.h \ | |
| 4032 | - /usr/include/linux/limits.h \ | |
| 4033 | - /usr/include/linux/posix_types.h \ | |
| 4034 | - /usr/include/linux/stddef.h \ | |
| 4035 | - /usr/include/linux/types.h \ | |
| 4036 | - /usr/include/poll.h \ | |
| 4037 | - /usr/include/pthread.h \ | |
| 4038 | - /usr/include/regex.h \ | |
| 4039 | - /usr/include/sched.h \ | |
| 4040 | - /usr/include/signal.h \ | |
| 4041 | - /usr/include/stdc-predef.h \ | |
| 4042 | - /usr/include/stdint.h \ | |
| 4043 | - /usr/include/stdio.h \ | |
| 4044 | - /usr/include/sys/cdefs.h \ | |
| 4045 | - /usr/include/sys/ioctl.h \ | |
| 4046 | - /usr/include/sys/poll.h \ | |
| 4047 | - /usr/include/sys/select.h \ | |
| 4048 | - /usr/include/sys/time.h \ | |
| 4049 | - /usr/include/sys/ttydefaults.h \ | |
| 4050 | - /usr/include/sys/types.h \ | |
| 4051 | - /usr/include/sys/ucontext.h \ | |
| 4052 | - /usr/include/time.h \ | |
| 4053 | - /usr/include/unistd.h \ | |
| 4054 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h \ | |
| 4055 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h \ | |
| 4056 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stddef.h \ | |
| 4057 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdint.h | |
| 4058 | - | |
| 4059 | - | |
| 4060 | -/home/fordon/projects/c/raylib/src/external/glfw/src/xkb_unicode.c: | |
| 4061 | - | |
| 4062 | -/usr/include/X11/Xmd.h: | |
| 4063 | - | |
| 4064 | -/usr/include/bits/locale.h: | |
| 4065 | - | |
| 4066 | -/home/fordon/projects/c/raylib/src/external/glfw/src/x11_init.c: | |
| 4067 | 3154 | |
| 4068 | 3155 | /usr/include/linux/sched/types.h: |
| 4069 | 3156 | |
| @@ -4221,8 +3308,6 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/xkb_unicode.c.o: /home/fordon/proje | ||
| 4221 | 3308 | |
| 4222 | 3309 | /usr/include/asm-generic/ioctls.h: |
| 4223 | 3310 | |
| 4224 | -/usr/include/X11/cursorfont.h: | |
| 4225 | - | |
| 4226 | 3311 | /usr/include/bits/cpu-set.h: |
| 4227 | 3312 | |
| 4228 | 3313 | /usr/include/asm/bitsperlong.h: |
| @@ -4239,8 +3324,6 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/xkb_unicode.c.o: /home/fordon/proje | ||
| 4239 | 3324 | |
| 4240 | 3325 | /usr/include/bits/setjmp.h: |
| 4241 | 3326 | |
| 4242 | -/home/fordon/projects/c/raylib/src/external/glfw/src/x11_window.c: | |
| 4243 | - | |
| 4244 | 3327 | /usr/include/bits/types/struct___jmp_buf_tag.h: |
| 4245 | 3328 | |
| 4246 | 3329 | /usr/include/asm/posix_types.h: |
| @@ -4257,8 +3340,6 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/xkb_unicode.c.o: /home/fordon/proje | ||
| 4257 | 3340 | |
| 4258 | 3341 | /home/fordon/projects/c/raylib/src/external/glfw/src/x11_platform.h: |
| 4259 | 3342 | |
| 4260 | -/home/fordon/projects/c/raylib/src/external/glfw/src/glx_context.c: | |
| 4261 | - | |
| 4262 | 3343 | /usr/include/X11/extensions/shapeconst.h: |
| 4263 | 3344 | |
| 4264 | 3345 | /home/fordon/projects/c/raylib/src/external/glfw/src/context.c: |
| @@ -4291,8 +3372,6 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/xkb_unicode.c.o: /home/fordon/proje | ||
| 4291 | 3372 | |
| 4292 | 3373 | /usr/include/asm-generic/bitsperlong.h: |
| 4293 | 3374 | |
| 4294 | -/home/fordon/projects/c/raylib/src/external/glfw/src/x11_monitor.c: | |
| 4295 | - | |
| 4296 | 3375 | /usr/include/bits/math-vector.h: |
| 4297 | 3376 | |
| 4298 | 3377 | /usr/include/bits/signum-arch.h: |
| @@ -4405,8 +3484,6 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/xkb_unicode.c.o: /home/fordon/proje | ||
| 4405 | 3484 | |
| 4406 | 3485 | /usr/include/bits/types.h: |
| 4407 | 3486 | |
| 4408 | -/usr/include/locale.h: | |
| 4409 | - | |
| 4410 | 3487 | /home/fordon/projects/c/raylib/src/external/glfw/src/egl_context.c: |
| 4411 | 3488 | |
| 4412 | 3489 | /usr/include/X11/Xresource.h: |
+34 −51 raylib/external/glfw/src/CMakeFiles/glfw.dir/context.c.o.d
| @@ -17,64 +17,47 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/context.c.o: \ | ||
| 17 | 17 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h \ |
| 18 | 18 | /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h \ |
| 19 | 19 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h \ |
| 20 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_platform.h \ | |
| 21 | - /usr/include/unistd.h /usr/include/bits/posix_opt.h \ | |
| 22 | - /usr/include/bits/environments.h /usr/include/bits/confname.h \ | |
| 23 | - /usr/include/bits/getopt_posix.h /usr/include/bits/getopt_core.h \ | |
| 24 | - /usr/include/bits/unistd_ext.h /usr/include/signal.h \ | |
| 25 | - /usr/include/bits/signum-generic.h /usr/include/bits/signum-arch.h \ | |
| 26 | - /usr/include/bits/types/sig_atomic_t.h \ | |
| 27 | - /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \ | |
| 28 | - /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 29 | - /usr/include/bits/endianness.h /usr/include/bits/types/time_t.h \ | |
| 30 | - /usr/include/bits/types/siginfo_t.h /usr/include/bits/types/__sigval_t.h \ | |
| 31 | - /usr/include/bits/siginfo-arch.h /usr/include/bits/siginfo-consts.h \ | |
| 32 | - /usr/include/bits/types/sigval_t.h /usr/include/bits/types/sigevent_t.h \ | |
| 33 | - /usr/include/bits/sigevent-consts.h /usr/include/bits/sigaction.h \ | |
| 34 | - /usr/include/bits/sigcontext.h /usr/include/bits/types/stack_t.h \ | |
| 35 | - /usr/include/sys/ucontext.h /usr/include/bits/sigstack.h \ | |
| 36 | - /usr/include/bits/sigstksz.h /usr/include/bits/ss_flags.h \ | |
| 37 | - /usr/include/bits/types/struct_sigstack.h \ | |
| 38 | - /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \ | |
| 39 | - /usr/include/bits/pthreadtypes-arch.h \ | |
| 40 | - /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 41 | - /usr/include/bits/struct_rwlock.h /usr/include/bits/sigthread.h \ | |
| 42 | - /usr/include/bits/signal_ext.h /usr/include/X11/Xlib.h \ | |
| 43 | - /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 44 | - /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 45 | - /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 46 | - /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \ | |
| 47 | - /usr/include/bits/select.h /usr/include/bits/types/struct_timeval.h \ | |
| 48 | - /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h \ | |
| 49 | - /usr/include/X11/Xosdefs.h /usr/include/X11/keysym.h \ | |
| 50 | - /usr/include/X11/keysymdef.h /usr/include/X11/Xatom.h \ | |
| 51 | - /usr/include/X11/Xresource.h /usr/include/X11/Xcursor/Xcursor.h \ | |
| 52 | - /usr/include/stdio.h \ | |
| 20 | + /home/fordon/projects/c/raylib/src/external/glfw/src/wl_platform.h \ | |
| 21 | + /usr/include/wayland-client-core.h /usr/include/wayland-util.h \ | |
| 22 | + /usr/include/math.h /usr/include/bits/math-vector.h \ | |
| 23 | + /usr/include/bits/libm-simd-decl-stubs.h /usr/include/bits/floatn.h \ | |
| 24 | + /usr/include/bits/floatn-common.h /usr/include/bits/flt-eval-method.h \ | |
| 25 | + /usr/include/bits/fp-logb.h /usr/include/bits/fp-fast.h \ | |
| 26 | + /usr/include/bits/mathcalls-macros.h \ | |
| 27 | + /usr/include/bits/mathcalls-helper-functions.h \ | |
| 28 | + /usr/include/bits/mathcalls.h /usr/include/inttypes.h \ | |
| 53 | 29 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h \ |
| 54 | - /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \ | |
| 30 | + /usr/include/wayland-version.h /usr/include/xkbcommon/xkbcommon.h \ | |
| 31 | + /usr/include/stdio.h /usr/include/bits/types/__fpos_t.h \ | |
| 32 | + /usr/include/bits/types/__mbstate_t.h \ | |
| 55 | 33 | /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \ |
| 56 | 34 | /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \ |
| 57 | 35 | /usr/include/bits/types/cookie_io_functions_t.h \ |
| 58 | - /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \ | |
| 59 | - /usr/include/bits/floatn-common.h /usr/include/X11/extensions/Xrandr.h \ | |
| 60 | - /usr/include/X11/extensions/randr.h \ | |
| 61 | - /usr/include/X11/extensions/Xrender.h /usr/include/X11/Xutil.h \ | |
| 62 | - /usr/include/X11/extensions/render.h /usr/include/X11/Xdefs.h \ | |
| 63 | - /usr/include/X11/XKBlib.h /usr/include/X11/extensions/XKBstr.h \ | |
| 64 | - /usr/include/X11/extensions/XKB.h /usr/include/X11/extensions/Xinerama.h \ | |
| 65 | - /usr/include/X11/extensions/XInput2.h /usr/include/X11/extensions/XI2.h \ | |
| 66 | - /usr/include/X11/extensions/Xge.h /usr/include/X11/extensions/Xfixes.h \ | |
| 67 | - /usr/include/X11/extensions/xfixeswire.h \ | |
| 68 | - /usr/include/X11/extensions/shape.h \ | |
| 69 | - /usr/include/X11/extensions/shapeconst.h \ | |
| 36 | + /usr/include/bits/stdio_lim.h /usr/include/xkbcommon/xkbcommon-names.h \ | |
| 37 | + /usr/include/xkbcommon/xkbcommon-keysyms.h \ | |
| 38 | + /usr/include/xkbcommon/xkbcommon-compat.h \ | |
| 39 | + /usr/include/xkbcommon/xkbcommon-compose.h \ | |
| 70 | 40 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h \ |
| 71 | 41 | /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h \ |
| 72 | 42 | /usr/include/linux/input.h /usr/include/sys/time.h \ |
| 73 | - /usr/include/sys/ioctl.h /usr/include/bits/ioctls.h \ | |
| 74 | - /usr/include/asm/ioctls.h /usr/include/asm-generic/ioctls.h \ | |
| 75 | - /usr/include/linux/ioctl.h /usr/include/asm/ioctl.h \ | |
| 76 | - /usr/include/asm-generic/ioctl.h /usr/include/bits/ioctl-types.h \ | |
| 77 | - /usr/include/sys/ttydefaults.h /usr/include/linux/types.h \ | |
| 43 | + /usr/include/bits/types/time_t.h \ | |
| 44 | + /usr/include/bits/types/struct_timeval.h /usr/include/sys/select.h \ | |
| 45 | + /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \ | |
| 46 | + /usr/include/bits/types/__sigset_t.h \ | |
| 47 | + /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 48 | + /usr/include/bits/endianness.h /usr/include/sys/ioctl.h \ | |
| 49 | + /usr/include/bits/ioctls.h /usr/include/asm/ioctls.h \ | |
| 50 | + /usr/include/asm-generic/ioctls.h /usr/include/linux/ioctl.h \ | |
| 51 | + /usr/include/asm/ioctl.h /usr/include/asm-generic/ioctl.h \ | |
| 52 | + /usr/include/bits/ioctl-types.h /usr/include/sys/ttydefaults.h \ | |
| 53 | + /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 54 | + /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 55 | + /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 56 | + /usr/include/bits/uintn-identity.h /usr/include/bits/pthreadtypes.h \ | |
| 57 | + /usr/include/bits/thread-shared-types.h \ | |
| 58 | + /usr/include/bits/pthreadtypes-arch.h \ | |
| 59 | + /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 60 | + /usr/include/bits/struct_rwlock.h /usr/include/linux/types.h \ | |
| 78 | 61 | /usr/include/asm/types.h /usr/include/asm-generic/types.h \ |
| 79 | 62 | /usr/include/asm-generic/int-ll64.h /usr/include/asm/bitsperlong.h \ |
| 80 | 63 | /usr/include/asm-generic/bitsperlong.h /usr/include/linux/posix_types.h \ |
+0 −0 raylib/external/glfw/src/CMakeFiles/glfw.dir/egl_context.c.o Binary files a/raylib/external/glfw/src/CMakeFiles/glfw.dir/egl_context.c.o and b/raylib/external/glfw/src/CMakeFiles/glfw.dir/egl_context.c.o differ
+34 −51 raylib/external/glfw/src/CMakeFiles/glfw.dir/egl_context.c.o.d
| @@ -17,64 +17,47 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/egl_context.c.o: \ | ||
| 17 | 17 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h \ |
| 18 | 18 | /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h \ |
| 19 | 19 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h \ |
| 20 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_platform.h \ | |
| 21 | - /usr/include/unistd.h /usr/include/bits/posix_opt.h \ | |
| 22 | - /usr/include/bits/environments.h /usr/include/bits/confname.h \ | |
| 23 | - /usr/include/bits/getopt_posix.h /usr/include/bits/getopt_core.h \ | |
| 24 | - /usr/include/bits/unistd_ext.h /usr/include/signal.h \ | |
| 25 | - /usr/include/bits/signum-generic.h /usr/include/bits/signum-arch.h \ | |
| 26 | - /usr/include/bits/types/sig_atomic_t.h \ | |
| 27 | - /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \ | |
| 28 | - /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 29 | - /usr/include/bits/endianness.h /usr/include/bits/types/time_t.h \ | |
| 30 | - /usr/include/bits/types/siginfo_t.h /usr/include/bits/types/__sigval_t.h \ | |
| 31 | - /usr/include/bits/siginfo-arch.h /usr/include/bits/siginfo-consts.h \ | |
| 32 | - /usr/include/bits/types/sigval_t.h /usr/include/bits/types/sigevent_t.h \ | |
| 33 | - /usr/include/bits/sigevent-consts.h /usr/include/bits/sigaction.h \ | |
| 34 | - /usr/include/bits/sigcontext.h /usr/include/bits/types/stack_t.h \ | |
| 35 | - /usr/include/sys/ucontext.h /usr/include/bits/sigstack.h \ | |
| 36 | - /usr/include/bits/sigstksz.h /usr/include/bits/ss_flags.h \ | |
| 37 | - /usr/include/bits/types/struct_sigstack.h \ | |
| 38 | - /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \ | |
| 39 | - /usr/include/bits/pthreadtypes-arch.h \ | |
| 40 | - /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 41 | - /usr/include/bits/struct_rwlock.h /usr/include/bits/sigthread.h \ | |
| 42 | - /usr/include/bits/signal_ext.h /usr/include/X11/Xlib.h \ | |
| 43 | - /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 44 | - /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 45 | - /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 46 | - /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \ | |
| 47 | - /usr/include/bits/select.h /usr/include/bits/types/struct_timeval.h \ | |
| 48 | - /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h \ | |
| 49 | - /usr/include/X11/Xosdefs.h /usr/include/X11/keysym.h \ | |
| 50 | - /usr/include/X11/keysymdef.h /usr/include/X11/Xatom.h \ | |
| 51 | - /usr/include/X11/Xresource.h /usr/include/X11/Xcursor/Xcursor.h \ | |
| 52 | - /usr/include/stdio.h \ | |
| 20 | + /home/fordon/projects/c/raylib/src/external/glfw/src/wl_platform.h \ | |
| 21 | + /usr/include/wayland-client-core.h /usr/include/wayland-util.h \ | |
| 22 | + /usr/include/math.h /usr/include/bits/math-vector.h \ | |
| 23 | + /usr/include/bits/libm-simd-decl-stubs.h /usr/include/bits/floatn.h \ | |
| 24 | + /usr/include/bits/floatn-common.h /usr/include/bits/flt-eval-method.h \ | |
| 25 | + /usr/include/bits/fp-logb.h /usr/include/bits/fp-fast.h \ | |
| 26 | + /usr/include/bits/mathcalls-macros.h \ | |
| 27 | + /usr/include/bits/mathcalls-helper-functions.h \ | |
| 28 | + /usr/include/bits/mathcalls.h /usr/include/inttypes.h \ | |
| 53 | 29 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h \ |
| 54 | - /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \ | |
| 30 | + /usr/include/wayland-version.h /usr/include/xkbcommon/xkbcommon.h \ | |
| 31 | + /usr/include/stdio.h /usr/include/bits/types/__fpos_t.h \ | |
| 32 | + /usr/include/bits/types/__mbstate_t.h \ | |
| 55 | 33 | /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \ |
| 56 | 34 | /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \ |
| 57 | 35 | /usr/include/bits/types/cookie_io_functions_t.h \ |
| 58 | - /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \ | |
| 59 | - /usr/include/bits/floatn-common.h /usr/include/X11/extensions/Xrandr.h \ | |
| 60 | - /usr/include/X11/extensions/randr.h \ | |
| 61 | - /usr/include/X11/extensions/Xrender.h /usr/include/X11/Xutil.h \ | |
| 62 | - /usr/include/X11/extensions/render.h /usr/include/X11/Xdefs.h \ | |
| 63 | - /usr/include/X11/XKBlib.h /usr/include/X11/extensions/XKBstr.h \ | |
| 64 | - /usr/include/X11/extensions/XKB.h /usr/include/X11/extensions/Xinerama.h \ | |
| 65 | - /usr/include/X11/extensions/XInput2.h /usr/include/X11/extensions/XI2.h \ | |
| 66 | - /usr/include/X11/extensions/Xge.h /usr/include/X11/extensions/Xfixes.h \ | |
| 67 | - /usr/include/X11/extensions/xfixeswire.h \ | |
| 68 | - /usr/include/X11/extensions/shape.h \ | |
| 69 | - /usr/include/X11/extensions/shapeconst.h \ | |
| 36 | + /usr/include/bits/stdio_lim.h /usr/include/xkbcommon/xkbcommon-names.h \ | |
| 37 | + /usr/include/xkbcommon/xkbcommon-keysyms.h \ | |
| 38 | + /usr/include/xkbcommon/xkbcommon-compat.h \ | |
| 39 | + /usr/include/xkbcommon/xkbcommon-compose.h \ | |
| 70 | 40 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h \ |
| 71 | 41 | /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h \ |
| 72 | 42 | /usr/include/linux/input.h /usr/include/sys/time.h \ |
| 73 | - /usr/include/sys/ioctl.h /usr/include/bits/ioctls.h \ | |
| 74 | - /usr/include/asm/ioctls.h /usr/include/asm-generic/ioctls.h \ | |
| 75 | - /usr/include/linux/ioctl.h /usr/include/asm/ioctl.h \ | |
| 76 | - /usr/include/asm-generic/ioctl.h /usr/include/bits/ioctl-types.h \ | |
| 77 | - /usr/include/sys/ttydefaults.h /usr/include/linux/types.h \ | |
| 43 | + /usr/include/bits/types/time_t.h \ | |
| 44 | + /usr/include/bits/types/struct_timeval.h /usr/include/sys/select.h \ | |
| 45 | + /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \ | |
| 46 | + /usr/include/bits/types/__sigset_t.h \ | |
| 47 | + /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 48 | + /usr/include/bits/endianness.h /usr/include/sys/ioctl.h \ | |
| 49 | + /usr/include/bits/ioctls.h /usr/include/asm/ioctls.h \ | |
| 50 | + /usr/include/asm-generic/ioctls.h /usr/include/linux/ioctl.h \ | |
| 51 | + /usr/include/asm/ioctl.h /usr/include/asm-generic/ioctl.h \ | |
| 52 | + /usr/include/bits/ioctl-types.h /usr/include/sys/ttydefaults.h \ | |
| 53 | + /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 54 | + /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 55 | + /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 56 | + /usr/include/bits/uintn-identity.h /usr/include/bits/pthreadtypes.h \ | |
| 57 | + /usr/include/bits/thread-shared-types.h \ | |
| 58 | + /usr/include/bits/pthreadtypes-arch.h \ | |
| 59 | + /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 60 | + /usr/include/bits/struct_rwlock.h /usr/include/linux/types.h \ | |
| 78 | 61 | /usr/include/asm/types.h /usr/include/asm-generic/types.h \ |
| 79 | 62 | /usr/include/asm-generic/int-ll64.h /usr/include/asm/bitsperlong.h \ |
| 80 | 63 | /usr/include/asm-generic/bitsperlong.h /usr/include/linux/posix_types.h \ |
+1 −1 raylib/external/glfw/src/CMakeFiles/glfw.dir/flags.make
| @@ -2,7 +2,7 @@ | ||
| 2 | 2 | # Generated by "Unix Makefiles" Generator, CMake Version 4.2 |
| 3 | 3 | |
| 4 | 4 | # compile C with /usr/bin/cc |
| 5 | -C_DEFINES = -D_DEFAULT_SOURCE -D_GLFW_X11 | |
| 5 | +C_DEFINES = -DHAVE_MEMFD_CREATE -D_DEFAULT_SOURCE -D_GLFW_WAYLAND | |
| 6 | 6 | |
| 7 | 7 | C_INCLUDES = -I/home/fordon/projects/c/raylib/src/external/glfw/include -I/home/fordon/projects/c/raylib/src/external/glfw/src -I/home/fordon/projects/c/raylib/build/raylib/external/glfw/src |
| 8 | 8 |
+0 −0 raylib/external/glfw/src/CMakeFiles/glfw.dir/init.c.o Binary files a/raylib/external/glfw/src/CMakeFiles/glfw.dir/init.c.o and b/raylib/external/glfw/src/CMakeFiles/glfw.dir/init.c.o differ
+34 −51 raylib/external/glfw/src/CMakeFiles/glfw.dir/init.c.o.d
| @@ -17,64 +17,47 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/init.c.o: \ | ||
| 17 | 17 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h \ |
| 18 | 18 | /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h \ |
| 19 | 19 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h \ |
| 20 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_platform.h \ | |
| 21 | - /usr/include/unistd.h /usr/include/bits/posix_opt.h \ | |
| 22 | - /usr/include/bits/environments.h /usr/include/bits/confname.h \ | |
| 23 | - /usr/include/bits/getopt_posix.h /usr/include/bits/getopt_core.h \ | |
| 24 | - /usr/include/bits/unistd_ext.h /usr/include/signal.h \ | |
| 25 | - /usr/include/bits/signum-generic.h /usr/include/bits/signum-arch.h \ | |
| 26 | - /usr/include/bits/types/sig_atomic_t.h \ | |
| 27 | - /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \ | |
| 28 | - /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 29 | - /usr/include/bits/endianness.h /usr/include/bits/types/time_t.h \ | |
| 30 | - /usr/include/bits/types/siginfo_t.h /usr/include/bits/types/__sigval_t.h \ | |
| 31 | - /usr/include/bits/siginfo-arch.h /usr/include/bits/siginfo-consts.h \ | |
| 32 | - /usr/include/bits/types/sigval_t.h /usr/include/bits/types/sigevent_t.h \ | |
| 33 | - /usr/include/bits/sigevent-consts.h /usr/include/bits/sigaction.h \ | |
| 34 | - /usr/include/bits/sigcontext.h /usr/include/bits/types/stack_t.h \ | |
| 35 | - /usr/include/sys/ucontext.h /usr/include/bits/sigstack.h \ | |
| 36 | - /usr/include/bits/sigstksz.h /usr/include/bits/ss_flags.h \ | |
| 37 | - /usr/include/bits/types/struct_sigstack.h \ | |
| 38 | - /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \ | |
| 39 | - /usr/include/bits/pthreadtypes-arch.h \ | |
| 40 | - /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 41 | - /usr/include/bits/struct_rwlock.h /usr/include/bits/sigthread.h \ | |
| 42 | - /usr/include/bits/signal_ext.h /usr/include/X11/Xlib.h \ | |
| 43 | - /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 44 | - /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 45 | - /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 46 | - /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \ | |
| 47 | - /usr/include/bits/select.h /usr/include/bits/types/struct_timeval.h \ | |
| 48 | - /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h \ | |
| 49 | - /usr/include/X11/Xosdefs.h /usr/include/X11/keysym.h \ | |
| 50 | - /usr/include/X11/keysymdef.h /usr/include/X11/Xatom.h \ | |
| 51 | - /usr/include/X11/Xresource.h /usr/include/X11/Xcursor/Xcursor.h \ | |
| 52 | - /usr/include/stdio.h \ | |
| 20 | + /home/fordon/projects/c/raylib/src/external/glfw/src/wl_platform.h \ | |
| 21 | + /usr/include/wayland-client-core.h /usr/include/wayland-util.h \ | |
| 22 | + /usr/include/math.h /usr/include/bits/math-vector.h \ | |
| 23 | + /usr/include/bits/libm-simd-decl-stubs.h /usr/include/bits/floatn.h \ | |
| 24 | + /usr/include/bits/floatn-common.h /usr/include/bits/flt-eval-method.h \ | |
| 25 | + /usr/include/bits/fp-logb.h /usr/include/bits/fp-fast.h \ | |
| 26 | + /usr/include/bits/mathcalls-macros.h \ | |
| 27 | + /usr/include/bits/mathcalls-helper-functions.h \ | |
| 28 | + /usr/include/bits/mathcalls.h /usr/include/inttypes.h \ | |
| 53 | 29 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h \ |
| 54 | - /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \ | |
| 30 | + /usr/include/wayland-version.h /usr/include/xkbcommon/xkbcommon.h \ | |
| 31 | + /usr/include/stdio.h /usr/include/bits/types/__fpos_t.h \ | |
| 32 | + /usr/include/bits/types/__mbstate_t.h \ | |
| 55 | 33 | /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \ |
| 56 | 34 | /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \ |
| 57 | 35 | /usr/include/bits/types/cookie_io_functions_t.h \ |
| 58 | - /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \ | |
| 59 | - /usr/include/bits/floatn-common.h /usr/include/X11/extensions/Xrandr.h \ | |
| 60 | - /usr/include/X11/extensions/randr.h \ | |
| 61 | - /usr/include/X11/extensions/Xrender.h /usr/include/X11/Xutil.h \ | |
| 62 | - /usr/include/X11/extensions/render.h /usr/include/X11/Xdefs.h \ | |
| 63 | - /usr/include/X11/XKBlib.h /usr/include/X11/extensions/XKBstr.h \ | |
| 64 | - /usr/include/X11/extensions/XKB.h /usr/include/X11/extensions/Xinerama.h \ | |
| 65 | - /usr/include/X11/extensions/XInput2.h /usr/include/X11/extensions/XI2.h \ | |
| 66 | - /usr/include/X11/extensions/Xge.h /usr/include/X11/extensions/Xfixes.h \ | |
| 67 | - /usr/include/X11/extensions/xfixeswire.h \ | |
| 68 | - /usr/include/X11/extensions/shape.h \ | |
| 69 | - /usr/include/X11/extensions/shapeconst.h \ | |
| 36 | + /usr/include/bits/stdio_lim.h /usr/include/xkbcommon/xkbcommon-names.h \ | |
| 37 | + /usr/include/xkbcommon/xkbcommon-keysyms.h \ | |
| 38 | + /usr/include/xkbcommon/xkbcommon-compat.h \ | |
| 39 | + /usr/include/xkbcommon/xkbcommon-compose.h \ | |
| 70 | 40 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h \ |
| 71 | 41 | /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h \ |
| 72 | 42 | /usr/include/linux/input.h /usr/include/sys/time.h \ |
| 73 | - /usr/include/sys/ioctl.h /usr/include/bits/ioctls.h \ | |
| 74 | - /usr/include/asm/ioctls.h /usr/include/asm-generic/ioctls.h \ | |
| 75 | - /usr/include/linux/ioctl.h /usr/include/asm/ioctl.h \ | |
| 76 | - /usr/include/asm-generic/ioctl.h /usr/include/bits/ioctl-types.h \ | |
| 77 | - /usr/include/sys/ttydefaults.h /usr/include/linux/types.h \ | |
| 43 | + /usr/include/bits/types/time_t.h \ | |
| 44 | + /usr/include/bits/types/struct_timeval.h /usr/include/sys/select.h \ | |
| 45 | + /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \ | |
| 46 | + /usr/include/bits/types/__sigset_t.h \ | |
| 47 | + /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 48 | + /usr/include/bits/endianness.h /usr/include/sys/ioctl.h \ | |
| 49 | + /usr/include/bits/ioctls.h /usr/include/asm/ioctls.h \ | |
| 50 | + /usr/include/asm-generic/ioctls.h /usr/include/linux/ioctl.h \ | |
| 51 | + /usr/include/asm/ioctl.h /usr/include/asm-generic/ioctl.h \ | |
| 52 | + /usr/include/bits/ioctl-types.h /usr/include/sys/ttydefaults.h \ | |
| 53 | + /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 54 | + /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 55 | + /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 56 | + /usr/include/bits/uintn-identity.h /usr/include/bits/pthreadtypes.h \ | |
| 57 | + /usr/include/bits/thread-shared-types.h \ | |
| 58 | + /usr/include/bits/pthreadtypes-arch.h \ | |
| 59 | + /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 60 | + /usr/include/bits/struct_rwlock.h /usr/include/linux/types.h \ | |
| 78 | 61 | /usr/include/asm/types.h /usr/include/asm-generic/types.h \ |
| 79 | 62 | /usr/include/asm-generic/int-ll64.h /usr/include/asm/bitsperlong.h \ |
| 80 | 63 | /usr/include/asm-generic/bitsperlong.h /usr/include/linux/posix_types.h \ |
+0 −0 raylib/external/glfw/src/CMakeFiles/glfw.dir/input.c.o Binary files a/raylib/external/glfw/src/CMakeFiles/glfw.dir/input.c.o and b/raylib/external/glfw/src/CMakeFiles/glfw.dir/input.c.o differ
+38 −60 raylib/external/glfw/src/CMakeFiles/glfw.dir/input.c.o.d
| @@ -17,64 +17,47 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/input.c.o: \ | ||
| 17 | 17 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h \ |
| 18 | 18 | /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h \ |
| 19 | 19 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h \ |
| 20 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_platform.h \ | |
| 21 | - /usr/include/unistd.h /usr/include/bits/posix_opt.h \ | |
| 22 | - /usr/include/bits/environments.h /usr/include/bits/confname.h \ | |
| 23 | - /usr/include/bits/getopt_posix.h /usr/include/bits/getopt_core.h \ | |
| 24 | - /usr/include/bits/unistd_ext.h /usr/include/signal.h \ | |
| 25 | - /usr/include/bits/signum-generic.h /usr/include/bits/signum-arch.h \ | |
| 26 | - /usr/include/bits/types/sig_atomic_t.h \ | |
| 27 | - /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \ | |
| 28 | - /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 29 | - /usr/include/bits/endianness.h /usr/include/bits/types/time_t.h \ | |
| 30 | - /usr/include/bits/types/siginfo_t.h /usr/include/bits/types/__sigval_t.h \ | |
| 31 | - /usr/include/bits/siginfo-arch.h /usr/include/bits/siginfo-consts.h \ | |
| 32 | - /usr/include/bits/types/sigval_t.h /usr/include/bits/types/sigevent_t.h \ | |
| 33 | - /usr/include/bits/sigevent-consts.h /usr/include/bits/sigaction.h \ | |
| 34 | - /usr/include/bits/sigcontext.h /usr/include/bits/types/stack_t.h \ | |
| 35 | - /usr/include/sys/ucontext.h /usr/include/bits/sigstack.h \ | |
| 36 | - /usr/include/bits/sigstksz.h /usr/include/bits/ss_flags.h \ | |
| 37 | - /usr/include/bits/types/struct_sigstack.h \ | |
| 38 | - /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \ | |
| 39 | - /usr/include/bits/pthreadtypes-arch.h \ | |
| 40 | - /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 41 | - /usr/include/bits/struct_rwlock.h /usr/include/bits/sigthread.h \ | |
| 42 | - /usr/include/bits/signal_ext.h /usr/include/X11/Xlib.h \ | |
| 43 | - /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 44 | - /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 45 | - /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 46 | - /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \ | |
| 47 | - /usr/include/bits/select.h /usr/include/bits/types/struct_timeval.h \ | |
| 48 | - /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h \ | |
| 49 | - /usr/include/X11/Xosdefs.h /usr/include/X11/keysym.h \ | |
| 50 | - /usr/include/X11/keysymdef.h /usr/include/X11/Xatom.h \ | |
| 51 | - /usr/include/X11/Xresource.h /usr/include/X11/Xcursor/Xcursor.h \ | |
| 52 | - /usr/include/stdio.h \ | |
| 20 | + /home/fordon/projects/c/raylib/src/external/glfw/src/wl_platform.h \ | |
| 21 | + /usr/include/wayland-client-core.h /usr/include/wayland-util.h \ | |
| 22 | + /usr/include/math.h /usr/include/bits/math-vector.h \ | |
| 23 | + /usr/include/bits/libm-simd-decl-stubs.h /usr/include/bits/floatn.h \ | |
| 24 | + /usr/include/bits/floatn-common.h /usr/include/bits/flt-eval-method.h \ | |
| 25 | + /usr/include/bits/fp-logb.h /usr/include/bits/fp-fast.h \ | |
| 26 | + /usr/include/bits/mathcalls-macros.h \ | |
| 27 | + /usr/include/bits/mathcalls-helper-functions.h \ | |
| 28 | + /usr/include/bits/mathcalls.h /usr/include/inttypes.h \ | |
| 53 | 29 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h \ |
| 54 | - /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \ | |
| 30 | + /usr/include/wayland-version.h /usr/include/xkbcommon/xkbcommon.h \ | |
| 31 | + /usr/include/stdio.h /usr/include/bits/types/__fpos_t.h \ | |
| 32 | + /usr/include/bits/types/__mbstate_t.h \ | |
| 55 | 33 | /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \ |
| 56 | 34 | /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \ |
| 57 | 35 | /usr/include/bits/types/cookie_io_functions_t.h \ |
| 58 | - /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \ | |
| 59 | - /usr/include/bits/floatn-common.h /usr/include/X11/extensions/Xrandr.h \ | |
| 60 | - /usr/include/X11/extensions/randr.h \ | |
| 61 | - /usr/include/X11/extensions/Xrender.h /usr/include/X11/Xutil.h \ | |
| 62 | - /usr/include/X11/extensions/render.h /usr/include/X11/Xdefs.h \ | |
| 63 | - /usr/include/X11/XKBlib.h /usr/include/X11/extensions/XKBstr.h \ | |
| 64 | - /usr/include/X11/extensions/XKB.h /usr/include/X11/extensions/Xinerama.h \ | |
| 65 | - /usr/include/X11/extensions/XInput2.h /usr/include/X11/extensions/XI2.h \ | |
| 66 | - /usr/include/X11/extensions/Xge.h /usr/include/X11/extensions/Xfixes.h \ | |
| 67 | - /usr/include/X11/extensions/xfixeswire.h \ | |
| 68 | - /usr/include/X11/extensions/shape.h \ | |
| 69 | - /usr/include/X11/extensions/shapeconst.h \ | |
| 36 | + /usr/include/bits/stdio_lim.h /usr/include/xkbcommon/xkbcommon-names.h \ | |
| 37 | + /usr/include/xkbcommon/xkbcommon-keysyms.h \ | |
| 38 | + /usr/include/xkbcommon/xkbcommon-compat.h \ | |
| 39 | + /usr/include/xkbcommon/xkbcommon-compose.h \ | |
| 70 | 40 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h \ |
| 71 | 41 | /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h \ |
| 72 | 42 | /usr/include/linux/input.h /usr/include/sys/time.h \ |
| 73 | - /usr/include/sys/ioctl.h /usr/include/bits/ioctls.h \ | |
| 74 | - /usr/include/asm/ioctls.h /usr/include/asm-generic/ioctls.h \ | |
| 75 | - /usr/include/linux/ioctl.h /usr/include/asm/ioctl.h \ | |
| 76 | - /usr/include/asm-generic/ioctl.h /usr/include/bits/ioctl-types.h \ | |
| 77 | - /usr/include/sys/ttydefaults.h /usr/include/linux/types.h \ | |
| 43 | + /usr/include/bits/types/time_t.h \ | |
| 44 | + /usr/include/bits/types/struct_timeval.h /usr/include/sys/select.h \ | |
| 45 | + /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \ | |
| 46 | + /usr/include/bits/types/__sigset_t.h \ | |
| 47 | + /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 48 | + /usr/include/bits/endianness.h /usr/include/sys/ioctl.h \ | |
| 49 | + /usr/include/bits/ioctls.h /usr/include/asm/ioctls.h \ | |
| 50 | + /usr/include/asm-generic/ioctls.h /usr/include/linux/ioctl.h \ | |
| 51 | + /usr/include/asm/ioctl.h /usr/include/asm-generic/ioctl.h \ | |
| 52 | + /usr/include/bits/ioctl-types.h /usr/include/sys/ttydefaults.h \ | |
| 53 | + /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 54 | + /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 55 | + /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 56 | + /usr/include/bits/uintn-identity.h /usr/include/bits/pthreadtypes.h \ | |
| 57 | + /usr/include/bits/thread-shared-types.h \ | |
| 58 | + /usr/include/bits/pthreadtypes-arch.h \ | |
| 59 | + /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 60 | + /usr/include/bits/struct_rwlock.h /usr/include/linux/types.h \ | |
| 78 | 61 | /usr/include/asm/types.h /usr/include/asm-generic/types.h \ |
| 79 | 62 | /usr/include/asm-generic/int-ll64.h /usr/include/asm/bitsperlong.h \ |
| 80 | 63 | /usr/include/asm-generic/bitsperlong.h /usr/include/linux/posix_types.h \ |
| @@ -100,12 +83,7 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/input.c.o: \ | ||
| 100 | 83 | /home/fordon/projects/c/raylib/src/external/glfw/src/mappings.h \ |
| 101 | 84 | /usr/include/assert.h \ |
| 102 | 85 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/float.h \ |
| 103 | - /usr/include/math.h /usr/include/bits/math-vector.h \ | |
| 104 | - /usr/include/bits/libm-simd-decl-stubs.h \ | |
| 105 | - /usr/include/bits/flt-eval-method.h /usr/include/bits/fp-logb.h \ | |
| 106 | - /usr/include/bits/fp-fast.h /usr/include/bits/mathcalls-macros.h \ | |
| 107 | - /usr/include/bits/mathcalls-helper-functions.h \ | |
| 108 | - /usr/include/bits/mathcalls.h /usr/include/stdlib.h \ | |
| 109 | - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ | |
| 110 | - /usr/include/alloca.h /usr/include/bits/stdlib-float.h \ | |
| 111 | - /usr/include/string.h /usr/include/strings.h | |
| 86 | + /usr/include/stdlib.h /usr/include/bits/waitflags.h \ | |
| 87 | + /usr/include/bits/waitstatus.h /usr/include/alloca.h \ | |
| 88 | + /usr/include/bits/stdlib-float.h /usr/include/string.h \ | |
| 89 | + /usr/include/strings.h |
+0 −0 raylib/external/glfw/src/CMakeFiles/glfw.dir/linux_joystick.c.o Binary files a/raylib/external/glfw/src/CMakeFiles/glfw.dir/linux_joystick.c.o and b/raylib/external/glfw/src/CMakeFiles/glfw.dir/linux_joystick.c.o differ
+38 −52 raylib/external/glfw/src/CMakeFiles/glfw.dir/linux_joystick.c.o.d
| @@ -17,64 +17,47 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/linux_joystick.c.o: \ | ||
| 17 | 17 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h \ |
| 18 | 18 | /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h \ |
| 19 | 19 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h \ |
| 20 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_platform.h \ | |
| 21 | - /usr/include/unistd.h /usr/include/bits/posix_opt.h \ | |
| 22 | - /usr/include/bits/environments.h /usr/include/bits/confname.h \ | |
| 23 | - /usr/include/bits/getopt_posix.h /usr/include/bits/getopt_core.h \ | |
| 24 | - /usr/include/bits/unistd_ext.h /usr/include/signal.h \ | |
| 25 | - /usr/include/bits/signum-generic.h /usr/include/bits/signum-arch.h \ | |
| 26 | - /usr/include/bits/types/sig_atomic_t.h \ | |
| 27 | - /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \ | |
| 28 | - /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 29 | - /usr/include/bits/endianness.h /usr/include/bits/types/time_t.h \ | |
| 30 | - /usr/include/bits/types/siginfo_t.h /usr/include/bits/types/__sigval_t.h \ | |
| 31 | - /usr/include/bits/siginfo-arch.h /usr/include/bits/siginfo-consts.h \ | |
| 32 | - /usr/include/bits/types/sigval_t.h /usr/include/bits/types/sigevent_t.h \ | |
| 33 | - /usr/include/bits/sigevent-consts.h /usr/include/bits/sigaction.h \ | |
| 34 | - /usr/include/bits/sigcontext.h /usr/include/bits/types/stack_t.h \ | |
| 35 | - /usr/include/sys/ucontext.h /usr/include/bits/sigstack.h \ | |
| 36 | - /usr/include/bits/sigstksz.h /usr/include/bits/ss_flags.h \ | |
| 37 | - /usr/include/bits/types/struct_sigstack.h \ | |
| 38 | - /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \ | |
| 39 | - /usr/include/bits/pthreadtypes-arch.h \ | |
| 40 | - /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 41 | - /usr/include/bits/struct_rwlock.h /usr/include/bits/sigthread.h \ | |
| 42 | - /usr/include/bits/signal_ext.h /usr/include/X11/Xlib.h \ | |
| 43 | - /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 44 | - /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 45 | - /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 46 | - /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \ | |
| 47 | - /usr/include/bits/select.h /usr/include/bits/types/struct_timeval.h \ | |
| 48 | - /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h \ | |
| 49 | - /usr/include/X11/Xosdefs.h /usr/include/X11/keysym.h \ | |
| 50 | - /usr/include/X11/keysymdef.h /usr/include/X11/Xatom.h \ | |
| 51 | - /usr/include/X11/Xresource.h /usr/include/X11/Xcursor/Xcursor.h \ | |
| 52 | - /usr/include/stdio.h \ | |
| 20 | + /home/fordon/projects/c/raylib/src/external/glfw/src/wl_platform.h \ | |
| 21 | + /usr/include/wayland-client-core.h /usr/include/wayland-util.h \ | |
| 22 | + /usr/include/math.h /usr/include/bits/math-vector.h \ | |
| 23 | + /usr/include/bits/libm-simd-decl-stubs.h /usr/include/bits/floatn.h \ | |
| 24 | + /usr/include/bits/floatn-common.h /usr/include/bits/flt-eval-method.h \ | |
| 25 | + /usr/include/bits/fp-logb.h /usr/include/bits/fp-fast.h \ | |
| 26 | + /usr/include/bits/mathcalls-macros.h \ | |
| 27 | + /usr/include/bits/mathcalls-helper-functions.h \ | |
| 28 | + /usr/include/bits/mathcalls.h /usr/include/inttypes.h \ | |
| 53 | 29 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h \ |
| 54 | - /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \ | |
| 30 | + /usr/include/wayland-version.h /usr/include/xkbcommon/xkbcommon.h \ | |
| 31 | + /usr/include/stdio.h /usr/include/bits/types/__fpos_t.h \ | |
| 32 | + /usr/include/bits/types/__mbstate_t.h \ | |
| 55 | 33 | /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \ |
| 56 | 34 | /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \ |
| 57 | 35 | /usr/include/bits/types/cookie_io_functions_t.h \ |
| 58 | - /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \ | |
| 59 | - /usr/include/bits/floatn-common.h /usr/include/X11/extensions/Xrandr.h \ | |
| 60 | - /usr/include/X11/extensions/randr.h \ | |
| 61 | - /usr/include/X11/extensions/Xrender.h /usr/include/X11/Xutil.h \ | |
| 62 | - /usr/include/X11/extensions/render.h /usr/include/X11/Xdefs.h \ | |
| 63 | - /usr/include/X11/XKBlib.h /usr/include/X11/extensions/XKBstr.h \ | |
| 64 | - /usr/include/X11/extensions/XKB.h /usr/include/X11/extensions/Xinerama.h \ | |
| 65 | - /usr/include/X11/extensions/XInput2.h /usr/include/X11/extensions/XI2.h \ | |
| 66 | - /usr/include/X11/extensions/Xge.h /usr/include/X11/extensions/Xfixes.h \ | |
| 67 | - /usr/include/X11/extensions/xfixeswire.h \ | |
| 68 | - /usr/include/X11/extensions/shape.h \ | |
| 69 | - /usr/include/X11/extensions/shapeconst.h \ | |
| 36 | + /usr/include/bits/stdio_lim.h /usr/include/xkbcommon/xkbcommon-names.h \ | |
| 37 | + /usr/include/xkbcommon/xkbcommon-keysyms.h \ | |
| 38 | + /usr/include/xkbcommon/xkbcommon-compat.h \ | |
| 39 | + /usr/include/xkbcommon/xkbcommon-compose.h \ | |
| 70 | 40 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h \ |
| 71 | 41 | /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h \ |
| 72 | 42 | /usr/include/linux/input.h /usr/include/sys/time.h \ |
| 73 | - /usr/include/sys/ioctl.h /usr/include/bits/ioctls.h \ | |
| 74 | - /usr/include/asm/ioctls.h /usr/include/asm-generic/ioctls.h \ | |
| 75 | - /usr/include/linux/ioctl.h /usr/include/asm/ioctl.h \ | |
| 76 | - /usr/include/asm-generic/ioctl.h /usr/include/bits/ioctl-types.h \ | |
| 77 | - /usr/include/sys/ttydefaults.h /usr/include/linux/types.h \ | |
| 43 | + /usr/include/bits/types/time_t.h \ | |
| 44 | + /usr/include/bits/types/struct_timeval.h /usr/include/sys/select.h \ | |
| 45 | + /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \ | |
| 46 | + /usr/include/bits/types/__sigset_t.h \ | |
| 47 | + /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 48 | + /usr/include/bits/endianness.h /usr/include/sys/ioctl.h \ | |
| 49 | + /usr/include/bits/ioctls.h /usr/include/asm/ioctls.h \ | |
| 50 | + /usr/include/asm-generic/ioctls.h /usr/include/linux/ioctl.h \ | |
| 51 | + /usr/include/asm/ioctl.h /usr/include/asm-generic/ioctl.h \ | |
| 52 | + /usr/include/bits/ioctl-types.h /usr/include/sys/ttydefaults.h \ | |
| 53 | + /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 54 | + /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 55 | + /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 56 | + /usr/include/bits/uintn-identity.h /usr/include/bits/pthreadtypes.h \ | |
| 57 | + /usr/include/bits/thread-shared-types.h \ | |
| 58 | + /usr/include/bits/pthreadtypes-arch.h \ | |
| 59 | + /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 60 | + /usr/include/bits/struct_rwlock.h /usr/include/linux/types.h \ | |
| 78 | 61 | /usr/include/asm/types.h /usr/include/asm-generic/types.h \ |
| 79 | 62 | /usr/include/asm-generic/int-ll64.h /usr/include/asm/bitsperlong.h \ |
| 80 | 63 | /usr/include/asm-generic/bitsperlong.h /usr/include/linux/posix_types.h \ |
| @@ -109,4 +92,7 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/linux_joystick.c.o: \ | ||
| 109 | 92 | /usr/include/bits/dirent_ext.h /usr/include/stdlib.h \ |
| 110 | 93 | /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ |
| 111 | 94 | /usr/include/alloca.h /usr/include/bits/stdlib-float.h \ |
| 112 | - /usr/include/string.h /usr/include/strings.h | |
| 95 | + /usr/include/string.h /usr/include/strings.h /usr/include/unistd.h \ | |
| 96 | + /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ | |
| 97 | + /usr/include/bits/confname.h /usr/include/bits/getopt_posix.h \ | |
| 98 | + /usr/include/bits/getopt_core.h /usr/include/bits/unistd_ext.h |
+35 −57 raylib/external/glfw/src/CMakeFiles/glfw.dir/monitor.c.o.d
| @@ -17,64 +17,47 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/monitor.c.o: \ | ||
| 17 | 17 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h \ |
| 18 | 18 | /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h \ |
| 19 | 19 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h \ |
| 20 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_platform.h \ | |
| 21 | - /usr/include/unistd.h /usr/include/bits/posix_opt.h \ | |
| 22 | - /usr/include/bits/environments.h /usr/include/bits/confname.h \ | |
| 23 | - /usr/include/bits/getopt_posix.h /usr/include/bits/getopt_core.h \ | |
| 24 | - /usr/include/bits/unistd_ext.h /usr/include/signal.h \ | |
| 25 | - /usr/include/bits/signum-generic.h /usr/include/bits/signum-arch.h \ | |
| 26 | - /usr/include/bits/types/sig_atomic_t.h \ | |
| 27 | - /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \ | |
| 28 | - /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 29 | - /usr/include/bits/endianness.h /usr/include/bits/types/time_t.h \ | |
| 30 | - /usr/include/bits/types/siginfo_t.h /usr/include/bits/types/__sigval_t.h \ | |
| 31 | - /usr/include/bits/siginfo-arch.h /usr/include/bits/siginfo-consts.h \ | |
| 32 | - /usr/include/bits/types/sigval_t.h /usr/include/bits/types/sigevent_t.h \ | |
| 33 | - /usr/include/bits/sigevent-consts.h /usr/include/bits/sigaction.h \ | |
| 34 | - /usr/include/bits/sigcontext.h /usr/include/bits/types/stack_t.h \ | |
| 35 | - /usr/include/sys/ucontext.h /usr/include/bits/sigstack.h \ | |
| 36 | - /usr/include/bits/sigstksz.h /usr/include/bits/ss_flags.h \ | |
| 37 | - /usr/include/bits/types/struct_sigstack.h \ | |
| 38 | - /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \ | |
| 39 | - /usr/include/bits/pthreadtypes-arch.h \ | |
| 40 | - /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 41 | - /usr/include/bits/struct_rwlock.h /usr/include/bits/sigthread.h \ | |
| 42 | - /usr/include/bits/signal_ext.h /usr/include/X11/Xlib.h \ | |
| 43 | - /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 44 | - /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 45 | - /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 46 | - /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \ | |
| 47 | - /usr/include/bits/select.h /usr/include/bits/types/struct_timeval.h \ | |
| 48 | - /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h \ | |
| 49 | - /usr/include/X11/Xosdefs.h /usr/include/X11/keysym.h \ | |
| 50 | - /usr/include/X11/keysymdef.h /usr/include/X11/Xatom.h \ | |
| 51 | - /usr/include/X11/Xresource.h /usr/include/X11/Xcursor/Xcursor.h \ | |
| 52 | - /usr/include/stdio.h \ | |
| 20 | + /home/fordon/projects/c/raylib/src/external/glfw/src/wl_platform.h \ | |
| 21 | + /usr/include/wayland-client-core.h /usr/include/wayland-util.h \ | |
| 22 | + /usr/include/math.h /usr/include/bits/math-vector.h \ | |
| 23 | + /usr/include/bits/libm-simd-decl-stubs.h /usr/include/bits/floatn.h \ | |
| 24 | + /usr/include/bits/floatn-common.h /usr/include/bits/flt-eval-method.h \ | |
| 25 | + /usr/include/bits/fp-logb.h /usr/include/bits/fp-fast.h \ | |
| 26 | + /usr/include/bits/mathcalls-macros.h \ | |
| 27 | + /usr/include/bits/mathcalls-helper-functions.h \ | |
| 28 | + /usr/include/bits/mathcalls.h /usr/include/inttypes.h \ | |
| 53 | 29 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h \ |
| 54 | - /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \ | |
| 30 | + /usr/include/wayland-version.h /usr/include/xkbcommon/xkbcommon.h \ | |
| 31 | + /usr/include/stdio.h /usr/include/bits/types/__fpos_t.h \ | |
| 32 | + /usr/include/bits/types/__mbstate_t.h \ | |
| 55 | 33 | /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \ |
| 56 | 34 | /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \ |
| 57 | 35 | /usr/include/bits/types/cookie_io_functions_t.h \ |
| 58 | - /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \ | |
| 59 | - /usr/include/bits/floatn-common.h /usr/include/X11/extensions/Xrandr.h \ | |
| 60 | - /usr/include/X11/extensions/randr.h \ | |
| 61 | - /usr/include/X11/extensions/Xrender.h /usr/include/X11/Xutil.h \ | |
| 62 | - /usr/include/X11/extensions/render.h /usr/include/X11/Xdefs.h \ | |
| 63 | - /usr/include/X11/XKBlib.h /usr/include/X11/extensions/XKBstr.h \ | |
| 64 | - /usr/include/X11/extensions/XKB.h /usr/include/X11/extensions/Xinerama.h \ | |
| 65 | - /usr/include/X11/extensions/XInput2.h /usr/include/X11/extensions/XI2.h \ | |
| 66 | - /usr/include/X11/extensions/Xge.h /usr/include/X11/extensions/Xfixes.h \ | |
| 67 | - /usr/include/X11/extensions/xfixeswire.h \ | |
| 68 | - /usr/include/X11/extensions/shape.h \ | |
| 69 | - /usr/include/X11/extensions/shapeconst.h \ | |
| 36 | + /usr/include/bits/stdio_lim.h /usr/include/xkbcommon/xkbcommon-names.h \ | |
| 37 | + /usr/include/xkbcommon/xkbcommon-keysyms.h \ | |
| 38 | + /usr/include/xkbcommon/xkbcommon-compat.h \ | |
| 39 | + /usr/include/xkbcommon/xkbcommon-compose.h \ | |
| 70 | 40 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h \ |
| 71 | 41 | /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h \ |
| 72 | 42 | /usr/include/linux/input.h /usr/include/sys/time.h \ |
| 73 | - /usr/include/sys/ioctl.h /usr/include/bits/ioctls.h \ | |
| 74 | - /usr/include/asm/ioctls.h /usr/include/asm-generic/ioctls.h \ | |
| 75 | - /usr/include/linux/ioctl.h /usr/include/asm/ioctl.h \ | |
| 76 | - /usr/include/asm-generic/ioctl.h /usr/include/bits/ioctl-types.h \ | |
| 77 | - /usr/include/sys/ttydefaults.h /usr/include/linux/types.h \ | |
| 43 | + /usr/include/bits/types/time_t.h \ | |
| 44 | + /usr/include/bits/types/struct_timeval.h /usr/include/sys/select.h \ | |
| 45 | + /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \ | |
| 46 | + /usr/include/bits/types/__sigset_t.h \ | |
| 47 | + /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 48 | + /usr/include/bits/endianness.h /usr/include/sys/ioctl.h \ | |
| 49 | + /usr/include/bits/ioctls.h /usr/include/asm/ioctls.h \ | |
| 50 | + /usr/include/asm-generic/ioctls.h /usr/include/linux/ioctl.h \ | |
| 51 | + /usr/include/asm/ioctl.h /usr/include/asm-generic/ioctl.h \ | |
| 52 | + /usr/include/bits/ioctl-types.h /usr/include/sys/ttydefaults.h \ | |
| 53 | + /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 54 | + /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 55 | + /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 56 | + /usr/include/bits/uintn-identity.h /usr/include/bits/pthreadtypes.h \ | |
| 57 | + /usr/include/bits/thread-shared-types.h \ | |
| 58 | + /usr/include/bits/pthreadtypes-arch.h \ | |
| 59 | + /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 60 | + /usr/include/bits/struct_rwlock.h /usr/include/linux/types.h \ | |
| 78 | 61 | /usr/include/asm/types.h /usr/include/asm-generic/types.h \ |
| 79 | 62 | /usr/include/asm-generic/int-ll64.h /usr/include/asm/bitsperlong.h \ |
| 80 | 63 | /usr/include/asm-generic/bitsperlong.h /usr/include/linux/posix_types.h \ |
| @@ -97,12 +80,7 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/monitor.c.o: \ | ||
| 97 | 80 | /home/fordon/projects/c/raylib/src/external/glfw/src/posix_poll.h \ |
| 98 | 81 | /usr/include/poll.h /usr/include/sys/poll.h /usr/include/bits/poll.h \ |
| 99 | 82 | /home/fordon/projects/c/raylib/src/external/glfw/src/../include/GLFW/glfw3native.h \ |
| 100 | - /usr/include/assert.h /usr/include/math.h \ | |
| 101 | - /usr/include/bits/math-vector.h /usr/include/bits/libm-simd-decl-stubs.h \ | |
| 102 | - /usr/include/bits/flt-eval-method.h /usr/include/bits/fp-logb.h \ | |
| 103 | - /usr/include/bits/fp-fast.h /usr/include/bits/mathcalls-macros.h \ | |
| 104 | - /usr/include/bits/mathcalls-helper-functions.h \ | |
| 105 | - /usr/include/bits/mathcalls.h \ | |
| 83 | + /usr/include/assert.h \ | |
| 106 | 84 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/float.h \ |
| 107 | 85 | /usr/include/string.h /usr/include/strings.h /usr/include/stdlib.h \ |
| 108 | 86 | /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ |
+0 −0 raylib/external/glfw/src/CMakeFiles/glfw.dir/null_init.c.o Binary files a/raylib/external/glfw/src/CMakeFiles/glfw.dir/null_init.c.o and b/raylib/external/glfw/src/CMakeFiles/glfw.dir/null_init.c.o differ
+34 −51 raylib/external/glfw/src/CMakeFiles/glfw.dir/null_init.c.o.d
| @@ -17,64 +17,47 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/null_init.c.o: \ | ||
| 17 | 17 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h \ |
| 18 | 18 | /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h \ |
| 19 | 19 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h \ |
| 20 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_platform.h \ | |
| 21 | - /usr/include/unistd.h /usr/include/bits/posix_opt.h \ | |
| 22 | - /usr/include/bits/environments.h /usr/include/bits/confname.h \ | |
| 23 | - /usr/include/bits/getopt_posix.h /usr/include/bits/getopt_core.h \ | |
| 24 | - /usr/include/bits/unistd_ext.h /usr/include/signal.h \ | |
| 25 | - /usr/include/bits/signum-generic.h /usr/include/bits/signum-arch.h \ | |
| 26 | - /usr/include/bits/types/sig_atomic_t.h \ | |
| 27 | - /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \ | |
| 28 | - /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 29 | - /usr/include/bits/endianness.h /usr/include/bits/types/time_t.h \ | |
| 30 | - /usr/include/bits/types/siginfo_t.h /usr/include/bits/types/__sigval_t.h \ | |
| 31 | - /usr/include/bits/siginfo-arch.h /usr/include/bits/siginfo-consts.h \ | |
| 32 | - /usr/include/bits/types/sigval_t.h /usr/include/bits/types/sigevent_t.h \ | |
| 33 | - /usr/include/bits/sigevent-consts.h /usr/include/bits/sigaction.h \ | |
| 34 | - /usr/include/bits/sigcontext.h /usr/include/bits/types/stack_t.h \ | |
| 35 | - /usr/include/sys/ucontext.h /usr/include/bits/sigstack.h \ | |
| 36 | - /usr/include/bits/sigstksz.h /usr/include/bits/ss_flags.h \ | |
| 37 | - /usr/include/bits/types/struct_sigstack.h \ | |
| 38 | - /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \ | |
| 39 | - /usr/include/bits/pthreadtypes-arch.h \ | |
| 40 | - /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 41 | - /usr/include/bits/struct_rwlock.h /usr/include/bits/sigthread.h \ | |
| 42 | - /usr/include/bits/signal_ext.h /usr/include/X11/Xlib.h \ | |
| 43 | - /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 44 | - /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 45 | - /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 46 | - /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \ | |
| 47 | - /usr/include/bits/select.h /usr/include/bits/types/struct_timeval.h \ | |
| 48 | - /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h \ | |
| 49 | - /usr/include/X11/Xosdefs.h /usr/include/X11/keysym.h \ | |
| 50 | - /usr/include/X11/keysymdef.h /usr/include/X11/Xatom.h \ | |
| 51 | - /usr/include/X11/Xresource.h /usr/include/X11/Xcursor/Xcursor.h \ | |
| 52 | - /usr/include/stdio.h \ | |
| 20 | + /home/fordon/projects/c/raylib/src/external/glfw/src/wl_platform.h \ | |
| 21 | + /usr/include/wayland-client-core.h /usr/include/wayland-util.h \ | |
| 22 | + /usr/include/math.h /usr/include/bits/math-vector.h \ | |
| 23 | + /usr/include/bits/libm-simd-decl-stubs.h /usr/include/bits/floatn.h \ | |
| 24 | + /usr/include/bits/floatn-common.h /usr/include/bits/flt-eval-method.h \ | |
| 25 | + /usr/include/bits/fp-logb.h /usr/include/bits/fp-fast.h \ | |
| 26 | + /usr/include/bits/mathcalls-macros.h \ | |
| 27 | + /usr/include/bits/mathcalls-helper-functions.h \ | |
| 28 | + /usr/include/bits/mathcalls.h /usr/include/inttypes.h \ | |
| 53 | 29 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h \ |
| 54 | - /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \ | |
| 30 | + /usr/include/wayland-version.h /usr/include/xkbcommon/xkbcommon.h \ | |
| 31 | + /usr/include/stdio.h /usr/include/bits/types/__fpos_t.h \ | |
| 32 | + /usr/include/bits/types/__mbstate_t.h \ | |
| 55 | 33 | /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \ |
| 56 | 34 | /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \ |
| 57 | 35 | /usr/include/bits/types/cookie_io_functions_t.h \ |
| 58 | - /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \ | |
| 59 | - /usr/include/bits/floatn-common.h /usr/include/X11/extensions/Xrandr.h \ | |
| 60 | - /usr/include/X11/extensions/randr.h \ | |
| 61 | - /usr/include/X11/extensions/Xrender.h /usr/include/X11/Xutil.h \ | |
| 62 | - /usr/include/X11/extensions/render.h /usr/include/X11/Xdefs.h \ | |
| 63 | - /usr/include/X11/XKBlib.h /usr/include/X11/extensions/XKBstr.h \ | |
| 64 | - /usr/include/X11/extensions/XKB.h /usr/include/X11/extensions/Xinerama.h \ | |
| 65 | - /usr/include/X11/extensions/XInput2.h /usr/include/X11/extensions/XI2.h \ | |
| 66 | - /usr/include/X11/extensions/Xge.h /usr/include/X11/extensions/Xfixes.h \ | |
| 67 | - /usr/include/X11/extensions/xfixeswire.h \ | |
| 68 | - /usr/include/X11/extensions/shape.h \ | |
| 69 | - /usr/include/X11/extensions/shapeconst.h \ | |
| 36 | + /usr/include/bits/stdio_lim.h /usr/include/xkbcommon/xkbcommon-names.h \ | |
| 37 | + /usr/include/xkbcommon/xkbcommon-keysyms.h \ | |
| 38 | + /usr/include/xkbcommon/xkbcommon-compat.h \ | |
| 39 | + /usr/include/xkbcommon/xkbcommon-compose.h \ | |
| 70 | 40 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h \ |
| 71 | 41 | /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h \ |
| 72 | 42 | /usr/include/linux/input.h /usr/include/sys/time.h \ |
| 73 | - /usr/include/sys/ioctl.h /usr/include/bits/ioctls.h \ | |
| 74 | - /usr/include/asm/ioctls.h /usr/include/asm-generic/ioctls.h \ | |
| 75 | - /usr/include/linux/ioctl.h /usr/include/asm/ioctl.h \ | |
| 76 | - /usr/include/asm-generic/ioctl.h /usr/include/bits/ioctl-types.h \ | |
| 77 | - /usr/include/sys/ttydefaults.h /usr/include/linux/types.h \ | |
| 43 | + /usr/include/bits/types/time_t.h \ | |
| 44 | + /usr/include/bits/types/struct_timeval.h /usr/include/sys/select.h \ | |
| 45 | + /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \ | |
| 46 | + /usr/include/bits/types/__sigset_t.h \ | |
| 47 | + /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 48 | + /usr/include/bits/endianness.h /usr/include/sys/ioctl.h \ | |
| 49 | + /usr/include/bits/ioctls.h /usr/include/asm/ioctls.h \ | |
| 50 | + /usr/include/asm-generic/ioctls.h /usr/include/linux/ioctl.h \ | |
| 51 | + /usr/include/asm/ioctl.h /usr/include/asm-generic/ioctl.h \ | |
| 52 | + /usr/include/bits/ioctl-types.h /usr/include/sys/ttydefaults.h \ | |
| 53 | + /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 54 | + /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 55 | + /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 56 | + /usr/include/bits/uintn-identity.h /usr/include/bits/pthreadtypes.h \ | |
| 57 | + /usr/include/bits/thread-shared-types.h \ | |
| 58 | + /usr/include/bits/pthreadtypes-arch.h \ | |
| 59 | + /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 60 | + /usr/include/bits/struct_rwlock.h /usr/include/linux/types.h \ | |
| 78 | 61 | /usr/include/asm/types.h /usr/include/asm-generic/types.h \ |
| 79 | 62 | /usr/include/asm-generic/int-ll64.h /usr/include/asm/bitsperlong.h \ |
| 80 | 63 | /usr/include/asm-generic/bitsperlong.h /usr/include/linux/posix_types.h \ |
+34 −51 raylib/external/glfw/src/CMakeFiles/glfw.dir/null_joystick.c.o.d Large diff collapsed, click to expand
| @@ -17,64 +17,47 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/null_joystick.c.o: \ | ||
| 17 | 17 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h \ |
| 18 | 18 | /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h \ |
| 19 | 19 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h \ |
| 20 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_platform.h \ | |
| 21 | - /usr/include/unistd.h /usr/include/bits/posix_opt.h \ | |
| 22 | - /usr/include/bits/environments.h /usr/include/bits/confname.h \ | |
| 23 | - /usr/include/bits/getopt_posix.h /usr/include/bits/getopt_core.h \ | |
| 24 | - /usr/include/bits/unistd_ext.h /usr/include/signal.h \ | |
| 25 | - /usr/include/bits/signum-generic.h /usr/include/bits/signum-arch.h \ | |
| 26 | - /usr/include/bits/types/sig_atomic_t.h \ | |
| 27 | - /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \ | |
| 28 | - /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 29 | - /usr/include/bits/endianness.h /usr/include/bits/types/time_t.h \ | |
| 30 | - /usr/include/bits/types/siginfo_t.h /usr/include/bits/types/__sigval_t.h \ | |
| 31 | - /usr/include/bits/siginfo-arch.h /usr/include/bits/siginfo-consts.h \ | |
| 32 | - /usr/include/bits/types/sigval_t.h /usr/include/bits/types/sigevent_t.h \ | |
| 33 | - /usr/include/bits/sigevent-consts.h /usr/include/bits/sigaction.h \ | |
| 34 | - /usr/include/bits/sigcontext.h /usr/include/bits/types/stack_t.h \ | |
| 35 | - /usr/include/sys/ucontext.h /usr/include/bits/sigstack.h \ | |
| 36 | - /usr/include/bits/sigstksz.h /usr/include/bits/ss_flags.h \ | |
| 37 | - /usr/include/bits/types/struct_sigstack.h \ | |
| 38 | - /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \ | |
| 39 | - /usr/include/bits/pthreadtypes-arch.h \ | |
| 40 | - /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 41 | - /usr/include/bits/struct_rwlock.h /usr/include/bits/sigthread.h \ | |
| 42 | - /usr/include/bits/signal_ext.h /usr/include/X11/Xlib.h \ | |
| 43 | - /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 44 | - /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 45 | - /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 46 | - /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \ | |
| 47 | - /usr/include/bits/select.h /usr/include/bits/types/struct_timeval.h \ | |
| 48 | - /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h \ | |
| 49 | - /usr/include/X11/Xosdefs.h /usr/include/X11/keysym.h \ | |
| 50 | - /usr/include/X11/keysymdef.h /usr/include/X11/Xatom.h \ | |
| 51 | - /usr/include/X11/Xresource.h /usr/include/X11/Xcursor/Xcursor.h \ | |
| 52 | - /usr/include/stdio.h \ | |
| 20 | + /home/fordon/projects/c/raylib/src/external/glfw/src/wl_platform.h \ | |
| 21 | + /usr/include/wayland-client-core.h /usr/include/wayland-util.h \ | |
| 22 | + /usr/include/math.h /usr/include/bits/math-vector.h \ | |
| 23 | + /usr/include/bits/libm-simd-decl-stubs.h /usr/include/bits/floatn.h \ | |
| 24 | + /usr/include/bits/floatn-common.h /usr/include/bits/flt-eval-method.h \ | |
| 25 | + /usr/include/bits/fp-logb.h /usr/include/bits/fp-fast.h \ | |
| 26 | + /usr/include/bits/mathcalls-macros.h \ | |
| 27 | + /usr/include/bits/mathcalls-helper-functions.h \ | |
| 28 | + /usr/include/bits/mathcalls.h /usr/include/inttypes.h \ | |
| 53 | 29 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h \ |
| 54 | - /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \ | |
| 30 | + /usr/include/wayland-version.h /usr/include/xkbcommon/xkbcommon.h \ | |
| 31 | + /usr/include/stdio.h /usr/include/bits/types/__fpos_t.h \ | |
| 32 | + /usr/include/bits/types/__mbstate_t.h \ | |
| 55 | 33 | /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \ |
| 56 | 34 | /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \ |
| 57 | 35 | /usr/include/bits/types/cookie_io_functions_t.h \ |
| 58 | - /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \ | |
| 59 | - /usr/include/bits/floatn-common.h /usr/include/X11/extensions/Xrandr.h \ | |
| 60 | - /usr/include/X11/extensions/randr.h \ | |
| 61 | - /usr/include/X11/extensions/Xrender.h /usr/include/X11/Xutil.h \ | |
| 62 | - /usr/include/X11/extensions/render.h /usr/include/X11/Xdefs.h \ | |
| 63 | - /usr/include/X11/XKBlib.h /usr/include/X11/extensions/XKBstr.h \ | |
| 64 | - /usr/include/X11/extensions/XKB.h /usr/include/X11/extensions/Xinerama.h \ | |
| 65 | - /usr/include/X11/extensions/XInput2.h /usr/include/X11/extensions/XI2.h \ | |
| 66 | - /usr/include/X11/extensions/Xge.h /usr/include/X11/extensions/Xfixes.h \ | |
| 67 | - /usr/include/X11/extensions/xfixeswire.h \ | |
| 68 | - /usr/include/X11/extensions/shape.h \ | |
| 69 | - /usr/include/X11/extensions/shapeconst.h \ | |
| 36 | + /usr/include/bits/stdio_lim.h /usr/include/xkbcommon/xkbcommon-names.h \ | |
| 37 | + /usr/include/xkbcommon/xkbcommon-keysyms.h \ | |
| 38 | + /usr/include/xkbcommon/xkbcommon-compat.h \ | |
| 39 | + /usr/include/xkbcommon/xkbcommon-compose.h \ | |
| 70 | 40 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h \ |
| 71 | 41 | /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h \ |
| 72 | 42 | /usr/include/linux/input.h /usr/include/sys/time.h \ |
| 73 | - /usr/include/sys/ioctl.h /usr/include/bits/ioctls.h \ | |
| 74 | - /usr/include/asm/ioctls.h /usr/include/asm-generic/ioctls.h \ | |
| 75 | - /usr/include/linux/ioctl.h /usr/include/asm/ioctl.h \ | |
| 76 | - /usr/include/asm-generic/ioctl.h /usr/include/bits/ioctl-types.h \ | |
| 77 | - /usr/include/sys/ttydefaults.h /usr/include/linux/types.h \ | |
| 43 | + /usr/include/bits/types/time_t.h \ | |
| 44 | + /usr/include/bits/types/struct_timeval.h /usr/include/sys/select.h \ | |
| 45 | + /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \ | |
| 46 | + /usr/include/bits/types/__sigset_t.h \ | |
| 47 | + /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 48 | + /usr/include/bits/endianness.h /usr/include/sys/ioctl.h \ | |
| 49 | + /usr/include/bits/ioctls.h /usr/include/asm/ioctls.h \ | |
| 50 | + /usr/include/asm-generic/ioctls.h /usr/include/linux/ioctl.h \ | |
| 51 | + /usr/include/asm/ioctl.h /usr/include/asm-generic/ioctl.h \ | |
| 52 | + /usr/include/bits/ioctl-types.h /usr/include/sys/ttydefaults.h \ | |
| 53 | + /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 54 | + /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 55 | + /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 56 | + /usr/include/bits/uintn-identity.h /usr/include/bits/pthreadtypes.h \ | |
| 57 | + /usr/include/bits/thread-shared-types.h \ | |
| 58 | + /usr/include/bits/pthreadtypes-arch.h \ | |
| 59 | + /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 60 | + /usr/include/bits/struct_rwlock.h /usr/include/linux/types.h \ | |
| 78 | 61 | /usr/include/asm/types.h /usr/include/asm-generic/types.h \ |
| 79 | 62 | /usr/include/asm-generic/int-ll64.h /usr/include/asm/bitsperlong.h \ |
| 80 | 63 | /usr/include/asm-generic/bitsperlong.h /usr/include/linux/posix_types.h \ |
+35 −57 raylib/external/glfw/src/CMakeFiles/glfw.dir/null_monitor.c.o.d Large diff collapsed, click to expand
| @@ -17,64 +17,47 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/null_monitor.c.o: \ | ||
| 17 | 17 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h \ |
| 18 | 18 | /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h \ |
| 19 | 19 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h \ |
| 20 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_platform.h \ | |
| 21 | - /usr/include/unistd.h /usr/include/bits/posix_opt.h \ | |
| 22 | - /usr/include/bits/environments.h /usr/include/bits/confname.h \ | |
| 23 | - /usr/include/bits/getopt_posix.h /usr/include/bits/getopt_core.h \ | |
| 24 | - /usr/include/bits/unistd_ext.h /usr/include/signal.h \ | |
| 25 | - /usr/include/bits/signum-generic.h /usr/include/bits/signum-arch.h \ | |
| 26 | - /usr/include/bits/types/sig_atomic_t.h \ | |
| 27 | - /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \ | |
| 28 | - /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 29 | - /usr/include/bits/endianness.h /usr/include/bits/types/time_t.h \ | |
| 30 | - /usr/include/bits/types/siginfo_t.h /usr/include/bits/types/__sigval_t.h \ | |
| 31 | - /usr/include/bits/siginfo-arch.h /usr/include/bits/siginfo-consts.h \ | |
| 32 | - /usr/include/bits/types/sigval_t.h /usr/include/bits/types/sigevent_t.h \ | |
| 33 | - /usr/include/bits/sigevent-consts.h /usr/include/bits/sigaction.h \ | |
| 34 | - /usr/include/bits/sigcontext.h /usr/include/bits/types/stack_t.h \ | |
| 35 | - /usr/include/sys/ucontext.h /usr/include/bits/sigstack.h \ | |
| 36 | - /usr/include/bits/sigstksz.h /usr/include/bits/ss_flags.h \ | |
| 37 | - /usr/include/bits/types/struct_sigstack.h \ | |
| 38 | - /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \ | |
| 39 | - /usr/include/bits/pthreadtypes-arch.h \ | |
| 40 | - /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 41 | - /usr/include/bits/struct_rwlock.h /usr/include/bits/sigthread.h \ | |
| 42 | - /usr/include/bits/signal_ext.h /usr/include/X11/Xlib.h \ | |
| 43 | - /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 44 | - /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 45 | - /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 46 | - /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \ | |
| 47 | - /usr/include/bits/select.h /usr/include/bits/types/struct_timeval.h \ | |
| 48 | - /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h \ | |
| 49 | - /usr/include/X11/Xosdefs.h /usr/include/X11/keysym.h \ | |
| 50 | - /usr/include/X11/keysymdef.h /usr/include/X11/Xatom.h \ | |
| 51 | - /usr/include/X11/Xresource.h /usr/include/X11/Xcursor/Xcursor.h \ | |
| 52 | - /usr/include/stdio.h \ | |
| 20 | + /home/fordon/projects/c/raylib/src/external/glfw/src/wl_platform.h \ | |
| 21 | + /usr/include/wayland-client-core.h /usr/include/wayland-util.h \ | |
| 22 | + /usr/include/math.h /usr/include/bits/math-vector.h \ | |
| 23 | + /usr/include/bits/libm-simd-decl-stubs.h /usr/include/bits/floatn.h \ | |
| 24 | + /usr/include/bits/floatn-common.h /usr/include/bits/flt-eval-method.h \ | |
| 25 | + /usr/include/bits/fp-logb.h /usr/include/bits/fp-fast.h \ | |
| 26 | + /usr/include/bits/mathcalls-macros.h \ | |
| 27 | + /usr/include/bits/mathcalls-helper-functions.h \ | |
| 28 | + /usr/include/bits/mathcalls.h /usr/include/inttypes.h \ | |
| 53 | 29 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h \ |
| 54 | - /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \ | |
| 30 | + /usr/include/wayland-version.h /usr/include/xkbcommon/xkbcommon.h \ | |
| 31 | + /usr/include/stdio.h /usr/include/bits/types/__fpos_t.h \ | |
| 32 | + /usr/include/bits/types/__mbstate_t.h \ | |
| 55 | 33 | /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \ |
| 56 | 34 | /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \ |
| 57 | 35 | /usr/include/bits/types/cookie_io_functions_t.h \ |
| 58 | - /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \ | |
| 59 | - /usr/include/bits/floatn-common.h /usr/include/X11/extensions/Xrandr.h \ | |
| 60 | - /usr/include/X11/extensions/randr.h \ | |
| 61 | - /usr/include/X11/extensions/Xrender.h /usr/include/X11/Xutil.h \ | |
| 62 | - /usr/include/X11/extensions/render.h /usr/include/X11/Xdefs.h \ | |
| 63 | - /usr/include/X11/XKBlib.h /usr/include/X11/extensions/XKBstr.h \ | |
| 64 | - /usr/include/X11/extensions/XKB.h /usr/include/X11/extensions/Xinerama.h \ | |
| 65 | - /usr/include/X11/extensions/XInput2.h /usr/include/X11/extensions/XI2.h \ | |
| 66 | - /usr/include/X11/extensions/Xge.h /usr/include/X11/extensions/Xfixes.h \ | |
| 67 | - /usr/include/X11/extensions/xfixeswire.h \ | |
| 68 | - /usr/include/X11/extensions/shape.h \ | |
| 69 | - /usr/include/X11/extensions/shapeconst.h \ | |
| 36 | + /usr/include/bits/stdio_lim.h /usr/include/xkbcommon/xkbcommon-names.h \ | |
| 37 | + /usr/include/xkbcommon/xkbcommon-keysyms.h \ | |
| 38 | + /usr/include/xkbcommon/xkbcommon-compat.h \ | |
| 39 | + /usr/include/xkbcommon/xkbcommon-compose.h \ | |
| 70 | 40 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h \ |
| 71 | 41 | /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h \ |
| 72 | 42 | /usr/include/linux/input.h /usr/include/sys/time.h \ |
| 73 | - /usr/include/sys/ioctl.h /usr/include/bits/ioctls.h \ | |
| 74 | - /usr/include/asm/ioctls.h /usr/include/asm-generic/ioctls.h \ | |
| 75 | - /usr/include/linux/ioctl.h /usr/include/asm/ioctl.h \ | |
| 76 | - /usr/include/asm-generic/ioctl.h /usr/include/bits/ioctl-types.h \ | |
| 77 | - /usr/include/sys/ttydefaults.h /usr/include/linux/types.h \ | |
| 43 | + /usr/include/bits/types/time_t.h \ | |
| 44 | + /usr/include/bits/types/struct_timeval.h /usr/include/sys/select.h \ | |
| 45 | + /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \ | |
| 46 | + /usr/include/bits/types/__sigset_t.h \ | |
| 47 | + /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 48 | + /usr/include/bits/endianness.h /usr/include/sys/ioctl.h \ | |
| 49 | + /usr/include/bits/ioctls.h /usr/include/asm/ioctls.h \ | |
| 50 | + /usr/include/asm-generic/ioctls.h /usr/include/linux/ioctl.h \ | |
| 51 | + /usr/include/asm/ioctl.h /usr/include/asm-generic/ioctl.h \ | |
| 52 | + /usr/include/bits/ioctl-types.h /usr/include/sys/ttydefaults.h \ | |
| 53 | + /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 54 | + /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 55 | + /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 56 | + /usr/include/bits/uintn-identity.h /usr/include/bits/pthreadtypes.h \ | |
| 57 | + /usr/include/bits/thread-shared-types.h \ | |
| 58 | + /usr/include/bits/pthreadtypes-arch.h \ | |
| 59 | + /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 60 | + /usr/include/bits/struct_rwlock.h /usr/include/linux/types.h \ | |
| 78 | 61 | /usr/include/asm/types.h /usr/include/asm-generic/types.h \ |
| 79 | 62 | /usr/include/asm-generic/int-ll64.h /usr/include/asm/bitsperlong.h \ |
| 80 | 63 | /usr/include/asm-generic/bitsperlong.h /usr/include/linux/posix_types.h \ |
| @@ -100,9 +83,4 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/null_monitor.c.o: \ | ||
| 100 | 83 | /usr/include/stdlib.h /usr/include/bits/waitflags.h \ |
| 101 | 84 | /usr/include/bits/waitstatus.h /usr/include/alloca.h \ |
| 102 | 85 | /usr/include/bits/stdlib-float.h /usr/include/string.h \ |
| 103 | - /usr/include/strings.h /usr/include/math.h \ | |
| 104 | - /usr/include/bits/math-vector.h /usr/include/bits/libm-simd-decl-stubs.h \ | |
| 105 | - /usr/include/bits/flt-eval-method.h /usr/include/bits/fp-logb.h \ | |
| 106 | - /usr/include/bits/fp-fast.h /usr/include/bits/mathcalls-macros.h \ | |
| 107 | - /usr/include/bits/mathcalls-helper-functions.h \ | |
| 108 | - /usr/include/bits/mathcalls.h | |
| 86 | + /usr/include/strings.h |
+0 −0 raylib/external/glfw/src/CMakeFiles/glfw.dir/null_window.c.o Binary files a/raylib/external/glfw/src/CMakeFiles/glfw.dir/null_window.c.o and b/raylib/external/glfw/src/CMakeFiles/glfw.dir/null_window.c.o differ Large diff collapsed, click to expand
+34 −51 raylib/external/glfw/src/CMakeFiles/glfw.dir/null_window.c.o.d Large diff collapsed, click to expand
| @@ -17,64 +17,47 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/null_window.c.o: \ | ||
| 17 | 17 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h \ |
| 18 | 18 | /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h \ |
| 19 | 19 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h \ |
| 20 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_platform.h \ | |
| 21 | - /usr/include/unistd.h /usr/include/bits/posix_opt.h \ | |
| 22 | - /usr/include/bits/environments.h /usr/include/bits/confname.h \ | |
| 23 | - /usr/include/bits/getopt_posix.h /usr/include/bits/getopt_core.h \ | |
| 24 | - /usr/include/bits/unistd_ext.h /usr/include/signal.h \ | |
| 25 | - /usr/include/bits/signum-generic.h /usr/include/bits/signum-arch.h \ | |
| 26 | - /usr/include/bits/types/sig_atomic_t.h \ | |
| 27 | - /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \ | |
| 28 | - /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 29 | - /usr/include/bits/endianness.h /usr/include/bits/types/time_t.h \ | |
| 30 | - /usr/include/bits/types/siginfo_t.h /usr/include/bits/types/__sigval_t.h \ | |
| 31 | - /usr/include/bits/siginfo-arch.h /usr/include/bits/siginfo-consts.h \ | |
| 32 | - /usr/include/bits/types/sigval_t.h /usr/include/bits/types/sigevent_t.h \ | |
| 33 | - /usr/include/bits/sigevent-consts.h /usr/include/bits/sigaction.h \ | |
| 34 | - /usr/include/bits/sigcontext.h /usr/include/bits/types/stack_t.h \ | |
| 35 | - /usr/include/sys/ucontext.h /usr/include/bits/sigstack.h \ | |
| 36 | - /usr/include/bits/sigstksz.h /usr/include/bits/ss_flags.h \ | |
| 37 | - /usr/include/bits/types/struct_sigstack.h \ | |
| 38 | - /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \ | |
| 39 | - /usr/include/bits/pthreadtypes-arch.h \ | |
| 40 | - /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 41 | - /usr/include/bits/struct_rwlock.h /usr/include/bits/sigthread.h \ | |
| 42 | - /usr/include/bits/signal_ext.h /usr/include/X11/Xlib.h \ | |
| 43 | - /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 44 | - /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 45 | - /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 46 | - /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \ | |
| 47 | - /usr/include/bits/select.h /usr/include/bits/types/struct_timeval.h \ | |
| 48 | - /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h \ | |
| 49 | - /usr/include/X11/Xosdefs.h /usr/include/X11/keysym.h \ | |
| 50 | - /usr/include/X11/keysymdef.h /usr/include/X11/Xatom.h \ | |
| 51 | - /usr/include/X11/Xresource.h /usr/include/X11/Xcursor/Xcursor.h \ | |
| 52 | - /usr/include/stdio.h \ | |
| 20 | + /home/fordon/projects/c/raylib/src/external/glfw/src/wl_platform.h \ | |
| 21 | + /usr/include/wayland-client-core.h /usr/include/wayland-util.h \ | |
| 22 | + /usr/include/math.h /usr/include/bits/math-vector.h \ | |
| 23 | + /usr/include/bits/libm-simd-decl-stubs.h /usr/include/bits/floatn.h \ | |
| 24 | + /usr/include/bits/floatn-common.h /usr/include/bits/flt-eval-method.h \ | |
| 25 | + /usr/include/bits/fp-logb.h /usr/include/bits/fp-fast.h \ | |
| 26 | + /usr/include/bits/mathcalls-macros.h \ | |
| 27 | + /usr/include/bits/mathcalls-helper-functions.h \ | |
| 28 | + /usr/include/bits/mathcalls.h /usr/include/inttypes.h \ | |
| 53 | 29 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h \ |
| 54 | - /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \ | |
| 30 | + /usr/include/wayland-version.h /usr/include/xkbcommon/xkbcommon.h \ | |
| 31 | + /usr/include/stdio.h /usr/include/bits/types/__fpos_t.h \ | |
| 32 | + /usr/include/bits/types/__mbstate_t.h \ | |
| 55 | 33 | /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \ |
| 56 | 34 | /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \ |
| 57 | 35 | /usr/include/bits/types/cookie_io_functions_t.h \ |
| 58 | - /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \ | |
| 59 | - /usr/include/bits/floatn-common.h /usr/include/X11/extensions/Xrandr.h \ | |
| 60 | - /usr/include/X11/extensions/randr.h \ | |
| 61 | - /usr/include/X11/extensions/Xrender.h /usr/include/X11/Xutil.h \ | |
| 62 | - /usr/include/X11/extensions/render.h /usr/include/X11/Xdefs.h \ | |
| 63 | - /usr/include/X11/XKBlib.h /usr/include/X11/extensions/XKBstr.h \ | |
| 64 | - /usr/include/X11/extensions/XKB.h /usr/include/X11/extensions/Xinerama.h \ | |
| 65 | - /usr/include/X11/extensions/XInput2.h /usr/include/X11/extensions/XI2.h \ | |
| 66 | - /usr/include/X11/extensions/Xge.h /usr/include/X11/extensions/Xfixes.h \ | |
| 67 | - /usr/include/X11/extensions/xfixeswire.h \ | |
| 68 | - /usr/include/X11/extensions/shape.h \ | |
| 69 | - /usr/include/X11/extensions/shapeconst.h \ | |
| 36 | + /usr/include/bits/stdio_lim.h /usr/include/xkbcommon/xkbcommon-names.h \ | |
| 37 | + /usr/include/xkbcommon/xkbcommon-keysyms.h \ | |
| 38 | + /usr/include/xkbcommon/xkbcommon-compat.h \ | |
| 39 | + /usr/include/xkbcommon/xkbcommon-compose.h \ | |
| 70 | 40 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h \ |
| 71 | 41 | /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h \ |
| 72 | 42 | /usr/include/linux/input.h /usr/include/sys/time.h \ |
| 73 | - /usr/include/sys/ioctl.h /usr/include/bits/ioctls.h \ | |
| 74 | - /usr/include/asm/ioctls.h /usr/include/asm-generic/ioctls.h \ | |
| 75 | - /usr/include/linux/ioctl.h /usr/include/asm/ioctl.h \ | |
| 76 | - /usr/include/asm-generic/ioctl.h /usr/include/bits/ioctl-types.h \ | |
| 77 | - /usr/include/sys/ttydefaults.h /usr/include/linux/types.h \ | |
| 43 | + /usr/include/bits/types/time_t.h \ | |
| 44 | + /usr/include/bits/types/struct_timeval.h /usr/include/sys/select.h \ | |
| 45 | + /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \ | |
| 46 | + /usr/include/bits/types/__sigset_t.h \ | |
| 47 | + /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 48 | + /usr/include/bits/endianness.h /usr/include/sys/ioctl.h \ | |
| 49 | + /usr/include/bits/ioctls.h /usr/include/asm/ioctls.h \ | |
| 50 | + /usr/include/asm-generic/ioctls.h /usr/include/linux/ioctl.h \ | |
| 51 | + /usr/include/asm/ioctl.h /usr/include/asm-generic/ioctl.h \ | |
| 52 | + /usr/include/bits/ioctl-types.h /usr/include/sys/ttydefaults.h \ | |
| 53 | + /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 54 | + /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 55 | + /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 56 | + /usr/include/bits/uintn-identity.h /usr/include/bits/pthreadtypes.h \ | |
| 57 | + /usr/include/bits/thread-shared-types.h \ | |
| 58 | + /usr/include/bits/pthreadtypes-arch.h \ | |
| 59 | + /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 60 | + /usr/include/bits/struct_rwlock.h /usr/include/linux/types.h \ | |
| 78 | 61 | /usr/include/asm/types.h /usr/include/asm-generic/types.h \ |
| 79 | 62 | /usr/include/asm-generic/int-ll64.h /usr/include/asm/bitsperlong.h \ |
| 80 | 63 | /usr/include/asm-generic/bitsperlong.h /usr/include/linux/posix_types.h \ |
+34 −51 raylib/external/glfw/src/CMakeFiles/glfw.dir/osmesa_context.c.o.d Large diff collapsed, click to expand
| @@ -17,64 +17,47 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/osmesa_context.c.o: \ | ||
| 17 | 17 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h \ |
| 18 | 18 | /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h \ |
| 19 | 19 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h \ |
| 20 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_platform.h \ | |
| 21 | - /usr/include/unistd.h /usr/include/bits/posix_opt.h \ | |
| 22 | - /usr/include/bits/environments.h /usr/include/bits/confname.h \ | |
| 23 | - /usr/include/bits/getopt_posix.h /usr/include/bits/getopt_core.h \ | |
| 24 | - /usr/include/bits/unistd_ext.h /usr/include/signal.h \ | |
| 25 | - /usr/include/bits/signum-generic.h /usr/include/bits/signum-arch.h \ | |
| 26 | - /usr/include/bits/types/sig_atomic_t.h \ | |
| 27 | - /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \ | |
| 28 | - /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 29 | - /usr/include/bits/endianness.h /usr/include/bits/types/time_t.h \ | |
| 30 | - /usr/include/bits/types/siginfo_t.h /usr/include/bits/types/__sigval_t.h \ | |
| 31 | - /usr/include/bits/siginfo-arch.h /usr/include/bits/siginfo-consts.h \ | |
| 32 | - /usr/include/bits/types/sigval_t.h /usr/include/bits/types/sigevent_t.h \ | |
| 33 | - /usr/include/bits/sigevent-consts.h /usr/include/bits/sigaction.h \ | |
| 34 | - /usr/include/bits/sigcontext.h /usr/include/bits/types/stack_t.h \ | |
| 35 | - /usr/include/sys/ucontext.h /usr/include/bits/sigstack.h \ | |
| 36 | - /usr/include/bits/sigstksz.h /usr/include/bits/ss_flags.h \ | |
| 37 | - /usr/include/bits/types/struct_sigstack.h \ | |
| 38 | - /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \ | |
| 39 | - /usr/include/bits/pthreadtypes-arch.h \ | |
| 40 | - /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 41 | - /usr/include/bits/struct_rwlock.h /usr/include/bits/sigthread.h \ | |
| 42 | - /usr/include/bits/signal_ext.h /usr/include/X11/Xlib.h \ | |
| 43 | - /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 44 | - /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 45 | - /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 46 | - /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \ | |
| 47 | - /usr/include/bits/select.h /usr/include/bits/types/struct_timeval.h \ | |
| 48 | - /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h \ | |
| 49 | - /usr/include/X11/Xosdefs.h /usr/include/X11/keysym.h \ | |
| 50 | - /usr/include/X11/keysymdef.h /usr/include/X11/Xatom.h \ | |
| 51 | - /usr/include/X11/Xresource.h /usr/include/X11/Xcursor/Xcursor.h \ | |
| 52 | - /usr/include/stdio.h \ | |
| 20 | + /home/fordon/projects/c/raylib/src/external/glfw/src/wl_platform.h \ | |
| 21 | + /usr/include/wayland-client-core.h /usr/include/wayland-util.h \ | |
| 22 | + /usr/include/math.h /usr/include/bits/math-vector.h \ | |
| 23 | + /usr/include/bits/libm-simd-decl-stubs.h /usr/include/bits/floatn.h \ | |
| 24 | + /usr/include/bits/floatn-common.h /usr/include/bits/flt-eval-method.h \ | |
| 25 | + /usr/include/bits/fp-logb.h /usr/include/bits/fp-fast.h \ | |
| 26 | + /usr/include/bits/mathcalls-macros.h \ | |
| 27 | + /usr/include/bits/mathcalls-helper-functions.h \ | |
| 28 | + /usr/include/bits/mathcalls.h /usr/include/inttypes.h \ | |
| 53 | 29 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h \ |
| 54 | - /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \ | |
| 30 | + /usr/include/wayland-version.h /usr/include/xkbcommon/xkbcommon.h \ | |
| 31 | + /usr/include/stdio.h /usr/include/bits/types/__fpos_t.h \ | |
| 32 | + /usr/include/bits/types/__mbstate_t.h \ | |
| 55 | 33 | /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \ |
| 56 | 34 | /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \ |
| 57 | 35 | /usr/include/bits/types/cookie_io_functions_t.h \ |
| 58 | - /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \ | |
| 59 | - /usr/include/bits/floatn-common.h /usr/include/X11/extensions/Xrandr.h \ | |
| 60 | - /usr/include/X11/extensions/randr.h \ | |
| 61 | - /usr/include/X11/extensions/Xrender.h /usr/include/X11/Xutil.h \ | |
| 62 | - /usr/include/X11/extensions/render.h /usr/include/X11/Xdefs.h \ | |
| 63 | - /usr/include/X11/XKBlib.h /usr/include/X11/extensions/XKBstr.h \ | |
| 64 | - /usr/include/X11/extensions/XKB.h /usr/include/X11/extensions/Xinerama.h \ | |
| 65 | - /usr/include/X11/extensions/XInput2.h /usr/include/X11/extensions/XI2.h \ | |
| 66 | - /usr/include/X11/extensions/Xge.h /usr/include/X11/extensions/Xfixes.h \ | |
| 67 | - /usr/include/X11/extensions/xfixeswire.h \ | |
| 68 | - /usr/include/X11/extensions/shape.h \ | |
| 69 | - /usr/include/X11/extensions/shapeconst.h \ | |
| 36 | + /usr/include/bits/stdio_lim.h /usr/include/xkbcommon/xkbcommon-names.h \ | |
| 37 | + /usr/include/xkbcommon/xkbcommon-keysyms.h \ | |
| 38 | + /usr/include/xkbcommon/xkbcommon-compat.h \ | |
| 39 | + /usr/include/xkbcommon/xkbcommon-compose.h \ | |
| 70 | 40 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h \ |
| 71 | 41 | /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h \ |
| 72 | 42 | /usr/include/linux/input.h /usr/include/sys/time.h \ |
| 73 | - /usr/include/sys/ioctl.h /usr/include/bits/ioctls.h \ | |
| 74 | - /usr/include/asm/ioctls.h /usr/include/asm-generic/ioctls.h \ | |
| 75 | - /usr/include/linux/ioctl.h /usr/include/asm/ioctl.h \ | |
| 76 | - /usr/include/asm-generic/ioctl.h /usr/include/bits/ioctl-types.h \ | |
| 77 | - /usr/include/sys/ttydefaults.h /usr/include/linux/types.h \ | |
| 43 | + /usr/include/bits/types/time_t.h \ | |
| 44 | + /usr/include/bits/types/struct_timeval.h /usr/include/sys/select.h \ | |
| 45 | + /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \ | |
| 46 | + /usr/include/bits/types/__sigset_t.h \ | |
| 47 | + /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 48 | + /usr/include/bits/endianness.h /usr/include/sys/ioctl.h \ | |
| 49 | + /usr/include/bits/ioctls.h /usr/include/asm/ioctls.h \ | |
| 50 | + /usr/include/asm-generic/ioctls.h /usr/include/linux/ioctl.h \ | |
| 51 | + /usr/include/asm/ioctl.h /usr/include/asm-generic/ioctl.h \ | |
| 52 | + /usr/include/bits/ioctl-types.h /usr/include/sys/ttydefaults.h \ | |
| 53 | + /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 54 | + /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 55 | + /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 56 | + /usr/include/bits/uintn-identity.h /usr/include/bits/pthreadtypes.h \ | |
| 57 | + /usr/include/bits/thread-shared-types.h \ | |
| 58 | + /usr/include/bits/pthreadtypes-arch.h \ | |
| 59 | + /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 60 | + /usr/include/bits/struct_rwlock.h /usr/include/linux/types.h \ | |
| 78 | 61 | /usr/include/asm/types.h /usr/include/asm-generic/types.h \ |
| 79 | 62 | /usr/include/asm-generic/int-ll64.h /usr/include/asm/bitsperlong.h \ |
| 80 | 63 | /usr/include/asm-generic/bitsperlong.h /usr/include/linux/posix_types.h \ |
+0 −0 raylib/external/glfw/src/CMakeFiles/glfw.dir/platform.c.o Binary files a/raylib/external/glfw/src/CMakeFiles/glfw.dir/platform.c.o and b/raylib/external/glfw/src/CMakeFiles/glfw.dir/platform.c.o differ Large diff collapsed, click to expand
+34 −51 raylib/external/glfw/src/CMakeFiles/glfw.dir/platform.c.o.d Large diff collapsed, click to expand
| @@ -17,64 +17,47 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/platform.c.o: \ | ||
| 17 | 17 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h \ |
| 18 | 18 | /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h \ |
| 19 | 19 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h \ |
| 20 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_platform.h \ | |
| 21 | - /usr/include/unistd.h /usr/include/bits/posix_opt.h \ | |
| 22 | - /usr/include/bits/environments.h /usr/include/bits/confname.h \ | |
| 23 | - /usr/include/bits/getopt_posix.h /usr/include/bits/getopt_core.h \ | |
| 24 | - /usr/include/bits/unistd_ext.h /usr/include/signal.h \ | |
| 25 | - /usr/include/bits/signum-generic.h /usr/include/bits/signum-arch.h \ | |
| 26 | - /usr/include/bits/types/sig_atomic_t.h \ | |
| 27 | - /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \ | |
| 28 | - /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 29 | - /usr/include/bits/endianness.h /usr/include/bits/types/time_t.h \ | |
| 30 | - /usr/include/bits/types/siginfo_t.h /usr/include/bits/types/__sigval_t.h \ | |
| 31 | - /usr/include/bits/siginfo-arch.h /usr/include/bits/siginfo-consts.h \ | |
| 32 | - /usr/include/bits/types/sigval_t.h /usr/include/bits/types/sigevent_t.h \ | |
| 33 | - /usr/include/bits/sigevent-consts.h /usr/include/bits/sigaction.h \ | |
| 34 | - /usr/include/bits/sigcontext.h /usr/include/bits/types/stack_t.h \ | |
| 35 | - /usr/include/sys/ucontext.h /usr/include/bits/sigstack.h \ | |
| 36 | - /usr/include/bits/sigstksz.h /usr/include/bits/ss_flags.h \ | |
| 37 | - /usr/include/bits/types/struct_sigstack.h \ | |
| 38 | - /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \ | |
| 39 | - /usr/include/bits/pthreadtypes-arch.h \ | |
| 40 | - /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 41 | - /usr/include/bits/struct_rwlock.h /usr/include/bits/sigthread.h \ | |
| 42 | - /usr/include/bits/signal_ext.h /usr/include/X11/Xlib.h \ | |
| 43 | - /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 44 | - /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 45 | - /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 46 | - /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \ | |
| 47 | - /usr/include/bits/select.h /usr/include/bits/types/struct_timeval.h \ | |
| 48 | - /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h \ | |
| 49 | - /usr/include/X11/Xosdefs.h /usr/include/X11/keysym.h \ | |
| 50 | - /usr/include/X11/keysymdef.h /usr/include/X11/Xatom.h \ | |
| 51 | - /usr/include/X11/Xresource.h /usr/include/X11/Xcursor/Xcursor.h \ | |
| 52 | - /usr/include/stdio.h \ | |
| 20 | + /home/fordon/projects/c/raylib/src/external/glfw/src/wl_platform.h \ | |
| 21 | + /usr/include/wayland-client-core.h /usr/include/wayland-util.h \ | |
| 22 | + /usr/include/math.h /usr/include/bits/math-vector.h \ | |
| 23 | + /usr/include/bits/libm-simd-decl-stubs.h /usr/include/bits/floatn.h \ | |
| 24 | + /usr/include/bits/floatn-common.h /usr/include/bits/flt-eval-method.h \ | |
| 25 | + /usr/include/bits/fp-logb.h /usr/include/bits/fp-fast.h \ | |
| 26 | + /usr/include/bits/mathcalls-macros.h \ | |
| 27 | + /usr/include/bits/mathcalls-helper-functions.h \ | |
| 28 | + /usr/include/bits/mathcalls.h /usr/include/inttypes.h \ | |
| 53 | 29 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h \ |
| 54 | - /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \ | |
| 30 | + /usr/include/wayland-version.h /usr/include/xkbcommon/xkbcommon.h \ | |
| 31 | + /usr/include/stdio.h /usr/include/bits/types/__fpos_t.h \ | |
| 32 | + /usr/include/bits/types/__mbstate_t.h \ | |
| 55 | 33 | /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \ |
| 56 | 34 | /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \ |
| 57 | 35 | /usr/include/bits/types/cookie_io_functions_t.h \ |
| 58 | - /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \ | |
| 59 | - /usr/include/bits/floatn-common.h /usr/include/X11/extensions/Xrandr.h \ | |
| 60 | - /usr/include/X11/extensions/randr.h \ | |
| 61 | - /usr/include/X11/extensions/Xrender.h /usr/include/X11/Xutil.h \ | |
| 62 | - /usr/include/X11/extensions/render.h /usr/include/X11/Xdefs.h \ | |
| 63 | - /usr/include/X11/XKBlib.h /usr/include/X11/extensions/XKBstr.h \ | |
| 64 | - /usr/include/X11/extensions/XKB.h /usr/include/X11/extensions/Xinerama.h \ | |
| 65 | - /usr/include/X11/extensions/XInput2.h /usr/include/X11/extensions/XI2.h \ | |
| 66 | - /usr/include/X11/extensions/Xge.h /usr/include/X11/extensions/Xfixes.h \ | |
| 67 | - /usr/include/X11/extensions/xfixeswire.h \ | |
| 68 | - /usr/include/X11/extensions/shape.h \ | |
| 69 | - /usr/include/X11/extensions/shapeconst.h \ | |
| 36 | + /usr/include/bits/stdio_lim.h /usr/include/xkbcommon/xkbcommon-names.h \ | |
| 37 | + /usr/include/xkbcommon/xkbcommon-keysyms.h \ | |
| 38 | + /usr/include/xkbcommon/xkbcommon-compat.h \ | |
| 39 | + /usr/include/xkbcommon/xkbcommon-compose.h \ | |
| 70 | 40 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h \ |
| 71 | 41 | /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h \ |
| 72 | 42 | /usr/include/linux/input.h /usr/include/sys/time.h \ |
| 73 | - /usr/include/sys/ioctl.h /usr/include/bits/ioctls.h \ | |
| 74 | - /usr/include/asm/ioctls.h /usr/include/asm-generic/ioctls.h \ | |
| 75 | - /usr/include/linux/ioctl.h /usr/include/asm/ioctl.h \ | |
| 76 | - /usr/include/asm-generic/ioctl.h /usr/include/bits/ioctl-types.h \ | |
| 77 | - /usr/include/sys/ttydefaults.h /usr/include/linux/types.h \ | |
| 43 | + /usr/include/bits/types/time_t.h \ | |
| 44 | + /usr/include/bits/types/struct_timeval.h /usr/include/sys/select.h \ | |
| 45 | + /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \ | |
| 46 | + /usr/include/bits/types/__sigset_t.h \ | |
| 47 | + /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 48 | + /usr/include/bits/endianness.h /usr/include/sys/ioctl.h \ | |
| 49 | + /usr/include/bits/ioctls.h /usr/include/asm/ioctls.h \ | |
| 50 | + /usr/include/asm-generic/ioctls.h /usr/include/linux/ioctl.h \ | |
| 51 | + /usr/include/asm/ioctl.h /usr/include/asm-generic/ioctl.h \ | |
| 52 | + /usr/include/bits/ioctl-types.h /usr/include/sys/ttydefaults.h \ | |
| 53 | + /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 54 | + /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 55 | + /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 56 | + /usr/include/bits/uintn-identity.h /usr/include/bits/pthreadtypes.h \ | |
| 57 | + /usr/include/bits/thread-shared-types.h \ | |
| 58 | + /usr/include/bits/pthreadtypes-arch.h \ | |
| 59 | + /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 60 | + /usr/include/bits/struct_rwlock.h /usr/include/linux/types.h \ | |
| 78 | 61 | /usr/include/asm/types.h /usr/include/asm-generic/types.h \ |
| 79 | 62 | /usr/include/asm-generic/int-ll64.h /usr/include/asm/bitsperlong.h \ |
| 80 | 63 | /usr/include/asm-generic/bitsperlong.h /usr/include/linux/posix_types.h \ |
+34 −51 raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_module.c.o.d Large diff collapsed, click to expand
| @@ -17,64 +17,47 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_module.c.o: \ | ||
| 17 | 17 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h \ |
| 18 | 18 | /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h \ |
| 19 | 19 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h \ |
| 20 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_platform.h \ | |
| 21 | - /usr/include/unistd.h /usr/include/bits/posix_opt.h \ | |
| 22 | - /usr/include/bits/environments.h /usr/include/bits/confname.h \ | |
| 23 | - /usr/include/bits/getopt_posix.h /usr/include/bits/getopt_core.h \ | |
| 24 | - /usr/include/bits/unistd_ext.h /usr/include/signal.h \ | |
| 25 | - /usr/include/bits/signum-generic.h /usr/include/bits/signum-arch.h \ | |
| 26 | - /usr/include/bits/types/sig_atomic_t.h \ | |
| 27 | - /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \ | |
| 28 | - /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 29 | - /usr/include/bits/endianness.h /usr/include/bits/types/time_t.h \ | |
| 30 | - /usr/include/bits/types/siginfo_t.h /usr/include/bits/types/__sigval_t.h \ | |
| 31 | - /usr/include/bits/siginfo-arch.h /usr/include/bits/siginfo-consts.h \ | |
| 32 | - /usr/include/bits/types/sigval_t.h /usr/include/bits/types/sigevent_t.h \ | |
| 33 | - /usr/include/bits/sigevent-consts.h /usr/include/bits/sigaction.h \ | |
| 34 | - /usr/include/bits/sigcontext.h /usr/include/bits/types/stack_t.h \ | |
| 35 | - /usr/include/sys/ucontext.h /usr/include/bits/sigstack.h \ | |
| 36 | - /usr/include/bits/sigstksz.h /usr/include/bits/ss_flags.h \ | |
| 37 | - /usr/include/bits/types/struct_sigstack.h \ | |
| 38 | - /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \ | |
| 39 | - /usr/include/bits/pthreadtypes-arch.h \ | |
| 40 | - /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 41 | - /usr/include/bits/struct_rwlock.h /usr/include/bits/sigthread.h \ | |
| 42 | - /usr/include/bits/signal_ext.h /usr/include/X11/Xlib.h \ | |
| 43 | - /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 44 | - /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 45 | - /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 46 | - /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \ | |
| 47 | - /usr/include/bits/select.h /usr/include/bits/types/struct_timeval.h \ | |
| 48 | - /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h \ | |
| 49 | - /usr/include/X11/Xosdefs.h /usr/include/X11/keysym.h \ | |
| 50 | - /usr/include/X11/keysymdef.h /usr/include/X11/Xatom.h \ | |
| 51 | - /usr/include/X11/Xresource.h /usr/include/X11/Xcursor/Xcursor.h \ | |
| 52 | - /usr/include/stdio.h \ | |
| 20 | + /home/fordon/projects/c/raylib/src/external/glfw/src/wl_platform.h \ | |
| 21 | + /usr/include/wayland-client-core.h /usr/include/wayland-util.h \ | |
| 22 | + /usr/include/math.h /usr/include/bits/math-vector.h \ | |
| 23 | + /usr/include/bits/libm-simd-decl-stubs.h /usr/include/bits/floatn.h \ | |
| 24 | + /usr/include/bits/floatn-common.h /usr/include/bits/flt-eval-method.h \ | |
| 25 | + /usr/include/bits/fp-logb.h /usr/include/bits/fp-fast.h \ | |
| 26 | + /usr/include/bits/mathcalls-macros.h \ | |
| 27 | + /usr/include/bits/mathcalls-helper-functions.h \ | |
| 28 | + /usr/include/bits/mathcalls.h /usr/include/inttypes.h \ | |
| 53 | 29 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h \ |
| 54 | - /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \ | |
| 30 | + /usr/include/wayland-version.h /usr/include/xkbcommon/xkbcommon.h \ | |
| 31 | + /usr/include/stdio.h /usr/include/bits/types/__fpos_t.h \ | |
| 32 | + /usr/include/bits/types/__mbstate_t.h \ | |
| 55 | 33 | /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \ |
| 56 | 34 | /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \ |
| 57 | 35 | /usr/include/bits/types/cookie_io_functions_t.h \ |
| 58 | - /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \ | |
| 59 | - /usr/include/bits/floatn-common.h /usr/include/X11/extensions/Xrandr.h \ | |
| 60 | - /usr/include/X11/extensions/randr.h \ | |
| 61 | - /usr/include/X11/extensions/Xrender.h /usr/include/X11/Xutil.h \ | |
| 62 | - /usr/include/X11/extensions/render.h /usr/include/X11/Xdefs.h \ | |
| 63 | - /usr/include/X11/XKBlib.h /usr/include/X11/extensions/XKBstr.h \ | |
| 64 | - /usr/include/X11/extensions/XKB.h /usr/include/X11/extensions/Xinerama.h \ | |
| 65 | - /usr/include/X11/extensions/XInput2.h /usr/include/X11/extensions/XI2.h \ | |
| 66 | - /usr/include/X11/extensions/Xge.h /usr/include/X11/extensions/Xfixes.h \ | |
| 67 | - /usr/include/X11/extensions/xfixeswire.h \ | |
| 68 | - /usr/include/X11/extensions/shape.h \ | |
| 69 | - /usr/include/X11/extensions/shapeconst.h \ | |
| 36 | + /usr/include/bits/stdio_lim.h /usr/include/xkbcommon/xkbcommon-names.h \ | |
| 37 | + /usr/include/xkbcommon/xkbcommon-keysyms.h \ | |
| 38 | + /usr/include/xkbcommon/xkbcommon-compat.h \ | |
| 39 | + /usr/include/xkbcommon/xkbcommon-compose.h \ | |
| 70 | 40 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h \ |
| 71 | 41 | /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h \ |
| 72 | 42 | /usr/include/linux/input.h /usr/include/sys/time.h \ |
| 73 | - /usr/include/sys/ioctl.h /usr/include/bits/ioctls.h \ | |
| 74 | - /usr/include/asm/ioctls.h /usr/include/asm-generic/ioctls.h \ | |
| 75 | - /usr/include/linux/ioctl.h /usr/include/asm/ioctl.h \ | |
| 76 | - /usr/include/asm-generic/ioctl.h /usr/include/bits/ioctl-types.h \ | |
| 77 | - /usr/include/sys/ttydefaults.h /usr/include/linux/types.h \ | |
| 43 | + /usr/include/bits/types/time_t.h \ | |
| 44 | + /usr/include/bits/types/struct_timeval.h /usr/include/sys/select.h \ | |
| 45 | + /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \ | |
| 46 | + /usr/include/bits/types/__sigset_t.h \ | |
| 47 | + /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 48 | + /usr/include/bits/endianness.h /usr/include/sys/ioctl.h \ | |
| 49 | + /usr/include/bits/ioctls.h /usr/include/asm/ioctls.h \ | |
| 50 | + /usr/include/asm-generic/ioctls.h /usr/include/linux/ioctl.h \ | |
| 51 | + /usr/include/asm/ioctl.h /usr/include/asm-generic/ioctl.h \ | |
| 52 | + /usr/include/bits/ioctl-types.h /usr/include/sys/ttydefaults.h \ | |
| 53 | + /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 54 | + /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 55 | + /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 56 | + /usr/include/bits/uintn-identity.h /usr/include/bits/pthreadtypes.h \ | |
| 57 | + /usr/include/bits/thread-shared-types.h \ | |
| 58 | + /usr/include/bits/pthreadtypes-arch.h \ | |
| 59 | + /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 60 | + /usr/include/bits/struct_rwlock.h /usr/include/linux/types.h \ | |
| 78 | 61 | /usr/include/asm/types.h /usr/include/asm-generic/types.h \ |
| 79 | 62 | /usr/include/asm-generic/int-ll64.h /usr/include/asm/bitsperlong.h \ |
| 80 | 63 | /usr/include/asm-generic/bitsperlong.h /usr/include/linux/posix_types.h \ |
+54 −56 raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_poll.c.o.d Large diff collapsed, click to expand
| @@ -17,65 +17,48 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_poll.c.o: \ | ||
| 17 | 17 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h \ |
| 18 | 18 | /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h \ |
| 19 | 19 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h \ |
| 20 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_platform.h \ | |
| 21 | - /usr/include/unistd.h /usr/include/bits/posix_opt.h \ | |
| 22 | - /usr/include/bits/environments.h /usr/include/bits/confname.h \ | |
| 23 | - /usr/include/bits/getopt_posix.h /usr/include/bits/getopt_core.h \ | |
| 24 | - /usr/include/bits/unistd_ext.h /usr/include/linux/close_range.h \ | |
| 25 | - /usr/include/signal.h /usr/include/bits/signum-generic.h \ | |
| 26 | - /usr/include/bits/signum-arch.h /usr/include/bits/types/sig_atomic_t.h \ | |
| 27 | - /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \ | |
| 28 | - /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 29 | - /usr/include/bits/endianness.h /usr/include/bits/types/time_t.h \ | |
| 30 | - /usr/include/bits/types/siginfo_t.h /usr/include/bits/types/__sigval_t.h \ | |
| 31 | - /usr/include/bits/siginfo-arch.h /usr/include/bits/siginfo-consts.h \ | |
| 32 | - /usr/include/bits/siginfo-consts-arch.h \ | |
| 33 | - /usr/include/bits/types/sigval_t.h /usr/include/bits/types/sigevent_t.h \ | |
| 34 | - /usr/include/bits/sigevent-consts.h /usr/include/bits/sigaction.h \ | |
| 35 | - /usr/include/bits/sigcontext.h /usr/include/bits/types/stack_t.h \ | |
| 36 | - /usr/include/sys/ucontext.h /usr/include/bits/sigstack.h \ | |
| 37 | - /usr/include/bits/sigstksz.h /usr/include/bits/ss_flags.h \ | |
| 38 | - /usr/include/bits/types/struct_sigstack.h \ | |
| 39 | - /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \ | |
| 40 | - /usr/include/bits/pthreadtypes-arch.h \ | |
| 41 | - /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 42 | - /usr/include/bits/struct_rwlock.h /usr/include/bits/sigthread.h \ | |
| 43 | - /usr/include/bits/signal_ext.h /usr/include/X11/Xlib.h \ | |
| 44 | - /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 45 | - /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 46 | - /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 47 | - /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \ | |
| 48 | - /usr/include/bits/select.h /usr/include/bits/types/struct_timeval.h \ | |
| 49 | - /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h \ | |
| 50 | - /usr/include/X11/Xosdefs.h /usr/include/X11/keysym.h \ | |
| 51 | - /usr/include/X11/keysymdef.h /usr/include/X11/Xatom.h \ | |
| 52 | - /usr/include/X11/Xresource.h /usr/include/X11/Xcursor/Xcursor.h \ | |
| 53 | - /usr/include/stdio.h \ | |
| 20 | + /home/fordon/projects/c/raylib/src/external/glfw/src/wl_platform.h \ | |
| 21 | + /usr/include/wayland-client-core.h /usr/include/wayland-util.h \ | |
| 22 | + /usr/include/math.h /usr/include/bits/math-vector.h \ | |
| 23 | + /usr/include/bits/libm-simd-decl-stubs.h /usr/include/bits/floatn.h \ | |
| 24 | + /usr/include/bits/floatn-common.h /usr/include/bits/flt-eval-method.h \ | |
| 25 | + /usr/include/bits/fp-logb.h /usr/include/bits/fp-fast.h \ | |
| 26 | + /usr/include/bits/mathcalls-macros.h \ | |
| 27 | + /usr/include/bits/mathcalls-helper-functions.h \ | |
| 28 | + /usr/include/bits/mathcalls.h /usr/include/bits/mathcalls-narrow.h \ | |
| 29 | + /usr/include/bits/iscanonical.h /usr/include/inttypes.h \ | |
| 54 | 30 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h \ |
| 55 | - /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \ | |
| 31 | + /usr/include/wayland-version.h /usr/include/xkbcommon/xkbcommon.h \ | |
| 32 | + /usr/include/stdio.h /usr/include/bits/types/__fpos_t.h \ | |
| 33 | + /usr/include/bits/types/__mbstate_t.h \ | |
| 56 | 34 | /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \ |
| 57 | 35 | /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \ |
| 58 | 36 | /usr/include/bits/types/cookie_io_functions_t.h \ |
| 59 | - /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \ | |
| 60 | - /usr/include/bits/floatn-common.h /usr/include/X11/extensions/Xrandr.h \ | |
| 61 | - /usr/include/X11/extensions/randr.h \ | |
| 62 | - /usr/include/X11/extensions/Xrender.h /usr/include/X11/Xutil.h \ | |
| 63 | - /usr/include/X11/extensions/render.h /usr/include/X11/Xdefs.h \ | |
| 64 | - /usr/include/X11/XKBlib.h /usr/include/X11/extensions/XKBstr.h \ | |
| 65 | - /usr/include/X11/extensions/XKB.h /usr/include/X11/extensions/Xinerama.h \ | |
| 66 | - /usr/include/X11/extensions/XInput2.h /usr/include/X11/extensions/XI2.h \ | |
| 67 | - /usr/include/X11/extensions/Xge.h /usr/include/X11/extensions/Xfixes.h \ | |
| 68 | - /usr/include/X11/extensions/xfixeswire.h \ | |
| 69 | - /usr/include/X11/extensions/shape.h \ | |
| 70 | - /usr/include/X11/extensions/shapeconst.h \ | |
| 37 | + /usr/include/bits/stdio_lim.h /usr/include/xkbcommon/xkbcommon-names.h \ | |
| 38 | + /usr/include/xkbcommon/xkbcommon-keysyms.h \ | |
| 39 | + /usr/include/xkbcommon/xkbcommon-compat.h \ | |
| 40 | + /usr/include/xkbcommon/xkbcommon-compose.h \ | |
| 71 | 41 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h \ |
| 72 | 42 | /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h \ |
| 73 | 43 | /usr/include/linux/input.h /usr/include/sys/time.h \ |
| 74 | - /usr/include/sys/ioctl.h /usr/include/bits/ioctls.h \ | |
| 75 | - /usr/include/asm/ioctls.h /usr/include/asm-generic/ioctls.h \ | |
| 76 | - /usr/include/linux/ioctl.h /usr/include/asm/ioctl.h \ | |
| 77 | - /usr/include/asm-generic/ioctl.h /usr/include/bits/ioctl-types.h \ | |
| 78 | - /usr/include/sys/ttydefaults.h /usr/include/linux/types.h \ | |
| 44 | + /usr/include/bits/types/time_t.h \ | |
| 45 | + /usr/include/bits/types/struct_timeval.h /usr/include/sys/select.h \ | |
| 46 | + /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \ | |
| 47 | + /usr/include/bits/types/__sigset_t.h \ | |
| 48 | + /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 49 | + /usr/include/bits/endianness.h /usr/include/sys/ioctl.h \ | |
| 50 | + /usr/include/bits/ioctls.h /usr/include/asm/ioctls.h \ | |
| 51 | + /usr/include/asm-generic/ioctls.h /usr/include/linux/ioctl.h \ | |
| 52 | + /usr/include/asm/ioctl.h /usr/include/asm-generic/ioctl.h \ | |
| 53 | + /usr/include/bits/ioctl-types.h /usr/include/sys/ttydefaults.h \ | |
| 54 | + /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 55 | + /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 56 | + /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 57 | + /usr/include/bits/uintn-identity.h /usr/include/bits/pthreadtypes.h \ | |
| 58 | + /usr/include/bits/thread-shared-types.h \ | |
| 59 | + /usr/include/bits/pthreadtypes-arch.h \ | |
| 60 | + /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 61 | + /usr/include/bits/struct_rwlock.h /usr/include/linux/types.h \ | |
| 79 | 62 | /usr/include/asm/types.h /usr/include/asm-generic/types.h \ |
| 80 | 63 | /usr/include/asm-generic/int-ll64.h /usr/include/asm/bitsperlong.h \ |
| 81 | 64 | /usr/include/asm-generic/bitsperlong.h /usr/include/linux/posix_types.h \ |
| @@ -98,7 +81,22 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_poll.c.o: \ | ||
| 98 | 81 | /home/fordon/projects/c/raylib/src/external/glfw/src/posix_poll.h \ |
| 99 | 82 | /usr/include/poll.h /usr/include/sys/poll.h /usr/include/bits/poll.h \ |
| 100 | 83 | /home/fordon/projects/c/raylib/src/external/glfw/src/../include/GLFW/glfw3native.h \ |
| 101 | - /usr/include/errno.h /usr/include/bits/errno.h \ | |
| 102 | - /usr/include/linux/errno.h /usr/include/asm/errno.h \ | |
| 103 | - /usr/include/asm-generic/errno.h /usr/include/asm-generic/errno-base.h \ | |
| 104 | - /usr/include/bits/types/error_t.h | |
| 84 | + /usr/include/signal.h /usr/include/bits/signum-generic.h \ | |
| 85 | + /usr/include/bits/signum-arch.h /usr/include/bits/types/sig_atomic_t.h \ | |
| 86 | + /usr/include/bits/types/siginfo_t.h /usr/include/bits/types/__sigval_t.h \ | |
| 87 | + /usr/include/bits/siginfo-arch.h /usr/include/bits/siginfo-consts.h \ | |
| 88 | + /usr/include/bits/siginfo-consts-arch.h \ | |
| 89 | + /usr/include/bits/types/sigval_t.h /usr/include/bits/types/sigevent_t.h \ | |
| 90 | + /usr/include/bits/sigevent-consts.h /usr/include/bits/sigaction.h \ | |
| 91 | + /usr/include/bits/sigcontext.h /usr/include/bits/types/stack_t.h \ | |
| 92 | + /usr/include/sys/ucontext.h /usr/include/bits/sigstack.h \ | |
| 93 | + /usr/include/bits/sigstksz.h /usr/include/unistd.h \ | |
| 94 | + /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ | |
| 95 | + /usr/include/bits/confname.h /usr/include/bits/getopt_posix.h \ | |
| 96 | + /usr/include/bits/getopt_core.h /usr/include/bits/unistd_ext.h \ | |
| 97 | + /usr/include/linux/close_range.h /usr/include/bits/ss_flags.h \ | |
| 98 | + /usr/include/bits/types/struct_sigstack.h /usr/include/bits/sigthread.h \ | |
| 99 | + /usr/include/bits/signal_ext.h /usr/include/errno.h \ | |
| 100 | + /usr/include/bits/errno.h /usr/include/linux/errno.h \ | |
| 101 | + /usr/include/asm/errno.h /usr/include/asm-generic/errno.h \ | |
| 102 | + /usr/include/asm-generic/errno-base.h /usr/include/bits/types/error_t.h |
+34 −51 raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_thread.c.o.d Large diff collapsed, click to expand
| @@ -17,64 +17,47 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_thread.c.o: \ | ||
| 17 | 17 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h \ |
| 18 | 18 | /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h \ |
| 19 | 19 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h \ |
| 20 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_platform.h \ | |
| 21 | - /usr/include/unistd.h /usr/include/bits/posix_opt.h \ | |
| 22 | - /usr/include/bits/environments.h /usr/include/bits/confname.h \ | |
| 23 | - /usr/include/bits/getopt_posix.h /usr/include/bits/getopt_core.h \ | |
| 24 | - /usr/include/bits/unistd_ext.h /usr/include/signal.h \ | |
| 25 | - /usr/include/bits/signum-generic.h /usr/include/bits/signum-arch.h \ | |
| 26 | - /usr/include/bits/types/sig_atomic_t.h \ | |
| 27 | - /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \ | |
| 28 | - /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 29 | - /usr/include/bits/endianness.h /usr/include/bits/types/time_t.h \ | |
| 30 | - /usr/include/bits/types/siginfo_t.h /usr/include/bits/types/__sigval_t.h \ | |
| 31 | - /usr/include/bits/siginfo-arch.h /usr/include/bits/siginfo-consts.h \ | |
| 32 | - /usr/include/bits/types/sigval_t.h /usr/include/bits/types/sigevent_t.h \ | |
| 33 | - /usr/include/bits/sigevent-consts.h /usr/include/bits/sigaction.h \ | |
| 34 | - /usr/include/bits/sigcontext.h /usr/include/bits/types/stack_t.h \ | |
| 35 | - /usr/include/sys/ucontext.h /usr/include/bits/sigstack.h \ | |
| 36 | - /usr/include/bits/sigstksz.h /usr/include/bits/ss_flags.h \ | |
| 37 | - /usr/include/bits/types/struct_sigstack.h \ | |
| 38 | - /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \ | |
| 39 | - /usr/include/bits/pthreadtypes-arch.h \ | |
| 40 | - /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 41 | - /usr/include/bits/struct_rwlock.h /usr/include/bits/sigthread.h \ | |
| 42 | - /usr/include/bits/signal_ext.h /usr/include/X11/Xlib.h \ | |
| 43 | - /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 44 | - /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 45 | - /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 46 | - /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \ | |
| 47 | - /usr/include/bits/select.h /usr/include/bits/types/struct_timeval.h \ | |
| 48 | - /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h \ | |
| 49 | - /usr/include/X11/Xosdefs.h /usr/include/X11/keysym.h \ | |
| 50 | - /usr/include/X11/keysymdef.h /usr/include/X11/Xatom.h \ | |
| 51 | - /usr/include/X11/Xresource.h /usr/include/X11/Xcursor/Xcursor.h \ | |
| 52 | - /usr/include/stdio.h \ | |
| 20 | + /home/fordon/projects/c/raylib/src/external/glfw/src/wl_platform.h \ | |
| 21 | + /usr/include/wayland-client-core.h /usr/include/wayland-util.h \ | |
| 22 | + /usr/include/math.h /usr/include/bits/math-vector.h \ | |
| 23 | + /usr/include/bits/libm-simd-decl-stubs.h /usr/include/bits/floatn.h \ | |
| 24 | + /usr/include/bits/floatn-common.h /usr/include/bits/flt-eval-method.h \ | |
| 25 | + /usr/include/bits/fp-logb.h /usr/include/bits/fp-fast.h \ | |
| 26 | + /usr/include/bits/mathcalls-macros.h \ | |
| 27 | + /usr/include/bits/mathcalls-helper-functions.h \ | |
| 28 | + /usr/include/bits/mathcalls.h /usr/include/inttypes.h \ | |
| 53 | 29 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h \ |
| 54 | - /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \ | |
| 30 | + /usr/include/wayland-version.h /usr/include/xkbcommon/xkbcommon.h \ | |
| 31 | + /usr/include/stdio.h /usr/include/bits/types/__fpos_t.h \ | |
| 32 | + /usr/include/bits/types/__mbstate_t.h \ | |
| 55 | 33 | /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \ |
| 56 | 34 | /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \ |
| 57 | 35 | /usr/include/bits/types/cookie_io_functions_t.h \ |
| 58 | - /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \ | |
| 59 | - /usr/include/bits/floatn-common.h /usr/include/X11/extensions/Xrandr.h \ | |
| 60 | - /usr/include/X11/extensions/randr.h \ | |
| 61 | - /usr/include/X11/extensions/Xrender.h /usr/include/X11/Xutil.h \ | |
| 62 | - /usr/include/X11/extensions/render.h /usr/include/X11/Xdefs.h \ | |
| 63 | - /usr/include/X11/XKBlib.h /usr/include/X11/extensions/XKBstr.h \ | |
| 64 | - /usr/include/X11/extensions/XKB.h /usr/include/X11/extensions/Xinerama.h \ | |
| 65 | - /usr/include/X11/extensions/XInput2.h /usr/include/X11/extensions/XI2.h \ | |
| 66 | - /usr/include/X11/extensions/Xge.h /usr/include/X11/extensions/Xfixes.h \ | |
| 67 | - /usr/include/X11/extensions/xfixeswire.h \ | |
| 68 | - /usr/include/X11/extensions/shape.h \ | |
| 69 | - /usr/include/X11/extensions/shapeconst.h \ | |
| 36 | + /usr/include/bits/stdio_lim.h /usr/include/xkbcommon/xkbcommon-names.h \ | |
| 37 | + /usr/include/xkbcommon/xkbcommon-keysyms.h \ | |
| 38 | + /usr/include/xkbcommon/xkbcommon-compat.h \ | |
| 39 | + /usr/include/xkbcommon/xkbcommon-compose.h \ | |
| 70 | 40 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h \ |
| 71 | 41 | /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h \ |
| 72 | 42 | /usr/include/linux/input.h /usr/include/sys/time.h \ |
| 73 | - /usr/include/sys/ioctl.h /usr/include/bits/ioctls.h \ | |
| 74 | - /usr/include/asm/ioctls.h /usr/include/asm-generic/ioctls.h \ | |
| 75 | - /usr/include/linux/ioctl.h /usr/include/asm/ioctl.h \ | |
| 76 | - /usr/include/asm-generic/ioctl.h /usr/include/bits/ioctl-types.h \ | |
| 77 | - /usr/include/sys/ttydefaults.h /usr/include/linux/types.h \ | |
| 43 | + /usr/include/bits/types/time_t.h \ | |
| 44 | + /usr/include/bits/types/struct_timeval.h /usr/include/sys/select.h \ | |
| 45 | + /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \ | |
| 46 | + /usr/include/bits/types/__sigset_t.h \ | |
| 47 | + /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 48 | + /usr/include/bits/endianness.h /usr/include/sys/ioctl.h \ | |
| 49 | + /usr/include/bits/ioctls.h /usr/include/asm/ioctls.h \ | |
| 50 | + /usr/include/asm-generic/ioctls.h /usr/include/linux/ioctl.h \ | |
| 51 | + /usr/include/asm/ioctl.h /usr/include/asm-generic/ioctl.h \ | |
| 52 | + /usr/include/bits/ioctl-types.h /usr/include/sys/ttydefaults.h \ | |
| 53 | + /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 54 | + /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 55 | + /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 56 | + /usr/include/bits/uintn-identity.h /usr/include/bits/pthreadtypes.h \ | |
| 57 | + /usr/include/bits/thread-shared-types.h \ | |
| 58 | + /usr/include/bits/pthreadtypes-arch.h \ | |
| 59 | + /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 60 | + /usr/include/bits/struct_rwlock.h /usr/include/linux/types.h \ | |
| 78 | 61 | /usr/include/asm/types.h /usr/include/asm-generic/types.h \ |
| 79 | 62 | /usr/include/asm-generic/int-ll64.h /usr/include/asm/bitsperlong.h \ |
| 80 | 63 | /usr/include/asm-generic/bitsperlong.h /usr/include/linux/posix_types.h \ |
+39 −52 raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_time.c.o.d Large diff collapsed, click to expand
| @@ -17,64 +17,47 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_time.c.o: \ | ||
| 17 | 17 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h \ |
| 18 | 18 | /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h \ |
| 19 | 19 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h \ |
| 20 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_platform.h \ | |
| 21 | - /usr/include/unistd.h /usr/include/bits/posix_opt.h \ | |
| 22 | - /usr/include/bits/environments.h /usr/include/bits/confname.h \ | |
| 23 | - /usr/include/bits/getopt_posix.h /usr/include/bits/getopt_core.h \ | |
| 24 | - /usr/include/bits/unistd_ext.h /usr/include/signal.h \ | |
| 25 | - /usr/include/bits/signum-generic.h /usr/include/bits/signum-arch.h \ | |
| 26 | - /usr/include/bits/types/sig_atomic_t.h \ | |
| 27 | - /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \ | |
| 28 | - /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 29 | - /usr/include/bits/endianness.h /usr/include/bits/types/time_t.h \ | |
| 30 | - /usr/include/bits/types/siginfo_t.h /usr/include/bits/types/__sigval_t.h \ | |
| 31 | - /usr/include/bits/siginfo-arch.h /usr/include/bits/siginfo-consts.h \ | |
| 32 | - /usr/include/bits/types/sigval_t.h /usr/include/bits/types/sigevent_t.h \ | |
| 33 | - /usr/include/bits/sigevent-consts.h /usr/include/bits/sigaction.h \ | |
| 34 | - /usr/include/bits/sigcontext.h /usr/include/bits/types/stack_t.h \ | |
| 35 | - /usr/include/sys/ucontext.h /usr/include/bits/sigstack.h \ | |
| 36 | - /usr/include/bits/sigstksz.h /usr/include/bits/ss_flags.h \ | |
| 37 | - /usr/include/bits/types/struct_sigstack.h \ | |
| 38 | - /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \ | |
| 39 | - /usr/include/bits/pthreadtypes-arch.h \ | |
| 40 | - /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 41 | - /usr/include/bits/struct_rwlock.h /usr/include/bits/sigthread.h \ | |
| 42 | - /usr/include/bits/signal_ext.h /usr/include/X11/Xlib.h \ | |
| 43 | - /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 44 | - /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 45 | - /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 46 | - /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \ | |
| 47 | - /usr/include/bits/select.h /usr/include/bits/types/struct_timeval.h \ | |
| 48 | - /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h \ | |
| 49 | - /usr/include/X11/Xosdefs.h /usr/include/X11/keysym.h \ | |
| 50 | - /usr/include/X11/keysymdef.h /usr/include/X11/Xatom.h \ | |
| 51 | - /usr/include/X11/Xresource.h /usr/include/X11/Xcursor/Xcursor.h \ | |
| 52 | - /usr/include/stdio.h \ | |
| 20 | + /home/fordon/projects/c/raylib/src/external/glfw/src/wl_platform.h \ | |
| 21 | + /usr/include/wayland-client-core.h /usr/include/wayland-util.h \ | |
| 22 | + /usr/include/math.h /usr/include/bits/math-vector.h \ | |
| 23 | + /usr/include/bits/libm-simd-decl-stubs.h /usr/include/bits/floatn.h \ | |
| 24 | + /usr/include/bits/floatn-common.h /usr/include/bits/flt-eval-method.h \ | |
| 25 | + /usr/include/bits/fp-logb.h /usr/include/bits/fp-fast.h \ | |
| 26 | + /usr/include/bits/mathcalls-macros.h \ | |
| 27 | + /usr/include/bits/mathcalls-helper-functions.h \ | |
| 28 | + /usr/include/bits/mathcalls.h /usr/include/inttypes.h \ | |
| 53 | 29 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h \ |
| 54 | - /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \ | |
| 30 | + /usr/include/wayland-version.h /usr/include/xkbcommon/xkbcommon.h \ | |
| 31 | + /usr/include/stdio.h /usr/include/bits/types/__fpos_t.h \ | |
| 32 | + /usr/include/bits/types/__mbstate_t.h \ | |
| 55 | 33 | /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \ |
| 56 | 34 | /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \ |
| 57 | 35 | /usr/include/bits/types/cookie_io_functions_t.h \ |
| 58 | - /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \ | |
| 59 | - /usr/include/bits/floatn-common.h /usr/include/X11/extensions/Xrandr.h \ | |
| 60 | - /usr/include/X11/extensions/randr.h \ | |
| 61 | - /usr/include/X11/extensions/Xrender.h /usr/include/X11/Xutil.h \ | |
| 62 | - /usr/include/X11/extensions/render.h /usr/include/X11/Xdefs.h \ | |
| 63 | - /usr/include/X11/XKBlib.h /usr/include/X11/extensions/XKBstr.h \ | |
| 64 | - /usr/include/X11/extensions/XKB.h /usr/include/X11/extensions/Xinerama.h \ | |
| 65 | - /usr/include/X11/extensions/XInput2.h /usr/include/X11/extensions/XI2.h \ | |
| 66 | - /usr/include/X11/extensions/Xge.h /usr/include/X11/extensions/Xfixes.h \ | |
| 67 | - /usr/include/X11/extensions/xfixeswire.h \ | |
| 68 | - /usr/include/X11/extensions/shape.h \ | |
| 69 | - /usr/include/X11/extensions/shapeconst.h \ | |
| 36 | + /usr/include/bits/stdio_lim.h /usr/include/xkbcommon/xkbcommon-names.h \ | |
| 37 | + /usr/include/xkbcommon/xkbcommon-keysyms.h \ | |
| 38 | + /usr/include/xkbcommon/xkbcommon-compat.h \ | |
| 39 | + /usr/include/xkbcommon/xkbcommon-compose.h \ | |
| 70 | 40 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h \ |
| 71 | 41 | /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h \ |
| 72 | 42 | /usr/include/linux/input.h /usr/include/sys/time.h \ |
| 73 | - /usr/include/sys/ioctl.h /usr/include/bits/ioctls.h \ | |
| 74 | - /usr/include/asm/ioctls.h /usr/include/asm-generic/ioctls.h \ | |
| 75 | - /usr/include/linux/ioctl.h /usr/include/asm/ioctl.h \ | |
| 76 | - /usr/include/asm-generic/ioctl.h /usr/include/bits/ioctl-types.h \ | |
| 77 | - /usr/include/sys/ttydefaults.h /usr/include/linux/types.h \ | |
| 43 | + /usr/include/bits/types/time_t.h \ | |
| 44 | + /usr/include/bits/types/struct_timeval.h /usr/include/sys/select.h \ | |
| 45 | + /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \ | |
| 46 | + /usr/include/bits/types/__sigset_t.h \ | |
| 47 | + /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 48 | + /usr/include/bits/endianness.h /usr/include/sys/ioctl.h \ | |
| 49 | + /usr/include/bits/ioctls.h /usr/include/asm/ioctls.h \ | |
| 50 | + /usr/include/asm-generic/ioctls.h /usr/include/linux/ioctl.h \ | |
| 51 | + /usr/include/asm/ioctl.h /usr/include/asm-generic/ioctl.h \ | |
| 52 | + /usr/include/bits/ioctl-types.h /usr/include/sys/ttydefaults.h \ | |
| 53 | + /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 54 | + /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 55 | + /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 56 | + /usr/include/bits/uintn-identity.h /usr/include/bits/pthreadtypes.h \ | |
| 57 | + /usr/include/bits/thread-shared-types.h \ | |
| 58 | + /usr/include/bits/pthreadtypes-arch.h \ | |
| 59 | + /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 60 | + /usr/include/bits/struct_rwlock.h /usr/include/linux/types.h \ | |
| 78 | 61 | /usr/include/asm/types.h /usr/include/asm-generic/types.h \ |
| 79 | 62 | /usr/include/asm-generic/int-ll64.h /usr/include/asm/bitsperlong.h \ |
| 80 | 63 | /usr/include/asm-generic/bitsperlong.h /usr/include/linux/posix_types.h \ |
| @@ -96,4 +79,8 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/posix_time.c.o: \ | ||
| 96 | 79 | /home/fordon/projects/c/raylib/src/external/glfw/src/posix_time.h \ |
| 97 | 80 | /home/fordon/projects/c/raylib/src/external/glfw/src/posix_poll.h \ |
| 98 | 81 | /usr/include/poll.h /usr/include/sys/poll.h /usr/include/bits/poll.h \ |
| 99 | - /home/fordon/projects/c/raylib/src/external/glfw/src/../include/GLFW/glfw3native.h | |
| 82 | + /home/fordon/projects/c/raylib/src/external/glfw/src/../include/GLFW/glfw3native.h \ | |
| 83 | + /usr/include/unistd.h /usr/include/bits/posix_opt.h \ | |
| 84 | + /usr/include/bits/environments.h /usr/include/bits/confname.h \ | |
| 85 | + /usr/include/bits/getopt_posix.h /usr/include/bits/getopt_core.h \ | |
| 86 | + /usr/include/bits/unistd_ext.h |
+22 −6 raylib/external/glfw/src/CMakeFiles/glfw.dir/progress.make Large diff collapsed, click to expand
| @@ -1,24 +1,40 @@ | ||
| 1 | 1 | CMAKE_PROGRESS_1 = |
| 2 | -CMAKE_PROGRESS_2 = | |
| 3 | -CMAKE_PROGRESS_3 = 26 | |
| 2 | +CMAKE_PROGRESS_2 = 25 | |
| 3 | +CMAKE_PROGRESS_3 = | |
| 4 | 4 | CMAKE_PROGRESS_4 = |
| 5 | 5 | CMAKE_PROGRESS_5 = |
| 6 | 6 | CMAKE_PROGRESS_6 = |
| 7 | -CMAKE_PROGRESS_7 = 27 | |
| 7 | +CMAKE_PROGRESS_7 = 26 | |
| 8 | 8 | CMAKE_PROGRESS_8 = |
| 9 | 9 | CMAKE_PROGRESS_9 = |
| 10 | 10 | CMAKE_PROGRESS_10 = |
| 11 | 11 | CMAKE_PROGRESS_11 = |
| 12 | -CMAKE_PROGRESS_12 = 28 | |
| 12 | +CMAKE_PROGRESS_12 = 27 | |
| 13 | 13 | CMAKE_PROGRESS_13 = |
| 14 | 14 | CMAKE_PROGRESS_14 = |
| 15 | 15 | CMAKE_PROGRESS_15 = |
| 16 | 16 | CMAKE_PROGRESS_16 = |
| 17 | -CMAKE_PROGRESS_17 = 29 | |
| 17 | +CMAKE_PROGRESS_17 = 28 | |
| 18 | 18 | CMAKE_PROGRESS_18 = |
| 19 | 19 | CMAKE_PROGRESS_19 = |
| 20 | 20 | CMAKE_PROGRESS_20 = |
| 21 | 21 | CMAKE_PROGRESS_21 = |
| 22 | -CMAKE_PROGRESS_22 = 30 | |
| 22 | +CMAKE_PROGRESS_22 = 29 | |
| 23 | 23 | CMAKE_PROGRESS_23 = |
| 24 | +CMAKE_PROGRESS_24 = | |
| 25 | +CMAKE_PROGRESS_25 = | |
| 26 | +CMAKE_PROGRESS_26 = | |
| 27 | +CMAKE_PROGRESS_27 = 30 | |
| 28 | +CMAKE_PROGRESS_28 = | |
| 29 | +CMAKE_PROGRESS_29 = | |
| 30 | +CMAKE_PROGRESS_30 = | |
| 31 | +CMAKE_PROGRESS_31 = | |
| 32 | +CMAKE_PROGRESS_32 = 31 | |
| 33 | +CMAKE_PROGRESS_33 = | |
| 34 | +CMAKE_PROGRESS_34 = | |
| 35 | +CMAKE_PROGRESS_35 = | |
| 36 | +CMAKE_PROGRESS_36 = | |
| 37 | +CMAKE_PROGRESS_37 = 32 | |
| 38 | +CMAKE_PROGRESS_38 = | |
| 39 | +CMAKE_PROGRESS_39 = | |
| 24 | 40 |
+34 −51 raylib/external/glfw/src/CMakeFiles/glfw.dir/vulkan.c.o.d Large diff collapsed, click to expand
| @@ -17,64 +17,47 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/vulkan.c.o: \ | ||
| 17 | 17 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h \ |
| 18 | 18 | /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h \ |
| 19 | 19 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h \ |
| 20 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_platform.h \ | |
| 21 | - /usr/include/unistd.h /usr/include/bits/posix_opt.h \ | |
| 22 | - /usr/include/bits/environments.h /usr/include/bits/confname.h \ | |
| 23 | - /usr/include/bits/getopt_posix.h /usr/include/bits/getopt_core.h \ | |
| 24 | - /usr/include/bits/unistd_ext.h /usr/include/signal.h \ | |
| 25 | - /usr/include/bits/signum-generic.h /usr/include/bits/signum-arch.h \ | |
| 26 | - /usr/include/bits/types/sig_atomic_t.h \ | |
| 27 | - /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \ | |
| 28 | - /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 29 | - /usr/include/bits/endianness.h /usr/include/bits/types/time_t.h \ | |
| 30 | - /usr/include/bits/types/siginfo_t.h /usr/include/bits/types/__sigval_t.h \ | |
| 31 | - /usr/include/bits/siginfo-arch.h /usr/include/bits/siginfo-consts.h \ | |
| 32 | - /usr/include/bits/types/sigval_t.h /usr/include/bits/types/sigevent_t.h \ | |
| 33 | - /usr/include/bits/sigevent-consts.h /usr/include/bits/sigaction.h \ | |
| 34 | - /usr/include/bits/sigcontext.h /usr/include/bits/types/stack_t.h \ | |
| 35 | - /usr/include/sys/ucontext.h /usr/include/bits/sigstack.h \ | |
| 36 | - /usr/include/bits/sigstksz.h /usr/include/bits/ss_flags.h \ | |
| 37 | - /usr/include/bits/types/struct_sigstack.h \ | |
| 38 | - /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \ | |
| 39 | - /usr/include/bits/pthreadtypes-arch.h \ | |
| 40 | - /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 41 | - /usr/include/bits/struct_rwlock.h /usr/include/bits/sigthread.h \ | |
| 42 | - /usr/include/bits/signal_ext.h /usr/include/X11/Xlib.h \ | |
| 43 | - /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 44 | - /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 45 | - /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 46 | - /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \ | |
| 47 | - /usr/include/bits/select.h /usr/include/bits/types/struct_timeval.h \ | |
| 48 | - /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h \ | |
| 49 | - /usr/include/X11/Xosdefs.h /usr/include/X11/keysym.h \ | |
| 50 | - /usr/include/X11/keysymdef.h /usr/include/X11/Xatom.h \ | |
| 51 | - /usr/include/X11/Xresource.h /usr/include/X11/Xcursor/Xcursor.h \ | |
| 52 | - /usr/include/stdio.h \ | |
| 20 | + /home/fordon/projects/c/raylib/src/external/glfw/src/wl_platform.h \ | |
| 21 | + /usr/include/wayland-client-core.h /usr/include/wayland-util.h \ | |
| 22 | + /usr/include/math.h /usr/include/bits/math-vector.h \ | |
| 23 | + /usr/include/bits/libm-simd-decl-stubs.h /usr/include/bits/floatn.h \ | |
| 24 | + /usr/include/bits/floatn-common.h /usr/include/bits/flt-eval-method.h \ | |
| 25 | + /usr/include/bits/fp-logb.h /usr/include/bits/fp-fast.h \ | |
| 26 | + /usr/include/bits/mathcalls-macros.h \ | |
| 27 | + /usr/include/bits/mathcalls-helper-functions.h \ | |
| 28 | + /usr/include/bits/mathcalls.h /usr/include/inttypes.h \ | |
| 53 | 29 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h \ |
| 54 | - /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \ | |
| 30 | + /usr/include/wayland-version.h /usr/include/xkbcommon/xkbcommon.h \ | |
| 31 | + /usr/include/stdio.h /usr/include/bits/types/__fpos_t.h \ | |
| 32 | + /usr/include/bits/types/__mbstate_t.h \ | |
| 55 | 33 | /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \ |
| 56 | 34 | /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \ |
| 57 | 35 | /usr/include/bits/types/cookie_io_functions_t.h \ |
| 58 | - /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \ | |
| 59 | - /usr/include/bits/floatn-common.h /usr/include/X11/extensions/Xrandr.h \ | |
| 60 | - /usr/include/X11/extensions/randr.h \ | |
| 61 | - /usr/include/X11/extensions/Xrender.h /usr/include/X11/Xutil.h \ | |
| 62 | - /usr/include/X11/extensions/render.h /usr/include/X11/Xdefs.h \ | |
| 63 | - /usr/include/X11/XKBlib.h /usr/include/X11/extensions/XKBstr.h \ | |
| 64 | - /usr/include/X11/extensions/XKB.h /usr/include/X11/extensions/Xinerama.h \ | |
| 65 | - /usr/include/X11/extensions/XInput2.h /usr/include/X11/extensions/XI2.h \ | |
| 66 | - /usr/include/X11/extensions/Xge.h /usr/include/X11/extensions/Xfixes.h \ | |
| 67 | - /usr/include/X11/extensions/xfixeswire.h \ | |
| 68 | - /usr/include/X11/extensions/shape.h \ | |
| 69 | - /usr/include/X11/extensions/shapeconst.h \ | |
| 36 | + /usr/include/bits/stdio_lim.h /usr/include/xkbcommon/xkbcommon-names.h \ | |
| 37 | + /usr/include/xkbcommon/xkbcommon-keysyms.h \ | |
| 38 | + /usr/include/xkbcommon/xkbcommon-compat.h \ | |
| 39 | + /usr/include/xkbcommon/xkbcommon-compose.h \ | |
| 70 | 40 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h \ |
| 71 | 41 | /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h \ |
| 72 | 42 | /usr/include/linux/input.h /usr/include/sys/time.h \ |
| 73 | - /usr/include/sys/ioctl.h /usr/include/bits/ioctls.h \ | |
| 74 | - /usr/include/asm/ioctls.h /usr/include/asm-generic/ioctls.h \ | |
| 75 | - /usr/include/linux/ioctl.h /usr/include/asm/ioctl.h \ | |
| 76 | - /usr/include/asm-generic/ioctl.h /usr/include/bits/ioctl-types.h \ | |
| 77 | - /usr/include/sys/ttydefaults.h /usr/include/linux/types.h \ | |
| 43 | + /usr/include/bits/types/time_t.h \ | |
| 44 | + /usr/include/bits/types/struct_timeval.h /usr/include/sys/select.h \ | |
| 45 | + /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \ | |
| 46 | + /usr/include/bits/types/__sigset_t.h \ | |
| 47 | + /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 48 | + /usr/include/bits/endianness.h /usr/include/sys/ioctl.h \ | |
| 49 | + /usr/include/bits/ioctls.h /usr/include/asm/ioctls.h \ | |
| 50 | + /usr/include/asm-generic/ioctls.h /usr/include/linux/ioctl.h \ | |
| 51 | + /usr/include/asm/ioctl.h /usr/include/asm-generic/ioctl.h \ | |
| 52 | + /usr/include/bits/ioctl-types.h /usr/include/sys/ttydefaults.h \ | |
| 53 | + /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 54 | + /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 55 | + /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 56 | + /usr/include/bits/uintn-identity.h /usr/include/bits/pthreadtypes.h \ | |
| 57 | + /usr/include/bits/thread-shared-types.h \ | |
| 58 | + /usr/include/bits/pthreadtypes-arch.h \ | |
| 59 | + /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 60 | + /usr/include/bits/struct_rwlock.h /usr/include/linux/types.h \ | |
| 78 | 61 | /usr/include/asm/types.h /usr/include/asm-generic/types.h \ |
| 79 | 62 | /usr/include/asm-generic/int-ll64.h /usr/include/asm/bitsperlong.h \ |
| 80 | 63 | /usr/include/asm-generic/bitsperlong.h /usr/include/linux/posix_types.h \ |
+0 −0 raylib/external/glfw/src/CMakeFiles/glfw.dir/window.c.o Binary files a/raylib/external/glfw/src/CMakeFiles/glfw.dir/window.c.o and b/raylib/external/glfw/src/CMakeFiles/glfw.dir/window.c.o differ Large diff collapsed, click to expand
+35 −58 raylib/external/glfw/src/CMakeFiles/glfw.dir/window.c.o.d Large diff collapsed, click to expand
| @@ -17,64 +17,47 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/window.c.o: \ | ||
| 17 | 17 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h \ |
| 18 | 18 | /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h \ |
| 19 | 19 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h \ |
| 20 | - /home/fordon/projects/c/raylib/src/external/glfw/src/x11_platform.h \ | |
| 21 | - /usr/include/unistd.h /usr/include/bits/posix_opt.h \ | |
| 22 | - /usr/include/bits/environments.h /usr/include/bits/confname.h \ | |
| 23 | - /usr/include/bits/getopt_posix.h /usr/include/bits/getopt_core.h \ | |
| 24 | - /usr/include/bits/unistd_ext.h /usr/include/signal.h \ | |
| 25 | - /usr/include/bits/signum-generic.h /usr/include/bits/signum-arch.h \ | |
| 26 | - /usr/include/bits/types/sig_atomic_t.h \ | |
| 27 | - /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \ | |
| 28 | - /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 29 | - /usr/include/bits/endianness.h /usr/include/bits/types/time_t.h \ | |
| 30 | - /usr/include/bits/types/siginfo_t.h /usr/include/bits/types/__sigval_t.h \ | |
| 31 | - /usr/include/bits/siginfo-arch.h /usr/include/bits/siginfo-consts.h \ | |
| 32 | - /usr/include/bits/types/sigval_t.h /usr/include/bits/types/sigevent_t.h \ | |
| 33 | - /usr/include/bits/sigevent-consts.h /usr/include/bits/sigaction.h \ | |
| 34 | - /usr/include/bits/sigcontext.h /usr/include/bits/types/stack_t.h \ | |
| 35 | - /usr/include/sys/ucontext.h /usr/include/bits/sigstack.h \ | |
| 36 | - /usr/include/bits/sigstksz.h /usr/include/bits/ss_flags.h \ | |
| 37 | - /usr/include/bits/types/struct_sigstack.h \ | |
| 38 | - /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \ | |
| 39 | - /usr/include/bits/pthreadtypes-arch.h \ | |
| 40 | - /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 41 | - /usr/include/bits/struct_rwlock.h /usr/include/bits/sigthread.h \ | |
| 42 | - /usr/include/bits/signal_ext.h /usr/include/X11/Xlib.h \ | |
| 43 | - /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 44 | - /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 45 | - /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 46 | - /usr/include/bits/uintn-identity.h /usr/include/sys/select.h \ | |
| 47 | - /usr/include/bits/select.h /usr/include/bits/types/struct_timeval.h \ | |
| 48 | - /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h \ | |
| 49 | - /usr/include/X11/Xosdefs.h /usr/include/X11/keysym.h \ | |
| 50 | - /usr/include/X11/keysymdef.h /usr/include/X11/Xatom.h \ | |
| 51 | - /usr/include/X11/Xresource.h /usr/include/X11/Xcursor/Xcursor.h \ | |
| 52 | - /usr/include/stdio.h \ | |
| 20 | + /home/fordon/projects/c/raylib/src/external/glfw/src/wl_platform.h \ | |
| 21 | + /usr/include/wayland-client-core.h /usr/include/wayland-util.h \ | |
| 22 | + /usr/include/math.h /usr/include/bits/math-vector.h \ | |
| 23 | + /usr/include/bits/libm-simd-decl-stubs.h /usr/include/bits/floatn.h \ | |
| 24 | + /usr/include/bits/floatn-common.h /usr/include/bits/flt-eval-method.h \ | |
| 25 | + /usr/include/bits/fp-logb.h /usr/include/bits/fp-fast.h \ | |
| 26 | + /usr/include/bits/mathcalls-macros.h \ | |
| 27 | + /usr/include/bits/mathcalls-helper-functions.h \ | |
| 28 | + /usr/include/bits/mathcalls.h /usr/include/inttypes.h \ | |
| 53 | 29 | /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h \ |
| 54 | - /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \ | |
| 30 | + /usr/include/wayland-version.h /usr/include/xkbcommon/xkbcommon.h \ | |
| 31 | + /usr/include/stdio.h /usr/include/bits/types/__fpos_t.h \ | |
| 32 | + /usr/include/bits/types/__mbstate_t.h \ | |
| 55 | 33 | /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \ |
| 56 | 34 | /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \ |
| 57 | 35 | /usr/include/bits/types/cookie_io_functions_t.h \ |
| 58 | - /usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \ | |
| 59 | - /usr/include/bits/floatn-common.h /usr/include/X11/extensions/Xrandr.h \ | |
| 60 | - /usr/include/X11/extensions/randr.h \ | |
| 61 | - /usr/include/X11/extensions/Xrender.h /usr/include/X11/Xutil.h \ | |
| 62 | - /usr/include/X11/extensions/render.h /usr/include/X11/Xdefs.h \ | |
| 63 | - /usr/include/X11/XKBlib.h /usr/include/X11/extensions/XKBstr.h \ | |
| 64 | - /usr/include/X11/extensions/XKB.h /usr/include/X11/extensions/Xinerama.h \ | |
| 65 | - /usr/include/X11/extensions/XInput2.h /usr/include/X11/extensions/XI2.h \ | |
| 66 | - /usr/include/X11/extensions/Xge.h /usr/include/X11/extensions/Xfixes.h \ | |
| 67 | - /usr/include/X11/extensions/xfixeswire.h \ | |
| 68 | - /usr/include/X11/extensions/shape.h \ | |
| 69 | - /usr/include/X11/extensions/shapeconst.h \ | |
| 36 | + /usr/include/bits/stdio_lim.h /usr/include/xkbcommon/xkbcommon-names.h \ | |
| 37 | + /usr/include/xkbcommon/xkbcommon-keysyms.h \ | |
| 38 | + /usr/include/xkbcommon/xkbcommon-compat.h \ | |
| 39 | + /usr/include/xkbcommon/xkbcommon-compose.h \ | |
| 70 | 40 | /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h \ |
| 71 | 41 | /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h \ |
| 72 | 42 | /usr/include/linux/input.h /usr/include/sys/time.h \ |
| 73 | - /usr/include/sys/ioctl.h /usr/include/bits/ioctls.h \ | |
| 74 | - /usr/include/asm/ioctls.h /usr/include/asm-generic/ioctls.h \ | |
| 75 | - /usr/include/linux/ioctl.h /usr/include/asm/ioctl.h \ | |
| 76 | - /usr/include/asm-generic/ioctl.h /usr/include/bits/ioctl-types.h \ | |
| 77 | - /usr/include/sys/ttydefaults.h /usr/include/linux/types.h \ | |
| 43 | + /usr/include/bits/types/time_t.h \ | |
| 44 | + /usr/include/bits/types/struct_timeval.h /usr/include/sys/select.h \ | |
| 45 | + /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \ | |
| 46 | + /usr/include/bits/types/__sigset_t.h \ | |
| 47 | + /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 48 | + /usr/include/bits/endianness.h /usr/include/sys/ioctl.h \ | |
| 49 | + /usr/include/bits/ioctls.h /usr/include/asm/ioctls.h \ | |
| 50 | + /usr/include/asm-generic/ioctls.h /usr/include/linux/ioctl.h \ | |
| 51 | + /usr/include/asm/ioctl.h /usr/include/asm-generic/ioctl.h \ | |
| 52 | + /usr/include/bits/ioctl-types.h /usr/include/sys/ttydefaults.h \ | |
| 53 | + /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 54 | + /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 55 | + /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 56 | + /usr/include/bits/uintn-identity.h /usr/include/bits/pthreadtypes.h \ | |
| 57 | + /usr/include/bits/thread-shared-types.h \ | |
| 58 | + /usr/include/bits/pthreadtypes-arch.h \ | |
| 59 | + /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 60 | + /usr/include/bits/struct_rwlock.h /usr/include/linux/types.h \ | |
| 78 | 61 | /usr/include/asm/types.h /usr/include/asm-generic/types.h \ |
| 79 | 62 | /usr/include/asm-generic/int-ll64.h /usr/include/asm/bitsperlong.h \ |
| 80 | 63 | /usr/include/asm-generic/bitsperlong.h /usr/include/linux/posix_types.h \ |
| @@ -101,10 +84,4 @@ raylib/external/glfw/src/CMakeFiles/glfw.dir/window.c.o: \ | ||
| 101 | 84 | /usr/include/stdlib.h /usr/include/bits/waitflags.h \ |
| 102 | 85 | /usr/include/bits/waitstatus.h /usr/include/alloca.h \ |
| 103 | 86 | /usr/include/bits/stdlib-float.h \ |
| 104 | - /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/float.h \ | |
| 105 | - /usr/include/math.h /usr/include/bits/math-vector.h \ | |
| 106 | - /usr/include/bits/libm-simd-decl-stubs.h \ | |
| 107 | - /usr/include/bits/flt-eval-method.h /usr/include/bits/fp-logb.h \ | |
| 108 | - /usr/include/bits/fp-fast.h /usr/include/bits/mathcalls-macros.h \ | |
| 109 | - /usr/include/bits/mathcalls-helper-functions.h \ | |
| 110 | - /usr/include/bits/mathcalls.h | |
| 87 | + /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/float.h |
+0 −0 raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_init.c.o new file mode 100644, Binary files /dev/null and b/raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_init.c.o differ Large diff collapsed, click to expand
+122 −0 raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_init.c.o.d new file mode 100644 Large diff collapsed, click to expand
| @@ -0,0 +1,122 @@ | ||
| 1 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_init.c.o: \ | |
| 2 | + /home/fordon/projects/c/raylib/src/external/glfw/src/wl_init.c \ | |
| 3 | + /usr/include/stdc-predef.h \ | |
| 4 | + /home/fordon/projects/c/raylib/src/external/glfw/src/internal.h \ | |
| 5 | + /home/fordon/projects/c/raylib/src/external/glfw/src/../include/GLFW/glfw3.h \ | |
| 6 | + /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stddef.h \ | |
| 7 | + /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdint.h \ | |
| 8 | + /usr/include/stdint.h /usr/include/bits/libc-header-start.h \ | |
| 9 | + /usr/include/features.h /usr/include/features-time64.h \ | |
| 10 | + /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \ | |
| 11 | + /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \ | |
| 12 | + /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ | |
| 13 | + /usr/include/bits/types.h /usr/include/bits/typesizes.h \ | |
| 14 | + /usr/include/bits/time64.h /usr/include/bits/wchar.h \ | |
| 15 | + /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \ | |
| 16 | + /usr/include/bits/stdint-least.h \ | |
| 17 | + /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h \ | |
| 18 | + /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h \ | |
| 19 | + /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h \ | |
| 20 | + /home/fordon/projects/c/raylib/src/external/glfw/src/wl_platform.h \ | |
| 21 | + /usr/include/wayland-client-core.h /usr/include/wayland-util.h \ | |
| 22 | + /usr/include/math.h /usr/include/bits/math-vector.h \ | |
| 23 | + /usr/include/bits/libm-simd-decl-stubs.h /usr/include/bits/floatn.h \ | |
| 24 | + /usr/include/bits/floatn-common.h /usr/include/bits/flt-eval-method.h \ | |
| 25 | + /usr/include/bits/fp-logb.h /usr/include/bits/fp-fast.h \ | |
| 26 | + /usr/include/bits/mathcalls-macros.h \ | |
| 27 | + /usr/include/bits/mathcalls-helper-functions.h \ | |
| 28 | + /usr/include/bits/mathcalls.h /usr/include/inttypes.h \ | |
| 29 | + /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h \ | |
| 30 | + /usr/include/wayland-version.h /usr/include/xkbcommon/xkbcommon.h \ | |
| 31 | + /usr/include/stdio.h /usr/include/bits/types/__fpos_t.h \ | |
| 32 | + /usr/include/bits/types/__mbstate_t.h \ | |
| 33 | + /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \ | |
| 34 | + /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \ | |
| 35 | + /usr/include/bits/types/cookie_io_functions_t.h \ | |
| 36 | + /usr/include/bits/stdio_lim.h /usr/include/xkbcommon/xkbcommon-names.h \ | |
| 37 | + /usr/include/xkbcommon/xkbcommon-keysyms.h \ | |
| 38 | + /usr/include/xkbcommon/xkbcommon-compat.h \ | |
| 39 | + /usr/include/xkbcommon/xkbcommon-compose.h \ | |
| 40 | + /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h \ | |
| 41 | + /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h \ | |
| 42 | + /usr/include/linux/input.h /usr/include/sys/time.h \ | |
| 43 | + /usr/include/bits/types/time_t.h \ | |
| 44 | + /usr/include/bits/types/struct_timeval.h /usr/include/sys/select.h \ | |
| 45 | + /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \ | |
| 46 | + /usr/include/bits/types/__sigset_t.h \ | |
| 47 | + /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 48 | + /usr/include/bits/endianness.h /usr/include/sys/ioctl.h \ | |
| 49 | + /usr/include/bits/ioctls.h /usr/include/asm/ioctls.h \ | |
| 50 | + /usr/include/asm-generic/ioctls.h /usr/include/linux/ioctl.h \ | |
| 51 | + /usr/include/asm/ioctl.h /usr/include/asm-generic/ioctl.h \ | |
| 52 | + /usr/include/bits/ioctl-types.h /usr/include/sys/ttydefaults.h \ | |
| 53 | + /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 54 | + /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 55 | + /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 56 | + /usr/include/bits/uintn-identity.h /usr/include/bits/pthreadtypes.h \ | |
| 57 | + /usr/include/bits/thread-shared-types.h \ | |
| 58 | + /usr/include/bits/pthreadtypes-arch.h \ | |
| 59 | + /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 60 | + /usr/include/bits/struct_rwlock.h /usr/include/linux/types.h \ | |
| 61 | + /usr/include/asm/types.h /usr/include/asm-generic/types.h \ | |
| 62 | + /usr/include/asm-generic/int-ll64.h /usr/include/asm/bitsperlong.h \ | |
| 63 | + /usr/include/asm-generic/bitsperlong.h /usr/include/linux/posix_types.h \ | |
| 64 | + /usr/include/linux/stddef.h /usr/include/asm/posix_types.h \ | |
| 65 | + /usr/include/asm/posix_types_64.h /usr/include/asm-generic/posix_types.h \ | |
| 66 | + /usr/include/linux/input-event-codes.h /usr/include/linux/limits.h \ | |
| 67 | + /usr/include/regex.h \ | |
| 68 | + /home/fordon/projects/c/raylib/src/external/glfw/src/posix_thread.h \ | |
| 69 | + /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ | |
| 70 | + /usr/include/bits/types/struct_sched_param.h /usr/include/bits/cpu-set.h \ | |
| 71 | + /usr/include/time.h /usr/include/bits/time.h \ | |
| 72 | + /usr/include/bits/types/struct_tm.h \ | |
| 73 | + /usr/include/bits/types/struct_itimerspec.h \ | |
| 74 | + /usr/include/bits/types/locale_t.h /usr/include/bits/types/__locale_t.h \ | |
| 75 | + /usr/include/bits/setjmp.h \ | |
| 76 | + /usr/include/bits/types/struct___jmp_buf_tag.h \ | |
| 77 | + /usr/include/bits/pthread_stack_min-dynamic.h \ | |
| 78 | + /usr/include/bits/pthread_stack_min.h \ | |
| 79 | + /home/fordon/projects/c/raylib/src/external/glfw/src/posix_time.h \ | |
| 80 | + /home/fordon/projects/c/raylib/src/external/glfw/src/posix_poll.h \ | |
| 81 | + /usr/include/poll.h /usr/include/sys/poll.h /usr/include/bits/poll.h \ | |
| 82 | + /home/fordon/projects/c/raylib/src/external/glfw/src/../include/GLFW/glfw3native.h \ | |
| 83 | + /usr/include/errno.h /usr/include/bits/errno.h \ | |
| 84 | + /usr/include/linux/errno.h /usr/include/asm/errno.h \ | |
| 85 | + /usr/include/asm-generic/errno.h /usr/include/asm-generic/errno-base.h \ | |
| 86 | + /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/limits.h \ | |
| 87 | + /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/syslimits.h \ | |
| 88 | + /usr/include/limits.h /usr/include/bits/posix1_lim.h \ | |
| 89 | + /usr/include/bits/local_lim.h /usr/include/bits/posix2_lim.h \ | |
| 90 | + /usr/include/stdlib.h /usr/include/bits/waitflags.h \ | |
| 91 | + /usr/include/bits/waitstatus.h /usr/include/alloca.h \ | |
| 92 | + /usr/include/bits/stdlib-float.h /usr/include/string.h \ | |
| 93 | + /usr/include/strings.h /usr/include/sys/mman.h /usr/include/bits/mman.h \ | |
| 94 | + /usr/include/bits/mman-map-flags-generic.h \ | |
| 95 | + /usr/include/bits/mman-linux.h /usr/include/bits/mman-shared.h \ | |
| 96 | + /usr/include/bits/mman_ext.h /usr/include/sys/timerfd.h \ | |
| 97 | + /usr/include/bits/timerfd.h /usr/include/unistd.h \ | |
| 98 | + /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ | |
| 99 | + /usr/include/bits/confname.h /usr/include/bits/getopt_posix.h \ | |
| 100 | + /usr/include/bits/getopt_core.h /usr/include/bits/unistd_ext.h \ | |
| 101 | + /usr/include/assert.h \ | |
| 102 | + /home/fordon/projects/c/raylib/build/raylib/external/glfw/src/wayland-client-protocol.h \ | |
| 103 | + /usr/include/wayland-client.h /usr/include/wayland-client-core.h \ | |
| 104 | + /usr/include/wayland-client-protocol.h \ | |
| 105 | + /home/fordon/projects/c/raylib/build/raylib/external/glfw/src/xdg-shell-client-protocol.h \ | |
| 106 | + /home/fordon/projects/c/raylib/build/raylib/external/glfw/src/xdg-decoration-unstable-v1-client-protocol.h \ | |
| 107 | + /home/fordon/projects/c/raylib/build/raylib/external/glfw/src/viewporter-client-protocol.h \ | |
| 108 | + /home/fordon/projects/c/raylib/build/raylib/external/glfw/src/relative-pointer-unstable-v1-client-protocol.h \ | |
| 109 | + /home/fordon/projects/c/raylib/build/raylib/external/glfw/src/pointer-constraints-unstable-v1-client-protocol.h \ | |
| 110 | + /home/fordon/projects/c/raylib/build/raylib/external/glfw/src/fractional-scale-v1-client-protocol.h \ | |
| 111 | + /home/fordon/projects/c/raylib/build/raylib/external/glfw/src/xdg-activation-v1-client-protocol.h \ | |
| 112 | + /home/fordon/projects/c/raylib/build/raylib/external/glfw/src/idle-inhibit-unstable-v1-client-protocol.h \ | |
| 113 | + /home/fordon/projects/c/raylib/build/raylib/external/glfw/src/wayland-client-protocol-code.h \ | |
| 114 | + /usr/include/wayland-util.h \ | |
| 115 | + /home/fordon/projects/c/raylib/build/raylib/external/glfw/src/xdg-shell-client-protocol-code.h \ | |
| 116 | + /home/fordon/projects/c/raylib/build/raylib/external/glfw/src/xdg-decoration-unstable-v1-client-protocol-code.h \ | |
| 117 | + /home/fordon/projects/c/raylib/build/raylib/external/glfw/src/viewporter-client-protocol-code.h \ | |
| 118 | + /home/fordon/projects/c/raylib/build/raylib/external/glfw/src/relative-pointer-unstable-v1-client-protocol-code.h \ | |
| 119 | + /home/fordon/projects/c/raylib/build/raylib/external/glfw/src/pointer-constraints-unstable-v1-client-protocol-code.h \ | |
| 120 | + /home/fordon/projects/c/raylib/build/raylib/external/glfw/src/fractional-scale-v1-client-protocol-code.h \ | |
| 121 | + /home/fordon/projects/c/raylib/build/raylib/external/glfw/src/xdg-activation-v1-client-protocol-code.h \ | |
| 122 | + /home/fordon/projects/c/raylib/build/raylib/external/glfw/src/idle-inhibit-unstable-v1-client-protocol-code.h |
+0 −0 raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_monitor.c.o new file mode 100644, Binary files /dev/null and b/raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_monitor.c.o differ Large diff collapsed, click to expand
+92 −0 raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_monitor.c.o.d new file mode 100644 Large diff collapsed, click to expand
| @@ -0,0 +1,92 @@ | ||
| 1 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_monitor.c.o: \ | |
| 2 | + /home/fordon/projects/c/raylib/src/external/glfw/src/wl_monitor.c \ | |
| 3 | + /usr/include/stdc-predef.h \ | |
| 4 | + /home/fordon/projects/c/raylib/src/external/glfw/src/internal.h \ | |
| 5 | + /home/fordon/projects/c/raylib/src/external/glfw/src/../include/GLFW/glfw3.h \ | |
| 6 | + /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stddef.h \ | |
| 7 | + /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdint.h \ | |
| 8 | + /usr/include/stdint.h /usr/include/bits/libc-header-start.h \ | |
| 9 | + /usr/include/features.h /usr/include/features-time64.h \ | |
| 10 | + /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \ | |
| 11 | + /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \ | |
| 12 | + /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ | |
| 13 | + /usr/include/bits/types.h /usr/include/bits/typesizes.h \ | |
| 14 | + /usr/include/bits/time64.h /usr/include/bits/wchar.h \ | |
| 15 | + /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \ | |
| 16 | + /usr/include/bits/stdint-least.h \ | |
| 17 | + /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h \ | |
| 18 | + /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h \ | |
| 19 | + /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h \ | |
| 20 | + /home/fordon/projects/c/raylib/src/external/glfw/src/wl_platform.h \ | |
| 21 | + /usr/include/wayland-client-core.h /usr/include/wayland-util.h \ | |
| 22 | + /usr/include/math.h /usr/include/bits/math-vector.h \ | |
| 23 | + /usr/include/bits/libm-simd-decl-stubs.h /usr/include/bits/floatn.h \ | |
| 24 | + /usr/include/bits/floatn-common.h /usr/include/bits/flt-eval-method.h \ | |
| 25 | + /usr/include/bits/fp-logb.h /usr/include/bits/fp-fast.h \ | |
| 26 | + /usr/include/bits/mathcalls-macros.h \ | |
| 27 | + /usr/include/bits/mathcalls-helper-functions.h \ | |
| 28 | + /usr/include/bits/mathcalls.h /usr/include/inttypes.h \ | |
| 29 | + /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h \ | |
| 30 | + /usr/include/wayland-version.h /usr/include/xkbcommon/xkbcommon.h \ | |
| 31 | + /usr/include/stdio.h /usr/include/bits/types/__fpos_t.h \ | |
| 32 | + /usr/include/bits/types/__mbstate_t.h \ | |
| 33 | + /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \ | |
| 34 | + /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \ | |
| 35 | + /usr/include/bits/types/cookie_io_functions_t.h \ | |
| 36 | + /usr/include/bits/stdio_lim.h /usr/include/xkbcommon/xkbcommon-names.h \ | |
| 37 | + /usr/include/xkbcommon/xkbcommon-keysyms.h \ | |
| 38 | + /usr/include/xkbcommon/xkbcommon-compat.h \ | |
| 39 | + /usr/include/xkbcommon/xkbcommon-compose.h \ | |
| 40 | + /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h \ | |
| 41 | + /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h \ | |
| 42 | + /usr/include/linux/input.h /usr/include/sys/time.h \ | |
| 43 | + /usr/include/bits/types/time_t.h \ | |
| 44 | + /usr/include/bits/types/struct_timeval.h /usr/include/sys/select.h \ | |
| 45 | + /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \ | |
| 46 | + /usr/include/bits/types/__sigset_t.h \ | |
| 47 | + /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 48 | + /usr/include/bits/endianness.h /usr/include/sys/ioctl.h \ | |
| 49 | + /usr/include/bits/ioctls.h /usr/include/asm/ioctls.h \ | |
| 50 | + /usr/include/asm-generic/ioctls.h /usr/include/linux/ioctl.h \ | |
| 51 | + /usr/include/asm/ioctl.h /usr/include/asm-generic/ioctl.h \ | |
| 52 | + /usr/include/bits/ioctl-types.h /usr/include/sys/ttydefaults.h \ | |
| 53 | + /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 54 | + /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 55 | + /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 56 | + /usr/include/bits/uintn-identity.h /usr/include/bits/pthreadtypes.h \ | |
| 57 | + /usr/include/bits/thread-shared-types.h \ | |
| 58 | + /usr/include/bits/pthreadtypes-arch.h \ | |
| 59 | + /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 60 | + /usr/include/bits/struct_rwlock.h /usr/include/linux/types.h \ | |
| 61 | + /usr/include/asm/types.h /usr/include/asm-generic/types.h \ | |
| 62 | + /usr/include/asm-generic/int-ll64.h /usr/include/asm/bitsperlong.h \ | |
| 63 | + /usr/include/asm-generic/bitsperlong.h /usr/include/linux/posix_types.h \ | |
| 64 | + /usr/include/linux/stddef.h /usr/include/asm/posix_types.h \ | |
| 65 | + /usr/include/asm/posix_types_64.h /usr/include/asm-generic/posix_types.h \ | |
| 66 | + /usr/include/linux/input-event-codes.h /usr/include/linux/limits.h \ | |
| 67 | + /usr/include/regex.h \ | |
| 68 | + /home/fordon/projects/c/raylib/src/external/glfw/src/posix_thread.h \ | |
| 69 | + /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ | |
| 70 | + /usr/include/bits/types/struct_sched_param.h /usr/include/bits/cpu-set.h \ | |
| 71 | + /usr/include/time.h /usr/include/bits/time.h \ | |
| 72 | + /usr/include/bits/types/struct_tm.h \ | |
| 73 | + /usr/include/bits/types/struct_itimerspec.h \ | |
| 74 | + /usr/include/bits/types/locale_t.h /usr/include/bits/types/__locale_t.h \ | |
| 75 | + /usr/include/bits/setjmp.h \ | |
| 76 | + /usr/include/bits/types/struct___jmp_buf_tag.h \ | |
| 77 | + /usr/include/bits/pthread_stack_min-dynamic.h \ | |
| 78 | + /usr/include/bits/pthread_stack_min.h \ | |
| 79 | + /home/fordon/projects/c/raylib/src/external/glfw/src/posix_time.h \ | |
| 80 | + /home/fordon/projects/c/raylib/src/external/glfw/src/posix_poll.h \ | |
| 81 | + /usr/include/poll.h /usr/include/sys/poll.h /usr/include/bits/poll.h \ | |
| 82 | + /home/fordon/projects/c/raylib/src/external/glfw/src/../include/GLFW/glfw3native.h \ | |
| 83 | + /usr/include/stdlib.h /usr/include/bits/waitflags.h \ | |
| 84 | + /usr/include/bits/waitstatus.h /usr/include/alloca.h \ | |
| 85 | + /usr/include/bits/stdlib-float.h /usr/include/string.h \ | |
| 86 | + /usr/include/strings.h /usr/include/errno.h /usr/include/bits/errno.h \ | |
| 87 | + /usr/include/linux/errno.h /usr/include/asm/errno.h \ | |
| 88 | + /usr/include/asm-generic/errno.h /usr/include/asm-generic/errno-base.h \ | |
| 89 | + /usr/include/assert.h \ | |
| 90 | + /home/fordon/projects/c/raylib/build/raylib/external/glfw/src/wayland-client-protocol.h \ | |
| 91 | + /usr/include/wayland-client.h /usr/include/wayland-client-core.h \ | |
| 92 | + /usr/include/wayland-client-protocol.h |
+0 −0 raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_window.c.o new file mode 100644, Binary files /dev/null and b/raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_window.c.o differ Large diff collapsed, click to expand
+113 −0 raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_window.c.o.d new file mode 100644 Large diff collapsed, click to expand
| @@ -0,0 +1,113 @@ | ||
| 1 | +raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_window.c.o: \ | |
| 2 | + /home/fordon/projects/c/raylib/src/external/glfw/src/wl_window.c \ | |
| 3 | + /usr/include/stdc-predef.h \ | |
| 4 | + /home/fordon/projects/c/raylib/src/external/glfw/src/internal.h \ | |
| 5 | + /home/fordon/projects/c/raylib/src/external/glfw/src/../include/GLFW/glfw3.h \ | |
| 6 | + /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stddef.h \ | |
| 7 | + /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdint.h \ | |
| 8 | + /usr/include/stdint.h /usr/include/bits/libc-header-start.h \ | |
| 9 | + /usr/include/features.h /usr/include/features-time64.h \ | |
| 10 | + /usr/include/bits/wordsize.h /usr/include/bits/timesize.h \ | |
| 11 | + /usr/include/sys/cdefs.h /usr/include/bits/long-double.h \ | |
| 12 | + /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ | |
| 13 | + /usr/include/bits/types.h /usr/include/bits/typesizes.h \ | |
| 14 | + /usr/include/bits/time64.h /usr/include/bits/wchar.h \ | |
| 15 | + /usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \ | |
| 16 | + /usr/include/bits/stdint-least.h \ | |
| 17 | + /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdbool.h \ | |
| 18 | + /home/fordon/projects/c/raylib/src/external/glfw/src/platform.h \ | |
| 19 | + /home/fordon/projects/c/raylib/src/external/glfw/src/null_platform.h \ | |
| 20 | + /home/fordon/projects/c/raylib/src/external/glfw/src/wl_platform.h \ | |
| 21 | + /usr/include/wayland-client-core.h /usr/include/wayland-util.h \ | |
| 22 | + /usr/include/math.h /usr/include/bits/math-vector.h \ | |
| 23 | + /usr/include/bits/libm-simd-decl-stubs.h /usr/include/bits/floatn.h \ | |
| 24 | + /usr/include/bits/floatn-common.h /usr/include/bits/flt-eval-method.h \ | |
| 25 | + /usr/include/bits/fp-logb.h /usr/include/bits/fp-fast.h \ | |
| 26 | + /usr/include/bits/mathcalls-macros.h \ | |
| 27 | + /usr/include/bits/mathcalls-helper-functions.h \ | |
| 28 | + /usr/include/bits/mathcalls.h /usr/include/bits/mathcalls-narrow.h \ | |
| 29 | + /usr/include/bits/iscanonical.h /usr/include/inttypes.h \ | |
| 30 | + /usr/lib/gcc/x86_64-unknown-linux-gnu/14.2/include/stdarg.h \ | |
| 31 | + /usr/include/wayland-version.h /usr/include/xkbcommon/xkbcommon.h \ | |
| 32 | + /usr/include/stdio.h /usr/include/bits/types/__fpos_t.h \ | |
| 33 | + /usr/include/bits/types/__mbstate_t.h \ | |
| 34 | + /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \ | |
| 35 | + /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \ | |
| 36 | + /usr/include/bits/types/cookie_io_functions_t.h \ | |
| 37 | + /usr/include/bits/stdio_lim.h /usr/include/xkbcommon/xkbcommon-names.h \ | |
| 38 | + /usr/include/xkbcommon/xkbcommon-keysyms.h \ | |
| 39 | + /usr/include/xkbcommon/xkbcommon-compat.h \ | |
| 40 | + /usr/include/xkbcommon/xkbcommon-compose.h \ | |
| 41 | + /home/fordon/projects/c/raylib/src/external/glfw/src/null_joystick.h \ | |
| 42 | + /home/fordon/projects/c/raylib/src/external/glfw/src/linux_joystick.h \ | |
| 43 | + /usr/include/linux/input.h /usr/include/sys/time.h \ | |
| 44 | + /usr/include/bits/types/time_t.h \ | |
| 45 | + /usr/include/bits/types/struct_timeval.h /usr/include/sys/select.h \ | |
| 46 | + /usr/include/bits/select.h /usr/include/bits/types/sigset_t.h \ | |
| 47 | + /usr/include/bits/types/__sigset_t.h \ | |
| 48 | + /usr/include/bits/types/struct_timespec.h /usr/include/bits/endian.h \ | |
| 49 | + /usr/include/bits/endianness.h /usr/include/sys/ioctl.h \ | |
| 50 | + /usr/include/bits/ioctls.h /usr/include/asm/ioctls.h \ | |
| 51 | + /usr/include/asm-generic/ioctls.h /usr/include/linux/ioctl.h \ | |
| 52 | + /usr/include/asm/ioctl.h /usr/include/asm-generic/ioctl.h \ | |
| 53 | + /usr/include/bits/ioctl-types.h /usr/include/sys/ttydefaults.h \ | |
| 54 | + /usr/include/sys/types.h /usr/include/bits/types/clock_t.h \ | |
| 55 | + /usr/include/bits/types/clockid_t.h /usr/include/bits/types/timer_t.h \ | |
| 56 | + /usr/include/endian.h /usr/include/bits/byteswap.h \ | |
| 57 | + /usr/include/bits/uintn-identity.h /usr/include/bits/pthreadtypes.h \ | |
| 58 | + /usr/include/bits/thread-shared-types.h \ | |
| 59 | + /usr/include/bits/pthreadtypes-arch.h \ | |
| 60 | + /usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \ | |
| 61 | + /usr/include/bits/struct_rwlock.h /usr/include/linux/types.h \ | |
| 62 | + /usr/include/asm/types.h /usr/include/asm-generic/types.h \ | |
| 63 | + /usr/include/asm-generic/int-ll64.h /usr/include/asm/bitsperlong.h \ | |
| 64 | + /usr/include/asm-generic/bitsperlong.h /usr/include/linux/posix_types.h \ | |
| 65 | + /usr/include/linux/stddef.h /usr/include/asm/posix_types.h \ | |
| 66 | + /usr/include/asm/posix_types_64.h /usr/include/asm-generic/posix_types.h \ | |
| 67 | + /usr/include/linux/input-event-codes.h /usr/include/linux/limits.h \ | |
| 68 | + /usr/include/regex.h \ | |
| 69 | + /home/fordon/projects/c/raylib/src/external/glfw/src/posix_thread.h \ | |
| 70 | + /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ | |
| 71 | + /usr/include/linux/sched/types.h \ | |
| 72 | + /usr/include/bits/types/struct_sched_param.h /usr/include/bits/cpu-set.h \ | |
| 73 | + /usr/include/time.h /usr/include/bits/time.h /usr/include/bits/timex.h \ | |
| 74 | + /usr/include/bits/types/struct_tm.h \ | |
| 75 | + /usr/include/bits/types/struct_itimerspec.h \ | |
| 76 | + /usr/include/bits/types/locale_t.h /usr/include/bits/types/__locale_t.h \ | |
| 77 | + /usr/include/bits/setjmp.h \ | |
| 78 | + /usr/include/bits/types/struct___jmp_buf_tag.h \ | |
| 79 | + /usr/include/bits/pthread_stack_min-dynamic.h \ | |
| 80 | + /home/fordon/projects/c/raylib/src/external/glfw/src/posix_time.h \ | |
| 81 | + /home/fordon/projects/c/raylib/src/external/glfw/src/posix_poll.h \ | |
| 82 | + /usr/include/poll.h /usr/include/sys/poll.h /usr/include/bits/poll.h \ | |
| 83 | + /home/fordon/projects/c/raylib/src/external/glfw/src/../include/GLFW/glfw3native.h \ | |
| 84 | + /usr/include/stdlib.h /usr/include/bits/waitflags.h \ | |
| 85 | + /usr/include/bits/waitstatus.h /usr/include/alloca.h \ | |
| 86 | + /usr/include/bits/stdlib-float.h /usr/include/errno.h \ | |
| 87 | + /usr/include/bits/errno.h /usr/include/linux/errno.h \ | |
| 88 | + /usr/include/asm/errno.h /usr/include/asm-generic/errno.h \ | |
| 89 | + /usr/include/asm-generic/errno-base.h /usr/include/bits/types/error_t.h \ | |
| 90 | + /usr/include/assert.h /usr/include/unistd.h \ | |
| 91 | + /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ | |
| 92 | + /usr/include/bits/confname.h /usr/include/bits/getopt_posix.h \ | |
| 93 | + /usr/include/bits/getopt_core.h /usr/include/bits/unistd_ext.h \ | |
| 94 | + /usr/include/linux/close_range.h /usr/include/string.h \ | |
| 95 | + /usr/include/strings.h /usr/include/fcntl.h /usr/include/bits/fcntl.h \ | |
| 96 | + /usr/include/bits/fcntl-linux.h /usr/include/bits/types/struct_iovec.h \ | |
| 97 | + /usr/include/linux/falloc.h /usr/include/bits/stat.h \ | |
| 98 | + /usr/include/bits/struct_stat.h /usr/include/sys/mman.h \ | |
| 99 | + /usr/include/bits/mman.h /usr/include/bits/mman-map-flags-generic.h \ | |
| 100 | + /usr/include/bits/mman-linux.h /usr/include/bits/mman-shared.h \ | |
| 101 | + /usr/include/bits/mman_ext.h /usr/include/sys/timerfd.h \ | |
| 102 | + /usr/include/bits/timerfd.h /usr/include/linux/input-event-codes.h \ | |
| 103 | + /home/fordon/projects/c/raylib/build/raylib/external/glfw/src/wayland-client-protocol.h \ | |
| 104 | + /usr/include/wayland-client.h /usr/include/wayland-client-core.h \ | |
| 105 | + /usr/include/wayland-client-protocol.h \ | |
| 106 | + /home/fordon/projects/c/raylib/build/raylib/external/glfw/src/xdg-shell-client-protocol.h \ | |
| 107 | + /home/fordon/projects/c/raylib/build/raylib/external/glfw/src/xdg-decoration-unstable-v1-client-protocol.h \ | |
| 108 | + /home/fordon/projects/c/raylib/build/raylib/external/glfw/src/viewporter-client-protocol.h \ | |
| 109 | + /home/fordon/projects/c/raylib/build/raylib/external/glfw/src/relative-pointer-unstable-v1-client-protocol.h \ | |
| 110 | + /home/fordon/projects/c/raylib/build/raylib/external/glfw/src/pointer-constraints-unstable-v1-client-protocol.h \ | |
| 111 | + /home/fordon/projects/c/raylib/build/raylib/external/glfw/src/xdg-activation-v1-client-protocol.h \ | |
| 112 | + /home/fordon/projects/c/raylib/build/raylib/external/glfw/src/idle-inhibit-unstable-v1-client-protocol.h \ | |
| 113 | + /home/fordon/projects/c/raylib/build/raylib/external/glfw/src/fractional-scale-v1-client-protocol.h |
+1 −1 raylib/external/glfw/src/CMakeFiles/progress.marks Large diff collapsed, click to expand
| @@ -1 +1 @@ | ||
| 1 | -5 | |
| 1 | +8 |
+54 −108 raylib/external/glfw/src/Makefile Large diff collapsed, click to expand
| @@ -267,30 +267,6 @@ egl_context.c.s: | ||
| 267 | 267 | cd /home/fordon/projects/c/raylib/build && $(MAKE) $(MAKESILENT) -f raylib/external/glfw/src/CMakeFiles/glfw.dir/build.make raylib/external/glfw/src/CMakeFiles/glfw.dir/egl_context.c.s |
| 268 | 268 | .PHONY : egl_context.c.s |
| 269 | 269 | |
| 270 | -glx_context.o: glx_context.c.o | |
| 271 | -.PHONY : glx_context.o | |
| 272 | - | |
| 273 | -# target to build an object file | |
| 274 | -glx_context.c.o: | |
| 275 | - cd /home/fordon/projects/c/raylib/build && $(MAKE) $(MAKESILENT) -f raylib/external/glfw/src/CMakeFiles/glfw.dir/build.make raylib/external/glfw/src/CMakeFiles/glfw.dir/glx_context.c.o | |
| 276 | -.PHONY : glx_context.c.o | |
| 277 | - | |
| 278 | -glx_context.i: glx_context.c.i | |
| 279 | -.PHONY : glx_context.i | |
| 280 | - | |
| 281 | -# target to preprocess a source file | |
| 282 | -glx_context.c.i: | |
| 283 | - cd /home/fordon/projects/c/raylib/build && $(MAKE) $(MAKESILENT) -f raylib/external/glfw/src/CMakeFiles/glfw.dir/build.make raylib/external/glfw/src/CMakeFiles/glfw.dir/glx_context.c.i | |
| 284 | -.PHONY : glx_context.c.i | |
| 285 | - | |
| 286 | -glx_context.s: glx_context.c.s | |
| 287 | -.PHONY : glx_context.s | |
| 288 | - | |
| 289 | -# target to generate assembly for a file | |
| 290 | -glx_context.c.s: | |
| 291 | - cd /home/fordon/projects/c/raylib/build && $(MAKE) $(MAKESILENT) -f raylib/external/glfw/src/CMakeFiles/glfw.dir/build.make raylib/external/glfw/src/CMakeFiles/glfw.dir/glx_context.c.s | |
| 292 | -.PHONY : glx_context.c.s | |
| 293 | - | |
| 294 | 270 | init.o: init.c.o |
| 295 | 271 | .PHONY : init.o |
| 296 | 272 | |
| @@ -675,101 +651,77 @@ window.c.s: | ||
| 675 | 651 | cd /home/fordon/projects/c/raylib/build && $(MAKE) $(MAKESILENT) -f raylib/external/glfw/src/CMakeFiles/glfw.dir/build.make raylib/external/glfw/src/CMakeFiles/glfw.dir/window.c.s |
| 676 | 652 | .PHONY : window.c.s |
| 677 | 653 | |
| 678 | -x11_init.o: x11_init.c.o | |
| 679 | -.PHONY : x11_init.o | |
| 680 | - | |
| 681 | -# target to build an object file | |
| 682 | -x11_init.c.o: | |
| 683 | - cd /home/fordon/projects/c/raylib/build && $(MAKE) $(MAKESILENT) -f raylib/external/glfw/src/CMakeFiles/glfw.dir/build.make raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_init.c.o | |
| 684 | -.PHONY : x11_init.c.o | |
| 685 | - | |
| 686 | -x11_init.i: x11_init.c.i | |
| 687 | -.PHONY : x11_init.i | |
| 688 | - | |
| 689 | -# target to preprocess a source file | |
| 690 | -x11_init.c.i: | |
| 691 | - cd /home/fordon/projects/c/raylib/build && $(MAKE) $(MAKESILENT) -f raylib/external/glfw/src/CMakeFiles/glfw.dir/build.make raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_init.c.i | |
| 692 | -.PHONY : x11_init.c.i | |
| 693 | - | |
| 694 | -x11_init.s: x11_init.c.s | |
| 695 | -.PHONY : x11_init.s | |
| 696 | - | |
| 697 | -# target to generate assembly for a file | |
| 698 | -x11_init.c.s: | |
| 699 | - cd /home/fordon/projects/c/raylib/build && $(MAKE) $(MAKESILENT) -f raylib/external/glfw/src/CMakeFiles/glfw.dir/build.make raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_init.c.s | |
| 700 | -.PHONY : x11_init.c.s | |
| 701 | - | |
| 702 | -x11_monitor.o: x11_monitor.c.o | |
| 703 | -.PHONY : x11_monitor.o | |
| 654 | +wl_init.o: wl_init.c.o | |
| 655 | +.PHONY : wl_init.o | |
| 704 | 656 | |
| 705 | 657 | # target to build an object file |
| 706 | -x11_monitor.c.o: | |
| 707 | - cd /home/fordon/projects/c/raylib/build && $(MAKE) $(MAKESILENT) -f raylib/external/glfw/src/CMakeFiles/glfw.dir/build.make raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_monitor.c.o | |
| 708 | -.PHONY : x11_monitor.c.o | |
| 658 | +wl_init.c.o: | |
| 659 | + cd /home/fordon/projects/c/raylib/build && $(MAKE) $(MAKESILENT) -f raylib/external/glfw/src/CMakeFiles/glfw.dir/build.make raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_init.c.o | |
| 660 | +.PHONY : wl_init.c.o | |
| 709 | 661 | |
| 710 | -x11_monitor.i: x11_monitor.c.i | |
| 711 | -.PHONY : x11_monitor.i | |
| 662 | +wl_init.i: wl_init.c.i | |
| 663 | +.PHONY : wl_init.i | |
| 712 | 664 | |
| 713 | 665 | # target to preprocess a source file |
| 714 | -x11_monitor.c.i: | |
| 715 | - cd /home/fordon/projects/c/raylib/build && $(MAKE) $(MAKESILENT) -f raylib/external/glfw/src/CMakeFiles/glfw.dir/build.make raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_monitor.c.i | |
| 716 | -.PHONY : x11_monitor.c.i | |
| 666 | +wl_init.c.i: | |
| 667 | + cd /home/fordon/projects/c/raylib/build && $(MAKE) $(MAKESILENT) -f raylib/external/glfw/src/CMakeFiles/glfw.dir/build.make raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_init.c.i | |
| 668 | +.PHONY : wl_init.c.i | |
| 717 | 669 | |
| 718 | -x11_monitor.s: x11_monitor.c.s | |
| 719 | -.PHONY : x11_monitor.s | |
| 670 | +wl_init.s: wl_init.c.s | |
| 671 | +.PHONY : wl_init.s | |
| 720 | 672 | |
| 721 | 673 | # target to generate assembly for a file |
| 722 | -x11_monitor.c.s: | |
| 723 | - cd /home/fordon/projects/c/raylib/build && $(MAKE) $(MAKESILENT) -f raylib/external/glfw/src/CMakeFiles/glfw.dir/build.make raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_monitor.c.s | |
| 724 | -.PHONY : x11_monitor.c.s | |
| 674 | +wl_init.c.s: | |
| 675 | + cd /home/fordon/projects/c/raylib/build && $(MAKE) $(MAKESILENT) -f raylib/external/glfw/src/CMakeFiles/glfw.dir/build.make raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_init.c.s | |
| 676 | +.PHONY : wl_init.c.s | |
| 725 | 677 | |
| 726 | -x11_window.o: x11_window.c.o | |
| 727 | -.PHONY : x11_window.o | |
| 678 | +wl_monitor.o: wl_monitor.c.o | |
| 679 | +.PHONY : wl_monitor.o | |
| 728 | 680 | |
| 729 | 681 | # target to build an object file |
| 730 | -x11_window.c.o: | |
| 731 | - cd /home/fordon/projects/c/raylib/build && $(MAKE) $(MAKESILENT) -f raylib/external/glfw/src/CMakeFiles/glfw.dir/build.make raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_window.c.o | |
| 732 | -.PHONY : x11_window.c.o | |
| 682 | +wl_monitor.c.o: | |
| 683 | + cd /home/fordon/projects/c/raylib/build && $(MAKE) $(MAKESILENT) -f raylib/external/glfw/src/CMakeFiles/glfw.dir/build.make raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_monitor.c.o | |
| 684 | +.PHONY : wl_monitor.c.o | |
| 733 | 685 | |
| 734 | -x11_window.i: x11_window.c.i | |
| 735 | -.PHONY : x11_window.i | |
| 686 | +wl_monitor.i: wl_monitor.c.i | |
| 687 | +.PHONY : wl_monitor.i | |
| 736 | 688 | |
| 737 | 689 | # target to preprocess a source file |
| 738 | -x11_window.c.i: | |
| 739 | - cd /home/fordon/projects/c/raylib/build && $(MAKE) $(MAKESILENT) -f raylib/external/glfw/src/CMakeFiles/glfw.dir/build.make raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_window.c.i | |
| 740 | -.PHONY : x11_window.c.i | |
| 690 | +wl_monitor.c.i: | |
| 691 | + cd /home/fordon/projects/c/raylib/build && $(MAKE) $(MAKESILENT) -f raylib/external/glfw/src/CMakeFiles/glfw.dir/build.make raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_monitor.c.i | |
| 692 | +.PHONY : wl_monitor.c.i | |
| 741 | 693 | |
| 742 | -x11_window.s: x11_window.c.s | |
| 743 | -.PHONY : x11_window.s | |
| 694 | +wl_monitor.s: wl_monitor.c.s | |
| 695 | +.PHONY : wl_monitor.s | |
| 744 | 696 | |
| 745 | 697 | # target to generate assembly for a file |
| 746 | -x11_window.c.s: | |
| 747 | - cd /home/fordon/projects/c/raylib/build && $(MAKE) $(MAKESILENT) -f raylib/external/glfw/src/CMakeFiles/glfw.dir/build.make raylib/external/glfw/src/CMakeFiles/glfw.dir/x11_window.c.s | |
| 748 | -.PHONY : x11_window.c.s | |
| 698 | +wl_monitor.c.s: | |
| 699 | + cd /home/fordon/projects/c/raylib/build && $(MAKE) $(MAKESILENT) -f raylib/external/glfw/src/CMakeFiles/glfw.dir/build.make raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_monitor.c.s | |
| 700 | +.PHONY : wl_monitor.c.s | |
| 749 | 701 | |
| 750 | -xkb_unicode.o: xkb_unicode.c.o | |
| 751 | -.PHONY : xkb_unicode.o | |
| 702 | +wl_window.o: wl_window.c.o | |
| 703 | +.PHONY : wl_window.o | |
| 752 | 704 | |
| 753 | 705 | # target to build an object file |
| 754 | -xkb_unicode.c.o: | |
| 755 | - cd /home/fordon/projects/c/raylib/build && $(MAKE) $(MAKESILENT) -f raylib/external/glfw/src/CMakeFiles/glfw.dir/build.make raylib/external/glfw/src/CMakeFiles/glfw.dir/xkb_unicode.c.o | |
| 756 | -.PHONY : xkb_unicode.c.o | |
| 706 | +wl_window.c.o: | |
| 707 | + cd /home/fordon/projects/c/raylib/build && $(MAKE) $(MAKESILENT) -f raylib/external/glfw/src/CMakeFiles/glfw.dir/build.make raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_window.c.o | |
| 708 | +.PHONY : wl_window.c.o | |
| 757 | 709 | |
| 758 | -xkb_unicode.i: xkb_unicode.c.i | |
| 759 | -.PHONY : xkb_unicode.i | |
| 710 | +wl_window.i: wl_window.c.i | |
| 711 | +.PHONY : wl_window.i | |
| 760 | 712 | |
| 761 | 713 | # target to preprocess a source file |
| 762 | -xkb_unicode.c.i: | |
| 763 | - cd /home/fordon/projects/c/raylib/build && $(MAKE) $(MAKESILENT) -f raylib/external/glfw/src/CMakeFiles/glfw.dir/build.make raylib/external/glfw/src/CMakeFiles/glfw.dir/xkb_unicode.c.i | |
| 764 | -.PHONY : xkb_unicode.c.i | |
| 714 | +wl_window.c.i: | |
| 715 | + cd /home/fordon/projects/c/raylib/build && $(MAKE) $(MAKESILENT) -f raylib/external/glfw/src/CMakeFiles/glfw.dir/build.make raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_window.c.i | |
| 716 | +.PHONY : wl_window.c.i | |
| 765 | 717 | |
| 766 | -xkb_unicode.s: xkb_unicode.c.s | |
| 767 | -.PHONY : xkb_unicode.s | |
| 718 | +wl_window.s: wl_window.c.s | |
| 719 | +.PHONY : wl_window.s | |
| 768 | 720 | |
| 769 | 721 | # target to generate assembly for a file |
| 770 | -xkb_unicode.c.s: | |
| 771 | - cd /home/fordon/projects/c/raylib/build && $(MAKE) $(MAKESILENT) -f raylib/external/glfw/src/CMakeFiles/glfw.dir/build.make raylib/external/glfw/src/CMakeFiles/glfw.dir/xkb_unicode.c.s | |
| 772 | -.PHONY : xkb_unicode.c.s | |
| 722 | +wl_window.c.s: | |
| 723 | + cd /home/fordon/projects/c/raylib/build && $(MAKE) $(MAKESILENT) -f raylib/external/glfw/src/CMakeFiles/glfw.dir/build.make raylib/external/glfw/src/CMakeFiles/glfw.dir/wl_window.c.s | |
| 724 | +.PHONY : wl_window.c.s | |
| 773 | 725 | |
| 774 | 726 | # Help Target |
| 775 | 727 | help: |
| @@ -794,9 +746,6 @@ help: | ||
| 794 | 746 | @echo "... egl_context.o" |
| 795 | 747 | @echo "... egl_context.i" |
| 796 | 748 | @echo "... egl_context.s" |
| 797 | - @echo "... glx_context.o" | |
| 798 | - @echo "... glx_context.i" | |
| 799 | - @echo "... glx_context.s" | |
| 800 | 749 | @echo "... init.o" |
| 801 | 750 | @echo "... init.i" |
| 802 | 751 | @echo "... init.s" |
| @@ -845,18 +794,15 @@ help: | ||
| 845 | 794 | @echo "... window.o" |
| 846 | 795 | @echo "... window.i" |
| 847 | 796 | @echo "... window.s" |
| 848 | - @echo "... x11_init.o" | |
| 849 | - @echo "... x11_init.i" | |
| 850 | - @echo "... x11_init.s" | |
| 851 | - @echo "... x11_monitor.o" | |
| 852 | - @echo "... x11_monitor.i" | |
| 853 | - @echo "... x11_monitor.s" | |
| 854 | - @echo "... x11_window.o" | |
| 855 | - @echo "... x11_window.i" | |
| 856 | - @echo "... x11_window.s" | |
| 857 | - @echo "... xkb_unicode.o" | |
| 858 | - @echo "... xkb_unicode.i" | |
| 859 | - @echo "... xkb_unicode.s" | |
| 797 | + @echo "... wl_init.o" | |
| 798 | + @echo "... wl_init.i" | |
| 799 | + @echo "... wl_init.s" | |
| 800 | + @echo "... wl_monitor.o" | |
| 801 | + @echo "... wl_monitor.i" | |
| 802 | + @echo "... wl_monitor.s" | |
| 803 | + @echo "... wl_window.o" | |
| 804 | + @echo "... wl_window.i" | |
| 805 | + @echo "... wl_window.s" | |
| 860 | 806 | .PHONY : help |
| 861 | 807 | |
| 862 | 808 |
+74 −0 raylib/external/glfw/src/fractional-scale-v1-client-protocol-code.h new file mode 100644 Large diff collapsed, click to expand
| @@ -0,0 +1,74 @@ | ||
| 1 | +/* Generated by wayland-scanner 1.26.0 */ | |
| 2 | + | |
| 3 | +/* | |
| 4 | + * Copyright �� 2022 Kenny Levinsen | |
| 5 | + * | |
| 6 | + * Permission is hereby granted, free of charge, to any person obtaining a | |
| 7 | + * copy of this software and associated documentation files (the "Software"), | |
| 8 | + * to deal in the Software without restriction, including without limitation | |
| 9 | + * the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
| 10 | + * and/or sell copies of the Software, and to permit persons to whom the | |
| 11 | + * Software is furnished to do so, subject to the following conditions: | |
| 12 | + * | |
| 13 | + * The above copyright notice and this permission notice (including the next | |
| 14 | + * paragraph) shall be included in all copies or substantial portions of the | |
| 15 | + * Software. | |
| 16 | + * | |
| 17 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| 18 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| 19 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | |
| 20 | + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| 21 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
| 22 | + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | |
| 23 | + * DEALINGS IN THE SOFTWARE. | |
| 24 | + */ | |
| 25 | + | |
| 26 | +#include <stdbool.h> | |
| 27 | +#include <stdlib.h> | |
| 28 | +#include <stdint.h> | |
| 29 | +#include "wayland-util.h" | |
| 30 | + | |
| 31 | +#ifndef __has_attribute | |
| 32 | +# define __has_attribute(x) 0 /* Compatibility with non-clang compilers. */ | |
| 33 | +#endif | |
| 34 | + | |
| 35 | +#if (__has_attribute(visibility) || defined(__GNUC__) && __GNUC__ >= 4) | |
| 36 | +#define WL_PRIVATE __attribute__ ((visibility("hidden"))) | |
| 37 | +#else | |
| 38 | +#define WL_PRIVATE | |
| 39 | +#endif | |
| 40 | + | |
| 41 | +extern const struct wl_interface wl_surface_interface; | |
| 42 | +extern const struct wl_interface wp_fractional_scale_v1_interface; | |
| 43 | + | |
| 44 | +static const struct wl_interface *fractional_scale_v1_types[] = { | |
| 45 | + NULL, | |
| 46 | + &wp_fractional_scale_v1_interface, | |
| 47 | + &wl_surface_interface, | |
| 48 | +}; | |
| 49 | + | |
| 50 | +static const struct wl_message wp_fractional_scale_manager_v1_requests[] = { | |
| 51 | + { "destroy", "", fractional_scale_v1_types + 0 }, | |
| 52 | + { "get_fractional_scale", "no", fractional_scale_v1_types + 1 }, | |
| 53 | +}; | |
| 54 | + | |
| 55 | +WL_PRIVATE const struct wl_interface wp_fractional_scale_manager_v1_interface = { | |
| 56 | + "wp_fractional_scale_manager_v1", 1, | |
| 57 | + 2, wp_fractional_scale_manager_v1_requests, | |
| 58 | + 0, NULL, | |
| 59 | +}; | |
| 60 | + | |
| 61 | +static const struct wl_message wp_fractional_scale_v1_requests[] = { | |
| 62 | + { "destroy", "", fractional_scale_v1_types + 0 }, | |
| 63 | +}; | |
| 64 | + | |
| 65 | +static const struct wl_message wp_fractional_scale_v1_events[] = { | |
| 66 | + { "preferred_scale", "u", fractional_scale_v1_types + 0 }, | |
| 67 | +}; | |
| 68 | + | |
| 69 | +WL_PRIVATE const struct wl_interface wp_fractional_scale_v1_interface = { | |
| 70 | + "wp_fractional_scale_v1", 1, | |
| 71 | + 1, wp_fractional_scale_v1_requests, | |
| 72 | + 1, wp_fractional_scale_v1_events, | |
| 73 | +}; | |
| 74 | + |
+264 −0 raylib/external/glfw/src/fractional-scale-v1-client-protocol.h new file mode 100644 Large diff collapsed, click to expand
| @@ -0,0 +1,264 @@ | ||
| 1 | +/* Generated by wayland-scanner 1.26.0 */ | |
| 2 | + | |
| 3 | +#ifndef FRACTIONAL_SCALE_V1_CLIENT_PROTOCOL_H | |
| 4 | +#define FRACTIONAL_SCALE_V1_CLIENT_PROTOCOL_H | |
| 5 | + | |
| 6 | +#include <stdint.h> | |
| 7 | +#include <stddef.h> | |
| 8 | +#include "wayland-client.h" | |
| 9 | + | |
| 10 | +#ifdef __cplusplus | |
| 11 | +extern "C" { | |
| 12 | +#endif | |
| 13 | + | |
| 14 | +/** | |
| 15 | + * @page page_fractional_scale_v1 The fractional_scale_v1 protocol | |
| 16 | + * Protocol for requesting fractional surface scales | |
| 17 | + * | |
| 18 | + * @section page_desc_fractional_scale_v1 Description | |
| 19 | + * | |
| 20 | + * This protocol allows a compositor to suggest for surfaces to render at | |
| 21 | + * fractional scales. | |
| 22 | + * | |
| 23 | + * A client can submit scaled content by utilizing wp_viewport. This is done by | |
| 24 | + * creating a wp_viewport object for the surface and setting the destination | |
| 25 | + * rectangle to the surface size before the scale factor is applied. | |
| 26 | + * | |
| 27 | + * The buffer size is calculated by multiplying the surface size by the | |
| 28 | + * intended scale. | |
| 29 | + * | |
| 30 | + * The wl_surface buffer scale should remain set to 1. | |
| 31 | + * | |
| 32 | + * If a surface has a surface-local size of 100 px by 50 px and wishes to | |
| 33 | + * submit buffers with a scale of 1.5, then a buffer of 150px by 75 px should | |
| 34 | + * be used and the wp_viewport destination rectangle should be 100 px by 50 px. | |
| 35 | + * | |
| 36 | + * For toplevel surfaces, the size is rounded halfway away from zero. The | |
| 37 | + * rounding algorithm for subsurface position and size is not defined. | |
| 38 | + * | |
| 39 | + * @section page_ifaces_fractional_scale_v1 Interfaces | |
| 40 | + * - @subpage page_iface_wp_fractional_scale_manager_v1 - fractional surface scale information | |
| 41 | + * - @subpage page_iface_wp_fractional_scale_v1 - fractional scale interface to a wl_surface | |
| 42 | + * @section page_copyright_fractional_scale_v1 Copyright | |
| 43 | + * <pre> | |
| 44 | + * | |
| 45 | + * Copyright �� 2022 Kenny Levinsen | |
| 46 | + * | |
| 47 | + * Permission is hereby granted, free of charge, to any person obtaining a | |
| 48 | + * copy of this software and associated documentation files (the "Software"), | |
| 49 | + * to deal in the Software without restriction, including without limitation | |
| 50 | + * the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
| 51 | + * and/or sell copies of the Software, and to permit persons to whom the | |
| 52 | + * Software is furnished to do so, subject to the following conditions: | |
| 53 | + * | |
| 54 | + * The above copyright notice and this permission notice (including the next | |
| 55 | + * paragraph) shall be included in all copies or substantial portions of the | |
| 56 | + * Software. | |
| 57 | + * | |
| 58 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| 59 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| 60 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | |
| 61 | + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| 62 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
| 63 | + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | |
| 64 | + * DEALINGS IN THE SOFTWARE. | |
| 65 | + * </pre> | |
| 66 | + */ | |
| 67 | +struct wl_surface; | |
| 68 | +struct wp_fractional_scale_manager_v1; | |
| 69 | +struct wp_fractional_scale_v1; | |
| 70 | + | |
| 71 | +#ifndef WP_FRACTIONAL_SCALE_MANAGER_V1_INTERFACE | |
| 72 | +#define WP_FRACTIONAL_SCALE_MANAGER_V1_INTERFACE | |
| 73 | +/** | |
| 74 | + * @page page_iface_wp_fractional_scale_manager_v1 wp_fractional_scale_manager_v1 | |
| 75 | + * @section page_iface_wp_fractional_scale_manager_v1_desc Description | |
| 76 | + * | |
| 77 | + * A global interface for requesting surfaces to use fractional scales. | |
| 78 | + * @section page_iface_wp_fractional_scale_manager_v1_api API | |
| 79 | + * See @ref iface_wp_fractional_scale_manager_v1. | |
| 80 | + */ | |
| 81 | +/** | |
| 82 | + * @defgroup iface_wp_fractional_scale_manager_v1 The wp_fractional_scale_manager_v1 interface | |
| 83 | + * | |
| 84 | + * A global interface for requesting surfaces to use fractional scales. | |
| 85 | + */ | |
| 86 | +extern const struct wl_interface wp_fractional_scale_manager_v1_interface; | |
| 87 | +#endif | |
| 88 | +#ifndef WP_FRACTIONAL_SCALE_V1_INTERFACE | |
| 89 | +#define WP_FRACTIONAL_SCALE_V1_INTERFACE | |
| 90 | +/** | |
| 91 | + * @page page_iface_wp_fractional_scale_v1 wp_fractional_scale_v1 | |
| 92 | + * @section page_iface_wp_fractional_scale_v1_desc Description | |
| 93 | + * | |
| 94 | + * An additional interface to a wl_surface object which allows the compositor | |
| 95 | + * to inform the client of the preferred scale. | |
| 96 | + * @section page_iface_wp_fractional_scale_v1_api API | |
| 97 | + * See @ref iface_wp_fractional_scale_v1. | |
| 98 | + */ | |
| 99 | +/** | |
| 100 | + * @defgroup iface_wp_fractional_scale_v1 The wp_fractional_scale_v1 interface | |
| 101 | + * | |
| 102 | + * An additional interface to a wl_surface object which allows the compositor | |
| 103 | + * to inform the client of the preferred scale. | |
| 104 | + */ | |
| 105 | +extern const struct wl_interface wp_fractional_scale_v1_interface; | |
| 106 | +#endif | |
| 107 | + | |
| 108 | +#ifndef WP_FRACTIONAL_SCALE_MANAGER_V1_ERROR_ENUM | |
| 109 | +#define WP_FRACTIONAL_SCALE_MANAGER_V1_ERROR_ENUM | |
| 110 | +enum wp_fractional_scale_manager_v1_error { | |
| 111 | + /** | |
| 112 | + * the surface already has a fractional_scale object associated | |
| 113 | + */ | |
| 114 | + WP_FRACTIONAL_SCALE_MANAGER_V1_ERROR_FRACTIONAL_SCALE_EXISTS = 0, | |
| 115 | +}; | |
| 116 | +#endif /* WP_FRACTIONAL_SCALE_MANAGER_V1_ERROR_ENUM */ | |
| 117 | + | |
| 118 | +#define WP_FRACTIONAL_SCALE_MANAGER_V1_DESTROY 0 | |
| 119 | +#define WP_FRACTIONAL_SCALE_MANAGER_V1_GET_FRACTIONAL_SCALE 1 | |
| 120 | + | |
| 121 | + | |
| 122 | +/** | |
| 123 | + * @ingroup iface_wp_fractional_scale_manager_v1 | |
| 124 | + */ | |
| 125 | +#define WP_FRACTIONAL_SCALE_MANAGER_V1_DESTROY_SINCE_VERSION 1 | |
| 126 | +/** | |
| 127 | + * @ingroup iface_wp_fractional_scale_manager_v1 | |
| 128 | + */ | |
| 129 | +#define WP_FRACTIONAL_SCALE_MANAGER_V1_GET_FRACTIONAL_SCALE_SINCE_VERSION 1 | |
| 130 | + | |
| 131 | +/** @ingroup iface_wp_fractional_scale_manager_v1 */ | |
| 132 | +static inline void | |
| 133 | +wp_fractional_scale_manager_v1_set_user_data(struct wp_fractional_scale_manager_v1 *wp_fractional_scale_manager_v1, void *user_data) | |
| 134 | +{ | |
| 135 | + wl_proxy_set_user_data((struct wl_proxy *) wp_fractional_scale_manager_v1, user_data); | |
| 136 | +} | |
| 137 | + | |
| 138 | +/** @ingroup iface_wp_fractional_scale_manager_v1 */ | |
| 139 | +static inline void * | |
| 140 | +wp_fractional_scale_manager_v1_get_user_data(struct wp_fractional_scale_manager_v1 *wp_fractional_scale_manager_v1) | |
| 141 | +{ | |
| 142 | + return wl_proxy_get_user_data((struct wl_proxy *) wp_fractional_scale_manager_v1); | |
| 143 | +} | |
| 144 | + | |
| 145 | +static inline uint32_t | |
| 146 | +wp_fractional_scale_manager_v1_get_version(struct wp_fractional_scale_manager_v1 *wp_fractional_scale_manager_v1) | |
| 147 | +{ | |
| 148 | + return wl_proxy_get_version((struct wl_proxy *) wp_fractional_scale_manager_v1); | |
| 149 | +} | |
| 150 | + | |
| 151 | +/** | |
| 152 | + * @ingroup iface_wp_fractional_scale_manager_v1 | |
| 153 | + * | |
| 154 | + * Informs the server that the client will not be using this protocol | |
| 155 | + * object anymore. This does not affect any other objects, | |
| 156 | + * wp_fractional_scale_v1 objects included. | |
| 157 | + */ | |
| 158 | +static inline void | |
| 159 | +wp_fractional_scale_manager_v1_destroy(struct wp_fractional_scale_manager_v1 *wp_fractional_scale_manager_v1) | |
| 160 | +{ | |
| 161 | + wl_proxy_marshal_flags((struct wl_proxy *) wp_fractional_scale_manager_v1, | |
| 162 | + WP_FRACTIONAL_SCALE_MANAGER_V1_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) wp_fractional_scale_manager_v1), WL_MARSHAL_FLAG_DESTROY); | |
| 163 | +} | |
| 164 | + | |
| 165 | +/** | |
| 166 | + * @ingroup iface_wp_fractional_scale_manager_v1 | |
| 167 | + * | |
| 168 | + * Create an add-on object for the the wl_surface to let the compositor | |
| 169 | + * request fractional scales. If the given wl_surface already has a | |
| 170 | + * wp_fractional_scale_v1 object associated, the fractional_scale_exists | |
| 171 | + * protocol error is raised. | |
| 172 | + */ | |
| 173 | +static inline struct wp_fractional_scale_v1 * | |
| 174 | +wp_fractional_scale_manager_v1_get_fractional_scale(struct wp_fractional_scale_manager_v1 *wp_fractional_scale_manager_v1, struct wl_surface *surface) | |
| 175 | +{ | |
| 176 | + struct wl_proxy *id; | |
| 177 | + | |
| 178 | + id = wl_proxy_marshal_flags((struct wl_proxy *) wp_fractional_scale_manager_v1, | |
| 179 | + WP_FRACTIONAL_SCALE_MANAGER_V1_GET_FRACTIONAL_SCALE, &wp_fractional_scale_v1_interface, wl_proxy_get_version((struct wl_proxy *) wp_fractional_scale_manager_v1), 0, NULL, surface); | |
| 180 | + | |
| 181 | + return (struct wp_fractional_scale_v1 *) id; | |
| 182 | +} | |
| 183 | + | |
| 184 | +/** | |
| 185 | + * @ingroup iface_wp_fractional_scale_v1 | |
| 186 | + * @struct wp_fractional_scale_v1_listener | |
| 187 | + */ | |
| 188 | +struct wp_fractional_scale_v1_listener { | |
| 189 | + /** | |
| 190 | + * notify of new preferred scale | |
| 191 | + * | |
| 192 | + * Notification of a new preferred scale for this surface that | |
| 193 | + * the compositor suggests that the client should use. | |
| 194 | + * | |
| 195 | + * The sent scale is the numerator of a fraction with a denominator | |
| 196 | + * of 120. | |
| 197 | + * @param scale the new preferred scale | |
| 198 | + */ | |
| 199 | + void (*preferred_scale)(void *data, | |
| 200 | + struct wp_fractional_scale_v1 *wp_fractional_scale_v1, | |
| 201 | + uint32_t scale); | |
| 202 | +}; | |
| 203 | + | |
| 204 | +/** | |
| 205 | + * @ingroup iface_wp_fractional_scale_v1 | |
| 206 | + */ | |
| 207 | +static inline int | |
| 208 | +wp_fractional_scale_v1_add_listener(struct wp_fractional_scale_v1 *wp_fractional_scale_v1, | |
| 209 | + const struct wp_fractional_scale_v1_listener *listener, void *data) | |
| 210 | +{ | |
| 211 | + return wl_proxy_add_listener((struct wl_proxy *) wp_fractional_scale_v1, | |
| 212 | + (void (**)(void)) listener, data); | |
| 213 | +} | |
| 214 | + | |
| 215 | +#define WP_FRACTIONAL_SCALE_V1_DESTROY 0 | |
| 216 | + | |
| 217 | +/** | |
| 218 | + * @ingroup iface_wp_fractional_scale_v1 | |
| 219 | + */ | |
| 220 | +#define WP_FRACTIONAL_SCALE_V1_PREFERRED_SCALE_SINCE_VERSION 1 | |
| 221 | + | |
| 222 | +/** | |
| 223 | + * @ingroup iface_wp_fractional_scale_v1 | |
| 224 | + */ | |
| 225 | +#define WP_FRACTIONAL_SCALE_V1_DESTROY_SINCE_VERSION 1 | |
| 226 | + | |
| 227 | +/** @ingroup iface_wp_fractional_scale_v1 */ | |
| 228 | +static inline void | |
| 229 | +wp_fractional_scale_v1_set_user_data(struct wp_fractional_scale_v1 *wp_fractional_scale_v1, void *user_data) | |
| 230 | +{ | |
| 231 | + wl_proxy_set_user_data((struct wl_proxy *) wp_fractional_scale_v1, user_data); | |
| 232 | +} | |
| 233 | + | |
| 234 | +/** @ingroup iface_wp_fractional_scale_v1 */ | |
| 235 | +static inline void * | |
| 236 | +wp_fractional_scale_v1_get_user_data(struct wp_fractional_scale_v1 *wp_fractional_scale_v1) | |
| 237 | +{ | |
| 238 | + return wl_proxy_get_user_data((struct wl_proxy *) wp_fractional_scale_v1); | |
| 239 | +} | |
| 240 | + | |
| 241 | +static inline uint32_t | |
| 242 | +wp_fractional_scale_v1_get_version(struct wp_fractional_scale_v1 *wp_fractional_scale_v1) | |
| 243 | +{ | |
| 244 | + return wl_proxy_get_version((struct wl_proxy *) wp_fractional_scale_v1); | |
| 245 | +} | |
| 246 | + | |
| 247 | +/** | |
| 248 | + * @ingroup iface_wp_fractional_scale_v1 | |
| 249 | + * | |
| 250 | + * Destroy the fractional scale object. When this object is destroyed, | |
| 251 | + * preferred_scale events will no longer be sent. | |
| 252 | + */ | |
| 253 | +static inline void | |
| 254 | +wp_fractional_scale_v1_destroy(struct wp_fractional_scale_v1 *wp_fractional_scale_v1) | |
| 255 | +{ | |
| 256 | + wl_proxy_marshal_flags((struct wl_proxy *) wp_fractional_scale_v1, | |
| 257 | + WP_FRACTIONAL_SCALE_V1_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) wp_fractional_scale_v1), WL_MARSHAL_FLAG_DESTROY); | |
| 258 | +} | |
| 259 | + | |
| 260 | +#ifdef __cplusplus | |
| 261 | +} | |
| 262 | +#endif | |
| 263 | + | |
| 264 | +#endif |
+69 −0 raylib/external/glfw/src/idle-inhibit-unstable-v1-client-protocol-code.h new file mode 100644 Large diff collapsed, click to expand
| @@ -0,0 +1,69 @@ | ||
| 1 | +/* Generated by wayland-scanner 1.26.0 */ | |
| 2 | + | |
| 3 | +/* | |
| 4 | + * Copyright �� 2015 Samsung Electronics Co., Ltd | |
| 5 | + * | |
| 6 | + * Permission is hereby granted, free of charge, to any person obtaining a | |
| 7 | + * copy of this software and associated documentation files (the "Software"), | |
| 8 | + * to deal in the Software without restriction, including without limitation | |
| 9 | + * the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
| 10 | + * and/or sell copies of the Software, and to permit persons to whom the | |
| 11 | + * Software is furnished to do so, subject to the following conditions: | |
| 12 | + * | |
| 13 | + * The above copyright notice and this permission notice (including the next | |
| 14 | + * paragraph) shall be included in all copies or substantial portions of the | |
| 15 | + * Software. | |
| 16 | + * | |
| 17 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| 18 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| 19 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | |
| 20 | + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| 21 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
| 22 | + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | |
| 23 | + * DEALINGS IN THE SOFTWARE. | |
| 24 | + */ | |
| 25 | + | |
| 26 | +#include <stdbool.h> | |
| 27 | +#include <stdlib.h> | |
| 28 | +#include <stdint.h> | |
| 29 | +#include "wayland-util.h" | |
| 30 | + | |
| 31 | +#ifndef __has_attribute | |
| 32 | +# define __has_attribute(x) 0 /* Compatibility with non-clang compilers. */ | |
| 33 | +#endif | |
| 34 | + | |
| 35 | +#if (__has_attribute(visibility) || defined(__GNUC__) && __GNUC__ >= 4) | |
| 36 | +#define WL_PRIVATE __attribute__ ((visibility("hidden"))) | |
| 37 | +#else | |
| 38 | +#define WL_PRIVATE | |
| 39 | +#endif | |
| 40 | + | |
| 41 | +extern const struct wl_interface wl_surface_interface; | |
| 42 | +extern const struct wl_interface zwp_idle_inhibitor_v1_interface; | |
| 43 | + | |
| 44 | +static const struct wl_interface *idle_inhibit_unstable_v1_types[] = { | |
| 45 | + &zwp_idle_inhibitor_v1_interface, | |
| 46 | + &wl_surface_interface, | |
| 47 | +}; | |
| 48 | + | |
| 49 | +static const struct wl_message zwp_idle_inhibit_manager_v1_requests[] = { | |
| 50 | + { "destroy", "", idle_inhibit_unstable_v1_types + 0 }, | |
| 51 | + { "create_inhibitor", "no", idle_inhibit_unstable_v1_types + 0 }, | |
| 52 | +}; | |
| 53 | + | |
| 54 | +WL_PRIVATE const struct wl_interface zwp_idle_inhibit_manager_v1_interface = { | |
| 55 | + "zwp_idle_inhibit_manager_v1", 1, | |
| 56 | + 2, zwp_idle_inhibit_manager_v1_requests, | |
| 57 | + 0, NULL, | |
| 58 | +}; | |
| 59 | + | |
| 60 | +static const struct wl_message zwp_idle_inhibitor_v1_requests[] = { | |
| 61 | + { "destroy", "", idle_inhibit_unstable_v1_types + 0 }, | |
| 62 | +}; | |
| 63 | + | |
| 64 | +WL_PRIVATE const struct wl_interface zwp_idle_inhibitor_v1_interface = { | |
| 65 | + "zwp_idle_inhibitor_v1", 1, | |
| 66 | + 1, zwp_idle_inhibitor_v1_requests, | |
| 67 | + 0, NULL, | |
| 68 | +}; | |
| 69 | + |
+232 −0 raylib/external/glfw/src/idle-inhibit-unstable-v1-client-protocol.h new file mode 100644 Large diff collapsed, click to expand
| @@ -0,0 +1,232 @@ | ||
| 1 | +/* Generated by wayland-scanner 1.26.0 */ | |
| 2 | + | |
| 3 | +#ifndef IDLE_INHIBIT_UNSTABLE_V1_CLIENT_PROTOCOL_H | |
| 4 | +#define IDLE_INHIBIT_UNSTABLE_V1_CLIENT_PROTOCOL_H | |
| 5 | + | |
| 6 | +#include <stdint.h> | |
| 7 | +#include <stddef.h> | |
| 8 | +#include "wayland-client.h" | |
| 9 | + | |
| 10 | +#ifdef __cplusplus | |
| 11 | +extern "C" { | |
| 12 | +#endif | |
| 13 | + | |
| 14 | +/** | |
| 15 | + * @page page_idle_inhibit_unstable_v1 The idle_inhibit_unstable_v1 protocol | |
| 16 | + * @section page_ifaces_idle_inhibit_unstable_v1 Interfaces | |
| 17 | + * - @subpage page_iface_zwp_idle_inhibit_manager_v1 - control behavior when display idles | |
| 18 | + * - @subpage page_iface_zwp_idle_inhibitor_v1 - context object for inhibiting idle behavior | |
| 19 | + * @section page_copyright_idle_inhibit_unstable_v1 Copyright | |
| 20 | + * <pre> | |
| 21 | + * | |
| 22 | + * Copyright �� 2015 Samsung Electronics Co., Ltd | |
| 23 | + * | |
| 24 | + * Permission is hereby granted, free of charge, to any person obtaining a | |
| 25 | + * copy of this software and associated documentation files (the "Software"), | |
| 26 | + * to deal in the Software without restriction, including without limitation | |
| 27 | + * the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
| 28 | + * and/or sell copies of the Software, and to permit persons to whom the | |
| 29 | + * Software is furnished to do so, subject to the following conditions: | |
| 30 | + * | |
| 31 | + * The above copyright notice and this permission notice (including the next | |
| 32 | + * paragraph) shall be included in all copies or substantial portions of the | |
| 33 | + * Software. | |
| 34 | + * | |
| 35 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| 36 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| 37 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | |
| 38 | + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| 39 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
| 40 | + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | |
| 41 | + * DEALINGS IN THE SOFTWARE. | |
| 42 | + * </pre> | |
| 43 | + */ | |
| 44 | +struct wl_surface; | |
| 45 | +struct zwp_idle_inhibit_manager_v1; | |
| 46 | +struct zwp_idle_inhibitor_v1; | |
| 47 | + | |
| 48 | +#ifndef ZWP_IDLE_INHIBIT_MANAGER_V1_INTERFACE | |
| 49 | +#define ZWP_IDLE_INHIBIT_MANAGER_V1_INTERFACE | |
| 50 | +/** | |
| 51 | + * @page page_iface_zwp_idle_inhibit_manager_v1 zwp_idle_inhibit_manager_v1 | |
| 52 | + * @section page_iface_zwp_idle_inhibit_manager_v1_desc Description | |
| 53 | + * | |
| 54 | + * This interface permits inhibiting the idle behavior such as screen | |
| 55 | + * blanking, locking, and screensaving. The client binds the idle manager | |
| 56 | + * globally, then creates idle-inhibitor objects for each surface. | |
| 57 | + * | |
| 58 | + * Warning! The protocol described in this file is experimental and | |
| 59 | + * backward incompatible changes may be made. Backward compatible changes | |
| 60 | + * may be added together with the corresponding interface version bump. | |
| 61 | + * Backward incompatible changes are done by bumping the version number in | |
| 62 | + * the protocol and interface names and resetting the interface version. | |
| 63 | + * Once the protocol is to be declared stable, the 'z' prefix and the | |
| 64 | + * version number in the protocol and interface names are removed and the | |
| 65 | + * interface version number is reset. | |
| 66 | + * @section page_iface_zwp_idle_inhibit_manager_v1_api API | |
| 67 | + * See @ref iface_zwp_idle_inhibit_manager_v1. | |
| 68 | + */ | |
| 69 | +/** | |
| 70 | + * @defgroup iface_zwp_idle_inhibit_manager_v1 The zwp_idle_inhibit_manager_v1 interface | |
| 71 | + * | |
| 72 | + * This interface permits inhibiting the idle behavior such as screen | |
| 73 | + * blanking, locking, and screensaving. The client binds the idle manager | |
| 74 | + * globally, then creates idle-inhibitor objects for each surface. | |
| 75 | + * | |
| 76 | + * Warning! The protocol described in this file is experimental and | |
| 77 | + * backward incompatible changes may be made. Backward compatible changes | |
| 78 | + * may be added together with the corresponding interface version bump. | |
| 79 | + * Backward incompatible changes are done by bumping the version number in | |
| 80 | + * the protocol and interface names and resetting the interface version. | |
| 81 | + * Once the protocol is to be declared stable, the 'z' prefix and the | |
| 82 | + * version number in the protocol and interface names are removed and the | |
| 83 | + * interface version number is reset. | |
| 84 | + */ | |
| 85 | +extern const struct wl_interface zwp_idle_inhibit_manager_v1_interface; | |
| 86 | +#endif | |
| 87 | +#ifndef ZWP_IDLE_INHIBITOR_V1_INTERFACE | |
| 88 | +#define ZWP_IDLE_INHIBITOR_V1_INTERFACE | |
| 89 | +/** | |
| 90 | + * @page page_iface_zwp_idle_inhibitor_v1 zwp_idle_inhibitor_v1 | |
| 91 | + * @section page_iface_zwp_idle_inhibitor_v1_desc Description | |
| 92 | + * | |
| 93 | + * An idle inhibitor prevents the output that the associated surface is | |
| 94 | + * visible on from being set to a state where it is not visually usable due | |
| 95 | + * to lack of user interaction (e.g. blanked, dimmed, locked, set to power | |
| 96 | + * save, etc.) Any screensaver processes are also blocked from displaying. | |
| 97 | + * | |
| 98 | + * If the surface is destroyed, unmapped, becomes occluded, loses | |
| 99 | + * visibility, or otherwise becomes not visually relevant for the user, the | |
| 100 | + * idle inhibitor will not be honored by the compositor; if the surface | |
| 101 | + * subsequently regains visibility the inhibitor takes effect once again. | |
| 102 | + * Likewise, the inhibitor isn't honored if the system was already idled at | |
| 103 | + * the time the inhibitor was established, although if the system later | |
| 104 | + * de-idles and re-idles the inhibitor will take effect. | |
| 105 | + * @section page_iface_zwp_idle_inhibitor_v1_api API | |
| 106 | + * See @ref iface_zwp_idle_inhibitor_v1. | |
| 107 | + */ | |
| 108 | +/** | |
| 109 | + * @defgroup iface_zwp_idle_inhibitor_v1 The zwp_idle_inhibitor_v1 interface | |
| 110 | + * | |
| 111 | + * An idle inhibitor prevents the output that the associated surface is | |
| 112 | + * visible on from being set to a state where it is not visually usable due | |
| 113 | + * to lack of user interaction (e.g. blanked, dimmed, locked, set to power | |
| 114 | + * save, etc.) Any screensaver processes are also blocked from displaying. | |
| 115 | + * | |
| 116 | + * If the surface is destroyed, unmapped, becomes occluded, loses | |
| 117 | + * visibility, or otherwise becomes not visually relevant for the user, the | |
| 118 | + * idle inhibitor will not be honored by the compositor; if the surface | |
| 119 | + * subsequently regains visibility the inhibitor takes effect once again. | |
| 120 | + * Likewise, the inhibitor isn't honored if the system was already idled at | |
| 121 | + * the time the inhibitor was established, although if the system later | |
| 122 | + * de-idles and re-idles the inhibitor will take effect. | |
| 123 | + */ | |
| 124 | +extern const struct wl_interface zwp_idle_inhibitor_v1_interface; | |
| 125 | +#endif | |
| 126 | + | |
| 127 | +#define ZWP_IDLE_INHIBIT_MANAGER_V1_DESTROY 0 | |
| 128 | +#define ZWP_IDLE_INHIBIT_MANAGER_V1_CREATE_INHIBITOR 1 | |
| 129 | + | |
| 130 | + | |
| 131 | +/** | |
| 132 | + * @ingroup iface_zwp_idle_inhibit_manager_v1 | |
| 133 | + */ | |
| 134 | +#define ZWP_IDLE_INHIBIT_MANAGER_V1_DESTROY_SINCE_VERSION 1 | |
| 135 | +/** | |
| 136 | + * @ingroup iface_zwp_idle_inhibit_manager_v1 | |
| 137 | + */ | |
| 138 | +#define ZWP_IDLE_INHIBIT_MANAGER_V1_CREATE_INHIBITOR_SINCE_VERSION 1 | |
| 139 | + | |
| 140 | +/** @ingroup iface_zwp_idle_inhibit_manager_v1 */ | |
| 141 | +static inline void | |
| 142 | +zwp_idle_inhibit_manager_v1_set_user_data(struct zwp_idle_inhibit_manager_v1 *zwp_idle_inhibit_manager_v1, void *user_data) | |
| 143 | +{ | |
| 144 | + wl_proxy_set_user_data((struct wl_proxy *) zwp_idle_inhibit_manager_v1, user_data); | |
| 145 | +} | |
| 146 | + | |
| 147 | +/** @ingroup iface_zwp_idle_inhibit_manager_v1 */ | |
| 148 | +static inline void * | |
| 149 | +zwp_idle_inhibit_manager_v1_get_user_data(struct zwp_idle_inhibit_manager_v1 *zwp_idle_inhibit_manager_v1) | |
| 150 | +{ | |
| 151 | + return wl_proxy_get_user_data((struct wl_proxy *) zwp_idle_inhibit_manager_v1); | |
| 152 | +} | |
| 153 | + | |
| 154 | +static inline uint32_t | |
| 155 | +zwp_idle_inhibit_manager_v1_get_version(struct zwp_idle_inhibit_manager_v1 *zwp_idle_inhibit_manager_v1) | |
| 156 | +{ | |
| 157 | + return wl_proxy_get_version((struct wl_proxy *) zwp_idle_inhibit_manager_v1); | |
| 158 | +} | |
| 159 | + | |
| 160 | +/** | |
| 161 | + * @ingroup iface_zwp_idle_inhibit_manager_v1 | |
| 162 | + * | |
| 163 | + * Destroy the inhibit manager. | |
| 164 | + */ | |
| 165 | +static inline void | |
| 166 | +zwp_idle_inhibit_manager_v1_destroy(struct zwp_idle_inhibit_manager_v1 *zwp_idle_inhibit_manager_v1) | |
| 167 | +{ | |
| 168 | + wl_proxy_marshal_flags((struct wl_proxy *) zwp_idle_inhibit_manager_v1, | |
| 169 | + ZWP_IDLE_INHIBIT_MANAGER_V1_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) zwp_idle_inhibit_manager_v1), WL_MARSHAL_FLAG_DESTROY); | |
| 170 | +} | |
| 171 | + | |
| 172 | +/** | |
| 173 | + * @ingroup iface_zwp_idle_inhibit_manager_v1 | |
| 174 | + * | |
| 175 | + * Create a new inhibitor object associated with the given surface. | |
| 176 | + */ | |
| 177 | +static inline struct zwp_idle_inhibitor_v1 * | |
| 178 | +zwp_idle_inhibit_manager_v1_create_inhibitor(struct zwp_idle_inhibit_manager_v1 *zwp_idle_inhibit_manager_v1, struct wl_surface *surface) | |
| 179 | +{ | |
| 180 | + struct wl_proxy *id; | |
| 181 | + | |
| 182 | + id = wl_proxy_marshal_flags((struct wl_proxy *) zwp_idle_inhibit_manager_v1, | |
| 183 | + ZWP_IDLE_INHIBIT_MANAGER_V1_CREATE_INHIBITOR, &zwp_idle_inhibitor_v1_interface, wl_proxy_get_version((struct wl_proxy *) zwp_idle_inhibit_manager_v1), 0, NULL, surface); | |
| 184 | + | |
| 185 | + return (struct zwp_idle_inhibitor_v1 *) id; | |
| 186 | +} | |
| 187 | + | |
| 188 | +#define ZWP_IDLE_INHIBITOR_V1_DESTROY 0 | |
| 189 | + | |
| 190 | + | |
| 191 | +/** | |
| 192 | + * @ingroup iface_zwp_idle_inhibitor_v1 | |
| 193 | + */ | |
| 194 | +#define ZWP_IDLE_INHIBITOR_V1_DESTROY_SINCE_VERSION 1 | |
| 195 | + | |
| 196 | +/** @ingroup iface_zwp_idle_inhibitor_v1 */ | |
| 197 | +static inline void | |
| 198 | +zwp_idle_inhibitor_v1_set_user_data(struct zwp_idle_inhibitor_v1 *zwp_idle_inhibitor_v1, void *user_data) | |
| 199 | +{ | |
| 200 | + wl_proxy_set_user_data((struct wl_proxy *) zwp_idle_inhibitor_v1, user_data); | |
| 201 | +} | |
| 202 | + | |
| 203 | +/** @ingroup iface_zwp_idle_inhibitor_v1 */ | |
| 204 | +static inline void * | |
| 205 | +zwp_idle_inhibitor_v1_get_user_data(struct zwp_idle_inhibitor_v1 *zwp_idle_inhibitor_v1) | |
| 206 | +{ | |
| 207 | + return wl_proxy_get_user_data((struct wl_proxy *) zwp_idle_inhibitor_v1); | |
| 208 | +} | |
| 209 | + | |
| 210 | +static inline uint32_t | |
| 211 | +zwp_idle_inhibitor_v1_get_version(struct zwp_idle_inhibitor_v1 *zwp_idle_inhibitor_v1) | |
| 212 | +{ | |
| 213 | + return wl_proxy_get_version((struct wl_proxy *) zwp_idle_inhibitor_v1); | |
| 214 | +} | |
| 215 | + | |
| 216 | +/** | |
| 217 | + * @ingroup iface_zwp_idle_inhibitor_v1 | |
| 218 | + * | |
| 219 | + * Remove the inhibitor effect from the associated wl_surface. | |
| 220 | + */ | |
| 221 | +static inline void | |
| 222 | +zwp_idle_inhibitor_v1_destroy(struct zwp_idle_inhibitor_v1 *zwp_idle_inhibitor_v1) | |
| 223 | +{ | |
| 224 | + wl_proxy_marshal_flags((struct wl_proxy *) zwp_idle_inhibitor_v1, | |
| 225 | + ZWP_IDLE_INHIBITOR_V1_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) zwp_idle_inhibitor_v1), WL_MARSHAL_FLAG_DESTROY); | |
| 226 | +} | |
| 227 | + | |
| 228 | +#ifdef __cplusplus | |
| 229 | +} | |
| 230 | +#endif | |
| 231 | + | |
| 232 | +#endif |
+109 −0 raylib/external/glfw/src/pointer-constraints-unstable-v1-client-protocol-code.h new file mode 100644 Large diff collapsed, click to expand
| @@ -0,0 +1,109 @@ | ||
| 1 | +/* Generated by wayland-scanner 1.26.0 */ | |
| 2 | + | |
| 3 | +/* | |
| 4 | + * Copyright �� 2014 Jonas ��dahl | |
| 5 | + * Copyright �� 2015 Red Hat Inc. | |
| 6 | + * | |
| 7 | + * Permission is hereby granted, free of charge, to any person obtaining a | |
| 8 | + * copy of this software and associated documentation files (the "Software"), | |
| 9 | + * to deal in the Software without restriction, including without limitation | |
| 10 | + * the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
| 11 | + * and/or sell copies of the Software, and to permit persons to whom the | |
| 12 | + * Software is furnished to do so, subject to the following conditions: | |
| 13 | + * | |
| 14 | + * The above copyright notice and this permission notice (including the next | |
| 15 | + * paragraph) shall be included in all copies or substantial portions of the | |
| 16 | + * Software. | |
| 17 | + * | |
| 18 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| 19 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| 20 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | |
| 21 | + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| 22 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
| 23 | + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | |
| 24 | + * DEALINGS IN THE SOFTWARE. | |
| 25 | + */ | |
| 26 | + | |
| 27 | +#include <stdbool.h> | |
| 28 | +#include <stdlib.h> | |
| 29 | +#include <stdint.h> | |
| 30 | +#include "wayland-util.h" | |
| 31 | + | |
| 32 | +#ifndef __has_attribute | |
| 33 | +# define __has_attribute(x) 0 /* Compatibility with non-clang compilers. */ | |
| 34 | +#endif | |
| 35 | + | |
| 36 | +#if (__has_attribute(visibility) || defined(__GNUC__) && __GNUC__ >= 4) | |
| 37 | +#define WL_PRIVATE __attribute__ ((visibility("hidden"))) | |
| 38 | +#else | |
| 39 | +#define WL_PRIVATE | |
| 40 | +#endif | |
| 41 | + | |
| 42 | +extern const struct wl_interface wl_pointer_interface; | |
| 43 | +extern const struct wl_interface wl_region_interface; | |
| 44 | +extern const struct wl_interface wl_surface_interface; | |
| 45 | +extern const struct wl_interface zwp_confined_pointer_v1_interface; | |
| 46 | +extern const struct wl_interface zwp_locked_pointer_v1_interface; | |
| 47 | + | |
| 48 | +static const struct wl_interface *pointer_constraints_unstable_v1_types[] = { | |
| 49 | + NULL, | |
| 50 | + NULL, | |
| 51 | + &zwp_locked_pointer_v1_interface, | |
| 52 | + &wl_surface_interface, | |
| 53 | + &wl_pointer_interface, | |
| 54 | + &wl_region_interface, | |
| 55 | + NULL, | |
| 56 | + &zwp_confined_pointer_v1_interface, | |
| 57 | + &wl_surface_interface, | |
| 58 | + &wl_pointer_interface, | |
| 59 | + &wl_region_interface, | |
| 60 | + NULL, | |
| 61 | + &wl_region_interface, | |
| 62 | + &wl_region_interface, | |
| 63 | +}; | |
| 64 | + | |
| 65 | +static const struct wl_message zwp_pointer_constraints_v1_requests[] = { | |
| 66 | + { "destroy", "", pointer_constraints_unstable_v1_types + 0 }, | |
| 67 | + { "lock_pointer", "noo?ou", pointer_constraints_unstable_v1_types + 2 }, | |
| 68 | + { "confine_pointer", "noo?ou", pointer_constraints_unstable_v1_types + 7 }, | |
| 69 | +}; | |
| 70 | + | |
| 71 | +WL_PRIVATE const struct wl_interface zwp_pointer_constraints_v1_interface = { | |
| 72 | + "zwp_pointer_constraints_v1", 1, | |
| 73 | + 3, zwp_pointer_constraints_v1_requests, | |
| 74 | + 0, NULL, | |
| 75 | +}; | |
| 76 | + | |
| 77 | +static const struct wl_message zwp_locked_pointer_v1_requests[] = { | |
| 78 | + { "destroy", "", pointer_constraints_unstable_v1_types + 0 }, | |
| 79 | + { "set_cursor_position_hint", "ff", pointer_constraints_unstable_v1_types + 0 }, | |
| 80 | + { "set_region", "?o", pointer_constraints_unstable_v1_types + 12 }, | |
| 81 | +}; | |
| 82 | + | |
| 83 | +static const struct wl_message zwp_locked_pointer_v1_events[] = { | |
| 84 | + { "locked", "", pointer_constraints_unstable_v1_types + 0 }, | |
| 85 | + { "unlocked", "", pointer_constraints_unstable_v1_types + 0 }, | |
| 86 | +}; | |
| 87 | + | |
| 88 | +WL_PRIVATE const struct wl_interface zwp_locked_pointer_v1_interface = { | |
| 89 | + "zwp_locked_pointer_v1", 1, | |
| 90 | + 3, zwp_locked_pointer_v1_requests, | |
| 91 | + 2, zwp_locked_pointer_v1_events, | |
| 92 | +}; | |
| 93 | + | |
| 94 | +static const struct wl_message zwp_confined_pointer_v1_requests[] = { | |
| 95 | + { "destroy", "", pointer_constraints_unstable_v1_types + 0 }, | |
| 96 | + { "set_region", "?o", pointer_constraints_unstable_v1_types + 13 }, | |
| 97 | +}; | |
| 98 | + | |
| 99 | +static const struct wl_message zwp_confined_pointer_v1_events[] = { | |
| 100 | + { "confined", "", pointer_constraints_unstable_v1_types + 0 }, | |
| 101 | + { "unconfined", "", pointer_constraints_unstable_v1_types + 0 }, | |
| 102 | +}; | |
| 103 | + | |
| 104 | +WL_PRIVATE const struct wl_interface zwp_confined_pointer_v1_interface = { | |
| 105 | + "zwp_confined_pointer_v1", 1, | |
| 106 | + 2, zwp_confined_pointer_v1_requests, | |
| 107 | + 2, zwp_confined_pointer_v1_events, | |
| 108 | +}; | |
| 109 | + |
+667 −0 raylib/external/glfw/src/pointer-constraints-unstable-v1-client-protocol.h new file mode 100644 Large diff collapsed, click to expand
| @@ -0,0 +1,667 @@ | ||
| 1 | +/* Generated by wayland-scanner 1.26.0 */ | |
| 2 | + | |
| 3 | +#ifndef POINTER_CONSTRAINTS_UNSTABLE_V1_CLIENT_PROTOCOL_H | |
| 4 | +#define POINTER_CONSTRAINTS_UNSTABLE_V1_CLIENT_PROTOCOL_H | |
| 5 | + | |
| 6 | +#include <stdint.h> | |
| 7 | +#include <stddef.h> | |
| 8 | +#include "wayland-client.h" | |
| 9 | + | |
| 10 | +#ifdef __cplusplus | |
| 11 | +extern "C" { | |
| 12 | +#endif | |
| 13 | + | |
| 14 | +/** | |
| 15 | + * @page page_pointer_constraints_unstable_v1 The pointer_constraints_unstable_v1 protocol | |
| 16 | + * protocol for constraining pointer motions | |
| 17 | + * | |
| 18 | + * @section page_desc_pointer_constraints_unstable_v1 Description | |
| 19 | + * | |
| 20 | + * This protocol specifies a set of interfaces used for adding constraints to | |
| 21 | + * the motion of a pointer. Possible constraints include confining pointer | |
| 22 | + * motions to a given region, or locking it to its current position. | |
| 23 | + * | |
| 24 | + * In order to constrain the pointer, a client must first bind the global | |
| 25 | + * interface "wp_pointer_constraints" which, if a compositor supports pointer | |
| 26 | + * constraints, is exposed by the registry. Using the bound global object, the | |
| 27 | + * client uses the request that corresponds to the type of constraint it wants | |
| 28 | + * to make. See wp_pointer_constraints for more details. | |
| 29 | + * | |
| 30 | + * Warning! The protocol described in this file is experimental and backward | |
| 31 | + * incompatible changes may be made. Backward compatible changes may be added | |
| 32 | + * together with the corresponding interface version bump. Backward | |
| 33 | + * incompatible changes are done by bumping the version number in the protocol | |
| 34 | + * and interface names and resetting the interface version. Once the protocol | |
| 35 | + * is to be declared stable, the 'z' prefix and the version number in the | |
| 36 | + * protocol and interface names are removed and the interface version number is | |
| 37 | + * reset. | |
| 38 | + * | |
| 39 | + * @section page_ifaces_pointer_constraints_unstable_v1 Interfaces | |
| 40 | + * - @subpage page_iface_zwp_pointer_constraints_v1 - constrain the movement of a pointer | |
| 41 | + * - @subpage page_iface_zwp_locked_pointer_v1 - receive relative pointer motion events | |
| 42 | + * - @subpage page_iface_zwp_confined_pointer_v1 - confined pointer object | |
| 43 | + * @section page_copyright_pointer_constraints_unstable_v1 Copyright | |
| 44 | + * <pre> | |
| 45 | + * | |
| 46 | + * Copyright �� 2014 Jonas ��dahl | |
| 47 | + * Copyright �� 2015 Red Hat Inc. | |
| 48 | + * | |
| 49 | + * Permission is hereby granted, free of charge, to any person obtaining a | |
| 50 | + * copy of this software and associated documentation files (the "Software"), | |
| 51 | + * to deal in the Software without restriction, including without limitation | |
| 52 | + * the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
| 53 | + * and/or sell copies of the Software, and to permit persons to whom the | |
| 54 | + * Software is furnished to do so, subject to the following conditions: | |
| 55 | + * | |
| 56 | + * The above copyright notice and this permission notice (including the next | |
| 57 | + * paragraph) shall be included in all copies or substantial portions of the | |
| 58 | + * Software. | |
| 59 | + * | |
| 60 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| 61 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| 62 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | |
| 63 | + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| 64 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
| 65 | + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | |
| 66 | + * DEALINGS IN THE SOFTWARE. | |
| 67 | + * </pre> | |
| 68 | + */ | |
| 69 | +struct wl_pointer; | |
| 70 | +struct wl_region; | |
| 71 | +struct wl_surface; | |
| 72 | +struct zwp_confined_pointer_v1; | |
| 73 | +struct zwp_locked_pointer_v1; | |
| 74 | +struct zwp_pointer_constraints_v1; | |
| 75 | + | |
| 76 | +#ifndef ZWP_POINTER_CONSTRAINTS_V1_INTERFACE | |
| 77 | +#define ZWP_POINTER_CONSTRAINTS_V1_INTERFACE | |
| 78 | +/** | |
| 79 | + * @page page_iface_zwp_pointer_constraints_v1 zwp_pointer_constraints_v1 | |
| 80 | + * @section page_iface_zwp_pointer_constraints_v1_desc Description | |
| 81 | + * | |
| 82 | + * The global interface exposing pointer constraining functionality. It | |
| 83 | + * exposes two requests: lock_pointer for locking the pointer to its | |
| 84 | + * position, and confine_pointer for locking the pointer to a region. | |
| 85 | + * | |
| 86 | + * The lock_pointer and confine_pointer requests create the objects | |
| 87 | + * wp_locked_pointer and wp_confined_pointer respectively, and the client can | |
| 88 | + * use these objects to interact with the lock. | |
| 89 | + * | |
| 90 | + * For any surface, only one lock or confinement may be active across all | |
| 91 | + * wl_pointer objects of the same seat. If a lock or confinement is requested | |
| 92 | + * when another lock or confinement is active or requested on the same surface | |
| 93 | + * and with any of the wl_pointer objects of the same seat, an | |
| 94 | + * 'already_constrained' error will be raised. | |
| 95 | + * @section page_iface_zwp_pointer_constraints_v1_api API | |
| 96 | + * See @ref iface_zwp_pointer_constraints_v1. | |
| 97 | + */ | |
| 98 | +/** | |
| 99 | + * @defgroup iface_zwp_pointer_constraints_v1 The zwp_pointer_constraints_v1 interface | |
| 100 | + * | |
| 101 | + * The global interface exposing pointer constraining functionality. It | |
| 102 | + * exposes two requests: lock_pointer for locking the pointer to its | |
| 103 | + * position, and confine_pointer for locking the pointer to a region. | |
| 104 | + * | |
| 105 | + * The lock_pointer and confine_pointer requests create the objects | |
| 106 | + * wp_locked_pointer and wp_confined_pointer respectively, and the client can | |
| 107 | + * use these objects to interact with the lock. | |
| 108 | + * | |
| 109 | + * For any surface, only one lock or confinement may be active across all | |
| 110 | + * wl_pointer objects of the same seat. If a lock or confinement is requested | |
| 111 | + * when another lock or confinement is active or requested on the same surface | |
| 112 | + * and with any of the wl_pointer objects of the same seat, an | |
| 113 | + * 'already_constrained' error will be raised. | |
| 114 | + */ | |
| 115 | +extern const struct wl_interface zwp_pointer_constraints_v1_interface; | |
| 116 | +#endif | |
| 117 | +#ifndef ZWP_LOCKED_POINTER_V1_INTERFACE | |
| 118 | +#define ZWP_LOCKED_POINTER_V1_INTERFACE | |
| 119 | +/** | |
| 120 | + * @page page_iface_zwp_locked_pointer_v1 zwp_locked_pointer_v1 | |
| 121 | + * @section page_iface_zwp_locked_pointer_v1_desc Description | |
| 122 | + * | |
| 123 | + * The wp_locked_pointer interface represents a locked pointer state. | |
| 124 | + * | |
| 125 | + * While the lock of this object is active, the wl_pointer objects of the | |
| 126 | + * associated seat will not emit any wl_pointer.motion events. | |
| 127 | + * | |
| 128 | + * This object will send the event 'locked' when the lock is activated. | |
| 129 | + * Whenever the lock is activated, it is guaranteed that the locked surface | |
| 130 | + * will already have received pointer focus and that the pointer will be | |
| 131 | + * within the region passed to the request creating this object. | |
| 132 | + * | |
| 133 | + * To unlock the pointer, send the destroy request. This will also destroy | |
| 134 | + * the wp_locked_pointer object. | |
| 135 | + * | |
| 136 | + * If the compositor decides to unlock the pointer the unlocked event is | |
| 137 | + * sent. See wp_locked_pointer.unlock for details. | |
| 138 | + * | |
| 139 | + * When unlocking, the compositor may warp the cursor position to the set | |
| 140 | + * cursor position hint. If it does, it will not result in any relative | |
| 141 | + * motion events emitted via wp_relative_pointer. | |
| 142 | + * | |
| 143 | + * If the surface the lock was requested on is destroyed and the lock is not | |
| 144 | + * yet activated, the wp_locked_pointer object is now defunct and must be | |
| 145 | + * destroyed. | |
| 146 | + * @section page_iface_zwp_locked_pointer_v1_api API | |
| 147 | + * See @ref iface_zwp_locked_pointer_v1. | |
| 148 | + */ | |
| 149 | +/** | |
| 150 | + * @defgroup iface_zwp_locked_pointer_v1 The zwp_locked_pointer_v1 interface | |
| 151 | + * | |
| 152 | + * The wp_locked_pointer interface represents a locked pointer state. | |
| 153 | + * | |
| 154 | + * While the lock of this object is active, the wl_pointer objects of the | |
| 155 | + * associated seat will not emit any wl_pointer.motion events. | |
| 156 | + * | |
| 157 | + * This object will send the event 'locked' when the lock is activated. | |
| 158 | + * Whenever the lock is activated, it is guaranteed that the locked surface | |
| 159 | + * will already have received pointer focus and that the pointer will be | |
| 160 | + * within the region passed to the request creating this object. | |
| 161 | + * | |
| 162 | + * To unlock the pointer, send the destroy request. This will also destroy | |
| 163 | + * the wp_locked_pointer object. | |
| 164 | + * | |
| 165 | + * If the compositor decides to unlock the pointer the unlocked event is | |
| 166 | + * sent. See wp_locked_pointer.unlock for details. | |
| 167 | + * | |
| 168 | + * When unlocking, the compositor may warp the cursor position to the set | |
| 169 | + * cursor position hint. If it does, it will not result in any relative | |
| 170 | + * motion events emitted via wp_relative_pointer. | |
| 171 | + * | |
| 172 | + * If the surface the lock was requested on is destroyed and the lock is not | |
| 173 | + * yet activated, the wp_locked_pointer object is now defunct and must be | |
| 174 | + * destroyed. | |
| 175 | + */ | |
| 176 | +extern const struct wl_interface zwp_locked_pointer_v1_interface; | |
| 177 | +#endif | |
| 178 | +#ifndef ZWP_CONFINED_POINTER_V1_INTERFACE | |
| 179 | +#define ZWP_CONFINED_POINTER_V1_INTERFACE | |
| 180 | +/** | |
| 181 | + * @page page_iface_zwp_confined_pointer_v1 zwp_confined_pointer_v1 | |
| 182 | + * @section page_iface_zwp_confined_pointer_v1_desc Description | |
| 183 | + * | |
| 184 | + * The wp_confined_pointer interface represents a confined pointer state. | |
| 185 | + * | |
| 186 | + * This object will send the event 'confined' when the confinement is | |
| 187 | + * activated. Whenever the confinement is activated, it is guaranteed that | |
| 188 | + * the surface the pointer is confined to will already have received pointer | |
| 189 | + * focus and that the pointer will be within the region passed to the request | |
| 190 | + * creating this object. It is up to the compositor to decide whether this | |
| 191 | + * requires some user interaction and if the pointer will warp to within the | |
| 192 | + * passed region if outside. | |
| 193 | + * | |
| 194 | + * To unconfine the pointer, send the destroy request. This will also destroy | |
| 195 | + * the wp_confined_pointer object. | |
| 196 | + * | |
| 197 | + * If the compositor decides to unconfine the pointer the unconfined event is | |
| 198 | + * sent. The wp_confined_pointer object is at this point defunct and should | |
| 199 | + * be destroyed. | |
| 200 | + * @section page_iface_zwp_confined_pointer_v1_api API | |
| 201 | + * See @ref iface_zwp_confined_pointer_v1. | |
| 202 | + */ | |
| 203 | +/** | |
| 204 | + * @defgroup iface_zwp_confined_pointer_v1 The zwp_confined_pointer_v1 interface | |
| 205 | + * | |
| 206 | + * The wp_confined_pointer interface represents a confined pointer state. | |
| 207 | + * | |
| 208 | + * This object will send the event 'confined' when the confinement is | |
| 209 | + * activated. Whenever the confinement is activated, it is guaranteed that | |
| 210 | + * the surface the pointer is confined to will already have received pointer | |
| 211 | + * focus and that the pointer will be within the region passed to the request | |
| 212 | + * creating this object. It is up to the compositor to decide whether this | |
| 213 | + * requires some user interaction and if the pointer will warp to within the | |
| 214 | + * passed region if outside. | |
| 215 | + * | |
| 216 | + * To unconfine the pointer, send the destroy request. This will also destroy | |
| 217 | + * the wp_confined_pointer object. | |
| 218 | + * | |
| 219 | + * If the compositor decides to unconfine the pointer the unconfined event is | |
| 220 | + * sent. The wp_confined_pointer object is at this point defunct and should | |
| 221 | + * be destroyed. | |
| 222 | + */ | |
| 223 | +extern const struct wl_interface zwp_confined_pointer_v1_interface; | |
| 224 | +#endif | |
| 225 | + | |
| 226 | +#ifndef ZWP_POINTER_CONSTRAINTS_V1_ERROR_ENUM | |
| 227 | +#define ZWP_POINTER_CONSTRAINTS_V1_ERROR_ENUM | |
| 228 | +/** | |
| 229 | + * @ingroup iface_zwp_pointer_constraints_v1 | |
| 230 | + * wp_pointer_constraints error values | |
| 231 | + * | |
| 232 | + * These errors can be emitted in response to wp_pointer_constraints | |
| 233 | + * requests. | |
| 234 | + */ | |
| 235 | +enum zwp_pointer_constraints_v1_error { | |
| 236 | + /** | |
| 237 | + * pointer constraint already requested on that surface | |
| 238 | + */ | |
| 239 | + ZWP_POINTER_CONSTRAINTS_V1_ERROR_ALREADY_CONSTRAINED = 1, | |
| 240 | +}; | |
| 241 | +#endif /* ZWP_POINTER_CONSTRAINTS_V1_ERROR_ENUM */ | |
| 242 | + | |
| 243 | +#ifndef ZWP_POINTER_CONSTRAINTS_V1_LIFETIME_ENUM | |
| 244 | +#define ZWP_POINTER_CONSTRAINTS_V1_LIFETIME_ENUM | |
| 245 | +/** | |
| 246 | + * @ingroup iface_zwp_pointer_constraints_v1 | |
| 247 | + * constraint lifetime | |
| 248 | + * | |
| 249 | + * These values represent different lifetime semantics. They are passed | |
| 250 | + * as arguments to the factory requests to specify how the constraint | |
| 251 | + * lifetimes should be managed. | |
| 252 | + */ | |
| 253 | +enum zwp_pointer_constraints_v1_lifetime { | |
| 254 | + /** | |
| 255 | + * the pointer constraint is defunct once deactivated | |
| 256 | + * | |
| 257 | + * A oneshot pointer constraint will never reactivate once it has | |
| 258 | + * been deactivated. See the corresponding deactivation event | |
| 259 | + * (wp_locked_pointer.unlocked and wp_confined_pointer.unconfined) | |
| 260 | + * for details. | |
| 261 | + */ | |
| 262 | + ZWP_POINTER_CONSTRAINTS_V1_LIFETIME_ONESHOT = 1, | |
| 263 | + /** | |
| 264 | + * the pointer constraint may reactivate | |
| 265 | + * | |
| 266 | + * A persistent pointer constraint may again reactivate once it | |
| 267 | + * has been deactivated. See the corresponding deactivation event | |
| 268 | + * (wp_locked_pointer.unlocked and wp_confined_pointer.unconfined) | |
| 269 | + * for details. | |
| 270 | + */ | |
| 271 | + ZWP_POINTER_CONSTRAINTS_V1_LIFETIME_PERSISTENT = 2, | |
| 272 | +}; | |
| 273 | +#endif /* ZWP_POINTER_CONSTRAINTS_V1_LIFETIME_ENUM */ | |
| 274 | + | |
| 275 | +#define ZWP_POINTER_CONSTRAINTS_V1_DESTROY 0 | |
| 276 | +#define ZWP_POINTER_CONSTRAINTS_V1_LOCK_POINTER 1 | |
| 277 | +#define ZWP_POINTER_CONSTRAINTS_V1_CONFINE_POINTER 2 | |
| 278 | + | |
| 279 | + | |
| 280 | +/** | |
| 281 | + * @ingroup iface_zwp_pointer_constraints_v1 | |
| 282 | + */ | |
| 283 | +#define ZWP_POINTER_CONSTRAINTS_V1_DESTROY_SINCE_VERSION 1 | |
| 284 | +/** | |
| 285 | + * @ingroup iface_zwp_pointer_constraints_v1 | |
| 286 | + */ | |
| 287 | +#define ZWP_POINTER_CONSTRAINTS_V1_LOCK_POINTER_SINCE_VERSION 1 | |
| 288 | +/** | |
| 289 | + * @ingroup iface_zwp_pointer_constraints_v1 | |
| 290 | + */ | |
| 291 | +#define ZWP_POINTER_CONSTRAINTS_V1_CONFINE_POINTER_SINCE_VERSION 1 | |
| 292 | + | |
| 293 | +/** @ingroup iface_zwp_pointer_constraints_v1 */ | |
| 294 | +static inline void | |
| 295 | +zwp_pointer_constraints_v1_set_user_data(struct zwp_pointer_constraints_v1 *zwp_pointer_constraints_v1, void *user_data) | |
| 296 | +{ | |
| 297 | + wl_proxy_set_user_data((struct wl_proxy *) zwp_pointer_constraints_v1, user_data); | |
| 298 | +} | |
| 299 | + | |
| 300 | +/** @ingroup iface_zwp_pointer_constraints_v1 */ | |
| 301 | +static inline void * | |
| 302 | +zwp_pointer_constraints_v1_get_user_data(struct zwp_pointer_constraints_v1 *zwp_pointer_constraints_v1) | |
| 303 | +{ | |
| 304 | + return wl_proxy_get_user_data((struct wl_proxy *) zwp_pointer_constraints_v1); | |
| 305 | +} | |
| 306 | + | |
| 307 | +static inline uint32_t | |
| 308 | +zwp_pointer_constraints_v1_get_version(struct zwp_pointer_constraints_v1 *zwp_pointer_constraints_v1) | |
| 309 | +{ | |
| 310 | + return wl_proxy_get_version((struct wl_proxy *) zwp_pointer_constraints_v1); | |
| 311 | +} | |
| 312 | + | |
| 313 | +/** | |
| 314 | + * @ingroup iface_zwp_pointer_constraints_v1 | |
| 315 | + * | |
| 316 | + * Used by the client to notify the server that it will no longer use this | |
| 317 | + * pointer constraints object. | |
| 318 | + */ | |
| 319 | +static inline void | |
| 320 | +zwp_pointer_constraints_v1_destroy(struct zwp_pointer_constraints_v1 *zwp_pointer_constraints_v1) | |
| 321 | +{ | |
| 322 | + wl_proxy_marshal_flags((struct wl_proxy *) zwp_pointer_constraints_v1, | |
| 323 | + ZWP_POINTER_CONSTRAINTS_V1_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) zwp_pointer_constraints_v1), WL_MARSHAL_FLAG_DESTROY); | |
| 324 | +} | |
| 325 | + | |
| 326 | +/** | |
| 327 | + * @ingroup iface_zwp_pointer_constraints_v1 | |
| 328 | + * | |
| 329 | + * The lock_pointer request lets the client request to disable movements of | |
| 330 | + * the virtual pointer (i.e. the cursor), effectively locking the pointer | |
| 331 | + * to a position. This request may not take effect immediately; in the | |
| 332 | + * future, when the compositor deems implementation-specific constraints | |
| 333 | + * are satisfied, the pointer lock will be activated and the compositor | |
| 334 | + * sends a locked event. | |
| 335 | + * | |
| 336 | + * The protocol provides no guarantee that the constraints are ever | |
| 337 | + * satisfied, and does not require the compositor to send an error if the | |
| 338 | + * constraints cannot ever be satisfied. It is thus possible to request a | |
| 339 | + * lock that will never activate. | |
| 340 | + * | |
| 341 | + * There may not be another pointer constraint of any kind requested or | |
| 342 | + * active on the surface for any of the wl_pointer objects of the seat of | |
| 343 | + * the passed pointer when requesting a lock. If there is, an error will be | |
| 344 | + * raised. See general pointer lock documentation for more details. | |
| 345 | + * | |
| 346 | + * The intersection of the region passed with this request and the input | |
| 347 | + * region of the surface is used to determine where the pointer must be | |
| 348 | + * in order for the lock to activate. It is up to the compositor whether to | |
| 349 | + * warp the pointer or require some kind of user interaction for the lock | |
| 350 | + * to activate. If the region is null the surface input region is used. | |
| 351 | + * | |
| 352 | + * A surface may receive pointer focus without the lock being activated. | |
| 353 | + * | |
| 354 | + * The request creates a new object wp_locked_pointer which is used to | |
| 355 | + * interact with the lock as well as receive updates about its state. See | |
| 356 | + * the the description of wp_locked_pointer for further information. | |
| 357 | + * | |
| 358 | + * Note that while a pointer is locked, the wl_pointer objects of the | |
| 359 | + * corresponding seat will not emit any wl_pointer.motion events, but | |
| 360 | + * relative motion events will still be emitted via wp_relative_pointer | |
| 361 | + * objects of the same seat. wl_pointer.axis and wl_pointer.button events | |
| 362 | + * are unaffected. | |
| 363 | + */ | |
| 364 | +static inline struct zwp_locked_pointer_v1 * | |
| 365 | +zwp_pointer_constraints_v1_lock_pointer(struct zwp_pointer_constraints_v1 *zwp_pointer_constraints_v1, struct wl_surface *surface, struct wl_pointer *pointer, struct wl_region *region, uint32_t lifetime) | |
| 366 | +{ | |
| 367 | + struct wl_proxy *id; | |
| 368 | + | |
| 369 | + id = wl_proxy_marshal_flags((struct wl_proxy *) zwp_pointer_constraints_v1, | |
| 370 | + ZWP_POINTER_CONSTRAINTS_V1_LOCK_POINTER, &zwp_locked_pointer_v1_interface, wl_proxy_get_version((struct wl_proxy *) zwp_pointer_constraints_v1), 0, NULL, surface, pointer, region, lifetime); | |
| 371 | + | |
| 372 | + return (struct zwp_locked_pointer_v1 *) id; | |
| 373 | +} | |
| 374 | + | |
| 375 | +/** | |
| 376 | + * @ingroup iface_zwp_pointer_constraints_v1 | |
| 377 | + * | |
| 378 | + * The confine_pointer request lets the client request to confine the | |
| 379 | + * pointer cursor to a given region. This request may not take effect | |
| 380 | + * immediately; in the future, when the compositor deems implementation- | |
| 381 | + * specific constraints are satisfied, the pointer confinement will be | |
| 382 | + * activated and the compositor sends a confined event. | |
| 383 | + * | |
| 384 | + * The intersection of the region passed with this request and the input | |
| 385 | + * region of the surface is used to determine where the pointer must be | |
| 386 | + * in order for the confinement to activate. It is up to the compositor | |
| 387 | + * whether to warp the pointer or require some kind of user interaction for | |
| 388 | + * the confinement to activate. If the region is null the surface input | |
| 389 | + * region is used. | |
| 390 | + * | |
| 391 | + * The request will create a new object wp_confined_pointer which is used | |
| 392 | + * to interact with the confinement as well as receive updates about its | |
| 393 | + * state. See the the description of wp_confined_pointer for further | |
| 394 | + * information. | |
| 395 | + */ | |
| 396 | +static inline struct zwp_confined_pointer_v1 * | |
| 397 | +zwp_pointer_constraints_v1_confine_pointer(struct zwp_pointer_constraints_v1 *zwp_pointer_constraints_v1, struct wl_surface *surface, struct wl_pointer *pointer, struct wl_region *region, uint32_t lifetime) | |
| 398 | +{ | |
| 399 | + struct wl_proxy *id; | |
| 400 | + | |
| 401 | + id = wl_proxy_marshal_flags((struct wl_proxy *) zwp_pointer_constraints_v1, | |
| 402 | + ZWP_POINTER_CONSTRAINTS_V1_CONFINE_POINTER, &zwp_confined_pointer_v1_interface, wl_proxy_get_version((struct wl_proxy *) zwp_pointer_constraints_v1), 0, NULL, surface, pointer, region, lifetime); | |
| 403 | + | |
| 404 | + return (struct zwp_confined_pointer_v1 *) id; | |
| 405 | +} | |
| 406 | + | |
| 407 | +/** | |
| 408 | + * @ingroup iface_zwp_locked_pointer_v1 | |
| 409 | + * @struct zwp_locked_pointer_v1_listener | |
| 410 | + */ | |
| 411 | +struct zwp_locked_pointer_v1_listener { | |
| 412 | + /** | |
| 413 | + * lock activation event | |
| 414 | + * | |
| 415 | + * Notification that the pointer lock of the seat's pointer is | |
| 416 | + * activated. | |
| 417 | + */ | |
| 418 | + void (*locked)(void *data, | |
| 419 | + struct zwp_locked_pointer_v1 *zwp_locked_pointer_v1); | |
| 420 | + /** | |
| 421 | + * lock deactivation event | |
| 422 | + * | |
| 423 | + * Notification that the pointer lock of the seat's pointer is no | |
| 424 | + * longer active. If this is a oneshot pointer lock (see | |
| 425 | + * wp_pointer_constraints.lifetime) this object is now defunct and | |
| 426 | + * should be destroyed. If this is a persistent pointer lock (see | |
| 427 | + * wp_pointer_constraints.lifetime) this pointer lock may again | |
| 428 | + * reactivate in the future. | |
| 429 | + */ | |
| 430 | + void (*unlocked)(void *data, | |
| 431 | + struct zwp_locked_pointer_v1 *zwp_locked_pointer_v1); | |
| 432 | +}; | |
| 433 | + | |
| 434 | +/** | |
| 435 | + * @ingroup iface_zwp_locked_pointer_v1 | |
| 436 | + */ | |
| 437 | +static inline int | |
| 438 | +zwp_locked_pointer_v1_add_listener(struct zwp_locked_pointer_v1 *zwp_locked_pointer_v1, | |
| 439 | + const struct zwp_locked_pointer_v1_listener *listener, void *data) | |
| 440 | +{ | |
| 441 | + return wl_proxy_add_listener((struct wl_proxy *) zwp_locked_pointer_v1, | |
| 442 | + (void (**)(void)) listener, data); | |
| 443 | +} | |
| 444 | + | |
| 445 | +#define ZWP_LOCKED_POINTER_V1_DESTROY 0 | |
| 446 | +#define ZWP_LOCKED_POINTER_V1_SET_CURSOR_POSITION_HINT 1 | |
| 447 | +#define ZWP_LOCKED_POINTER_V1_SET_REGION 2 | |
| 448 | + | |
| 449 | +/** | |
| 450 | + * @ingroup iface_zwp_locked_pointer_v1 | |
| 451 | + */ | |
| 452 | +#define ZWP_LOCKED_POINTER_V1_LOCKED_SINCE_VERSION 1 | |
| 453 | +/** | |
| 454 | + * @ingroup iface_zwp_locked_pointer_v1 | |
| 455 | + */ | |
| 456 | +#define ZWP_LOCKED_POINTER_V1_UNLOCKED_SINCE_VERSION 1 | |
| 457 | + | |
| 458 | +/** | |
| 459 | + * @ingroup iface_zwp_locked_pointer_v1 | |
| 460 | + */ | |
| 461 | +#define ZWP_LOCKED_POINTER_V1_DESTROY_SINCE_VERSION 1 | |
| 462 | +/** | |
| 463 | + * @ingroup iface_zwp_locked_pointer_v1 | |
| 464 | + */ | |
| 465 | +#define ZWP_LOCKED_POINTER_V1_SET_CURSOR_POSITION_HINT_SINCE_VERSION 1 | |
| 466 | +/** | |
| 467 | + * @ingroup iface_zwp_locked_pointer_v1 | |
| 468 | + */ | |
| 469 | +#define ZWP_LOCKED_POINTER_V1_SET_REGION_SINCE_VERSION 1 | |
| 470 | + | |
| 471 | +/** @ingroup iface_zwp_locked_pointer_v1 */ | |
| 472 | +static inline void | |
| 473 | +zwp_locked_pointer_v1_set_user_data(struct zwp_locked_pointer_v1 *zwp_locked_pointer_v1, void *user_data) | |
| 474 | +{ | |
| 475 | + wl_proxy_set_user_data((struct wl_proxy *) zwp_locked_pointer_v1, user_data); | |
| 476 | +} | |
| 477 | + | |
| 478 | +/** @ingroup iface_zwp_locked_pointer_v1 */ | |
| 479 | +static inline void * | |
| 480 | +zwp_locked_pointer_v1_get_user_data(struct zwp_locked_pointer_v1 *zwp_locked_pointer_v1) | |
| 481 | +{ | |
| 482 | + return wl_proxy_get_user_data((struct wl_proxy *) zwp_locked_pointer_v1); | |
| 483 | +} | |
| 484 | + | |
| 485 | +static inline uint32_t | |
| 486 | +zwp_locked_pointer_v1_get_version(struct zwp_locked_pointer_v1 *zwp_locked_pointer_v1) | |
| 487 | +{ | |
| 488 | + return wl_proxy_get_version((struct wl_proxy *) zwp_locked_pointer_v1); | |
| 489 | +} | |
| 490 | + | |
| 491 | +/** | |
| 492 | + * @ingroup iface_zwp_locked_pointer_v1 | |
| 493 | + * | |
| 494 | + * Destroy the locked pointer object. If applicable, the compositor will | |
| 495 | + * unlock the pointer. | |
| 496 | + */ | |
| 497 | +static inline void | |
| 498 | +zwp_locked_pointer_v1_destroy(struct zwp_locked_pointer_v1 *zwp_locked_pointer_v1) | |
| 499 | +{ | |
| 500 | + wl_proxy_marshal_flags((struct wl_proxy *) zwp_locked_pointer_v1, | |
| 501 | + ZWP_LOCKED_POINTER_V1_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) zwp_locked_pointer_v1), WL_MARSHAL_FLAG_DESTROY); | |
| 502 | +} | |
| 503 | + | |
| 504 | +/** | |
| 505 | + * @ingroup iface_zwp_locked_pointer_v1 | |
| 506 | + * | |
| 507 | + * Set the cursor position hint relative to the top left corner of the | |
| 508 | + * surface. | |
| 509 | + * | |
| 510 | + * If the client is drawing its own cursor, it should update the position | |
| 511 | + * hint to the position of its own cursor. A compositor may use this | |
| 512 | + * information to warp the pointer upon unlock in order to avoid pointer | |
| 513 | + * jumps. | |
| 514 | + * | |
| 515 | + * The cursor position hint is double buffered. The new hint will only take | |
| 516 | + * effect when the associated surface gets it pending state applied. See | |
| 517 | + * wl_surface.commit for details. | |
| 518 | + */ | |
| 519 | +static inline void | |
| 520 | +zwp_locked_pointer_v1_set_cursor_position_hint(struct zwp_locked_pointer_v1 *zwp_locked_pointer_v1, wl_fixed_t surface_x, wl_fixed_t surface_y) | |
| 521 | +{ | |
| 522 | + wl_proxy_marshal_flags((struct wl_proxy *) zwp_locked_pointer_v1, | |
| 523 | + ZWP_LOCKED_POINTER_V1_SET_CURSOR_POSITION_HINT, NULL, wl_proxy_get_version((struct wl_proxy *) zwp_locked_pointer_v1), 0, surface_x, surface_y); | |
| 524 | +} | |
| 525 | + | |
| 526 | +/** | |
| 527 | + * @ingroup iface_zwp_locked_pointer_v1 | |
| 528 | + * | |
| 529 | + * Set a new region used to lock the pointer. | |
| 530 | + * | |
| 531 | + * The new lock region is double-buffered. The new lock region will | |
| 532 | + * only take effect when the associated surface gets its pending state | |
| 533 | + * applied. See wl_surface.commit for details. | |
| 534 | + * | |
| 535 | + * For details about the lock region, see wp_locked_pointer. | |
| 536 | + */ | |
| 537 | +static inline void | |
| 538 | +zwp_locked_pointer_v1_set_region(struct zwp_locked_pointer_v1 *zwp_locked_pointer_v1, struct wl_region *region) | |
| 539 | +{ | |
| 540 | + wl_proxy_marshal_flags((struct wl_proxy *) zwp_locked_pointer_v1, | |
| 541 | + ZWP_LOCKED_POINTER_V1_SET_REGION, NULL, wl_proxy_get_version((struct wl_proxy *) zwp_locked_pointer_v1), 0, region); | |
| 542 | +} | |
| 543 | + | |
| 544 | +/** | |
| 545 | + * @ingroup iface_zwp_confined_pointer_v1 | |
| 546 | + * @struct zwp_confined_pointer_v1_listener | |
| 547 | + */ | |
| 548 | +struct zwp_confined_pointer_v1_listener { | |
| 549 | + /** | |
| 550 | + * pointer confined | |
| 551 | + * | |
| 552 | + * Notification that the pointer confinement of the seat's | |
| 553 | + * pointer is activated. | |
| 554 | + */ | |
| 555 | + void (*confined)(void *data, | |
| 556 | + struct zwp_confined_pointer_v1 *zwp_confined_pointer_v1); | |
| 557 | + /** | |
| 558 | + * pointer unconfined | |
| 559 | + * | |
| 560 | + * Notification that the pointer confinement of the seat's | |
| 561 | + * pointer is no longer active. If this is a oneshot pointer | |
| 562 | + * confinement (see wp_pointer_constraints.lifetime) this object is | |
| 563 | + * now defunct and should be destroyed. If this is a persistent | |
| 564 | + * pointer confinement (see wp_pointer_constraints.lifetime) this | |
| 565 | + * pointer confinement may again reactivate in the future. | |
| 566 | + */ | |
| 567 | + void (*unconfined)(void *data, | |
| 568 | + struct zwp_confined_pointer_v1 *zwp_confined_pointer_v1); | |
| 569 | +}; | |
| 570 | + | |
| 571 | +/** | |
| 572 | + * @ingroup iface_zwp_confined_pointer_v1 | |
| 573 | + */ | |
| 574 | +static inline int | |
| 575 | +zwp_confined_pointer_v1_add_listener(struct zwp_confined_pointer_v1 *zwp_confined_pointer_v1, | |
| 576 | + const struct zwp_confined_pointer_v1_listener *listener, void *data) | |
| 577 | +{ | |
| 578 | + return wl_proxy_add_listener((struct wl_proxy *) zwp_confined_pointer_v1, | |
| 579 | + (void (**)(void)) listener, data); | |
| 580 | +} | |
| 581 | + | |
| 582 | +#define ZWP_CONFINED_POINTER_V1_DESTROY 0 | |
| 583 | +#define ZWP_CONFINED_POINTER_V1_SET_REGION 1 | |
| 584 | + | |
| 585 | +/** | |
| 586 | + * @ingroup iface_zwp_confined_pointer_v1 | |
| 587 | + */ | |
| 588 | +#define ZWP_CONFINED_POINTER_V1_CONFINED_SINCE_VERSION 1 | |
| 589 | +/** | |
| 590 | + * @ingroup iface_zwp_confined_pointer_v1 | |
| 591 | + */ | |
| 592 | +#define ZWP_CONFINED_POINTER_V1_UNCONFINED_SINCE_VERSION 1 | |
| 593 | + | |
| 594 | +/** | |
| 595 | + * @ingroup iface_zwp_confined_pointer_v1 | |
| 596 | + */ | |
| 597 | +#define ZWP_CONFINED_POINTER_V1_DESTROY_SINCE_VERSION 1 | |
| 598 | +/** | |
| 599 | + * @ingroup iface_zwp_confined_pointer_v1 | |
| 600 | + */ | |
| 601 | +#define ZWP_CONFINED_POINTER_V1_SET_REGION_SINCE_VERSION 1 | |
| 602 | + | |
| 603 | +/** @ingroup iface_zwp_confined_pointer_v1 */ | |
| 604 | +static inline void | |
| 605 | +zwp_confined_pointer_v1_set_user_data(struct zwp_confined_pointer_v1 *zwp_confined_pointer_v1, void *user_data) | |
| 606 | +{ | |
| 607 | + wl_proxy_set_user_data((struct wl_proxy *) zwp_confined_pointer_v1, user_data); | |
| 608 | +} | |
| 609 | + | |
| 610 | +/** @ingroup iface_zwp_confined_pointer_v1 */ | |
| 611 | +static inline void * | |
| 612 | +zwp_confined_pointer_v1_get_user_data(struct zwp_confined_pointer_v1 *zwp_confined_pointer_v1) | |
| 613 | +{ | |
| 614 | + return wl_proxy_get_user_data((struct wl_proxy *) zwp_confined_pointer_v1); | |
| 615 | +} | |
| 616 | + | |
| 617 | +static inline uint32_t | |
| 618 | +zwp_confined_pointer_v1_get_version(struct zwp_confined_pointer_v1 *zwp_confined_pointer_v1) | |
| 619 | +{ | |
| 620 | + return wl_proxy_get_version((struct wl_proxy *) zwp_confined_pointer_v1); | |
| 621 | +} | |
| 622 | + | |
| 623 | +/** | |
| 624 | + * @ingroup iface_zwp_confined_pointer_v1 | |
| 625 | + * | |
| 626 | + * Destroy the confined pointer object. If applicable, the compositor will | |
| 627 | + * unconfine the pointer. | |
| 628 | + */ | |
| 629 | +static inline void | |
| 630 | +zwp_confined_pointer_v1_destroy(struct zwp_confined_pointer_v1 *zwp_confined_pointer_v1) | |
| 631 | +{ | |
| 632 | + wl_proxy_marshal_flags((struct wl_proxy *) zwp_confined_pointer_v1, | |
| 633 | + ZWP_CONFINED_POINTER_V1_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) zwp_confined_pointer_v1), WL_MARSHAL_FLAG_DESTROY); | |
| 634 | +} | |
| 635 | + | |
| 636 | +/** | |
| 637 | + * @ingroup iface_zwp_confined_pointer_v1 | |
| 638 | + * | |
| 639 | + * Set a new region used to confine the pointer. | |
| 640 | + * | |
| 641 | + * The new confine region is double-buffered. The new confine region will | |
| 642 | + * only take effect when the associated surface gets its pending state | |
| 643 | + * applied. See wl_surface.commit for details. | |
| 644 | + * | |
| 645 | + * If the confinement is active when the new confinement region is applied | |
| 646 | + * and the pointer ends up outside of newly applied region, the pointer may | |
| 647 | + * warped to a position within the new confinement region. If warped, a | |
| 648 | + * wl_pointer.motion event will be emitted, but no | |
| 649 | + * wp_relative_pointer.relative_motion event. | |
| 650 | + * | |
| 651 | + * The compositor may also, instead of using the new region, unconfine the | |
| 652 | + * pointer. | |
| 653 | + * | |
| 654 | + * For details about the confine region, see wp_confined_pointer. | |
| 655 | + */ | |
| 656 | +static inline void | |
| 657 | +zwp_confined_pointer_v1_set_region(struct zwp_confined_pointer_v1 *zwp_confined_pointer_v1, struct wl_region *region) | |
| 658 | +{ | |
| 659 | + wl_proxy_marshal_flags((struct wl_proxy *) zwp_confined_pointer_v1, | |
| 660 | + ZWP_CONFINED_POINTER_V1_SET_REGION, NULL, wl_proxy_get_version((struct wl_proxy *) zwp_confined_pointer_v1), 0, region); | |
| 661 | +} | |
| 662 | + | |
| 663 | +#ifdef __cplusplus | |
| 664 | +} | |
| 665 | +#endif | |
| 666 | + | |
| 667 | +#endif |
+80 −0 raylib/external/glfw/src/relative-pointer-unstable-v1-client-protocol-code.h new file mode 100644 Large diff collapsed, click to expand
| @@ -0,0 +1,80 @@ | ||
| 1 | +/* Generated by wayland-scanner 1.26.0 */ | |
| 2 | + | |
| 3 | +/* | |
| 4 | + * Copyright �� 2014 Jonas ��dahl | |
| 5 | + * Copyright �� 2015 Red Hat Inc. | |
| 6 | + * | |
| 7 | + * Permission is hereby granted, free of charge, to any person obtaining a | |
| 8 | + * copy of this software and associated documentation files (the "Software"), | |
| 9 | + * to deal in the Software without restriction, including without limitation | |
| 10 | + * the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
| 11 | + * and/or sell copies of the Software, and to permit persons to whom the | |
| 12 | + * Software is furnished to do so, subject to the following conditions: | |
| 13 | + * | |
| 14 | + * The above copyright notice and this permission notice (including the next | |
| 15 | + * paragraph) shall be included in all copies or substantial portions of the | |
| 16 | + * Software. | |
| 17 | + * | |
| 18 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| 19 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| 20 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | |
| 21 | + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| 22 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
| 23 | + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | |
| 24 | + * DEALINGS IN THE SOFTWARE. | |
| 25 | + */ | |
| 26 | + | |
| 27 | +#include <stdbool.h> | |
| 28 | +#include <stdlib.h> | |
| 29 | +#include <stdint.h> | |
| 30 | +#include "wayland-util.h" | |
| 31 | + | |
| 32 | +#ifndef __has_attribute | |
| 33 | +# define __has_attribute(x) 0 /* Compatibility with non-clang compilers. */ | |
| 34 | +#endif | |
| 35 | + | |
| 36 | +#if (__has_attribute(visibility) || defined(__GNUC__) && __GNUC__ >= 4) | |
| 37 | +#define WL_PRIVATE __attribute__ ((visibility("hidden"))) | |
| 38 | +#else | |
| 39 | +#define WL_PRIVATE | |
| 40 | +#endif | |
| 41 | + | |
| 42 | +extern const struct wl_interface wl_pointer_interface; | |
| 43 | +extern const struct wl_interface zwp_relative_pointer_v1_interface; | |
| 44 | + | |
| 45 | +static const struct wl_interface *relative_pointer_unstable_v1_types[] = { | |
| 46 | + NULL, | |
| 47 | + NULL, | |
| 48 | + NULL, | |
| 49 | + NULL, | |
| 50 | + NULL, | |
| 51 | + NULL, | |
| 52 | + &zwp_relative_pointer_v1_interface, | |
| 53 | + &wl_pointer_interface, | |
| 54 | +}; | |
| 55 | + | |
| 56 | +static const struct wl_message zwp_relative_pointer_manager_v1_requests[] = { | |
| 57 | + { "destroy", "", relative_pointer_unstable_v1_types + 0 }, | |
| 58 | + { "get_relative_pointer", "no", relative_pointer_unstable_v1_types + 6 }, | |
| 59 | +}; | |
| 60 | + | |
| 61 | +WL_PRIVATE const struct wl_interface zwp_relative_pointer_manager_v1_interface = { | |
| 62 | + "zwp_relative_pointer_manager_v1", 1, | |
| 63 | + 2, zwp_relative_pointer_manager_v1_requests, | |
| 64 | + 0, NULL, | |
| 65 | +}; | |
| 66 | + | |
| 67 | +static const struct wl_message zwp_relative_pointer_v1_requests[] = { | |
| 68 | + { "destroy", "", relative_pointer_unstable_v1_types + 0 }, | |
| 69 | +}; | |
| 70 | + | |
| 71 | +static const struct wl_message zwp_relative_pointer_v1_events[] = { | |
| 72 | + { "relative_motion", "uuffff", relative_pointer_unstable_v1_types + 0 }, | |
| 73 | +}; | |
| 74 | + | |
| 75 | +WL_PRIVATE const struct wl_interface zwp_relative_pointer_v1_interface = { | |
| 76 | + "zwp_relative_pointer_v1", 1, | |
| 77 | + 1, zwp_relative_pointer_v1_requests, | |
| 78 | + 1, zwp_relative_pointer_v1_events, | |
| 79 | +}; | |
| 80 | + |
+297 −0 raylib/external/glfw/src/relative-pointer-unstable-v1-client-protocol.h new file mode 100644 Large diff collapsed, click to expand
| @@ -0,0 +1,297 @@ | ||
| 1 | +/* Generated by wayland-scanner 1.26.0 */ | |
| 2 | + | |
| 3 | +#ifndef RELATIVE_POINTER_UNSTABLE_V1_CLIENT_PROTOCOL_H | |
| 4 | +#define RELATIVE_POINTER_UNSTABLE_V1_CLIENT_PROTOCOL_H | |
| 5 | + | |
| 6 | +#include <stdint.h> | |
| 7 | +#include <stddef.h> | |
| 8 | +#include "wayland-client.h" | |
| 9 | + | |
| 10 | +#ifdef __cplusplus | |
| 11 | +extern "C" { | |
| 12 | +#endif | |
| 13 | + | |
| 14 | +/** | |
| 15 | + * @page page_relative_pointer_unstable_v1 The relative_pointer_unstable_v1 protocol | |
| 16 | + * protocol for relative pointer motion events | |
| 17 | + * | |
| 18 | + * @section page_desc_relative_pointer_unstable_v1 Description | |
| 19 | + * | |
| 20 | + * This protocol specifies a set of interfaces used for making clients able to | |
| 21 | + * receive relative pointer events not obstructed by barriers (such as the | |
| 22 | + * monitor edge or other pointer barriers). | |
| 23 | + * | |
| 24 | + * To start receiving relative pointer events, a client must first bind the | |
| 25 | + * global interface "wp_relative_pointer_manager" which, if a compositor | |
| 26 | + * supports relative pointer motion events, is exposed by the registry. After | |
| 27 | + * having created the relative pointer manager proxy object, the client uses | |
| 28 | + * it to create the actual relative pointer object using the | |
| 29 | + * "get_relative_pointer" request given a wl_pointer. The relative pointer | |
| 30 | + * motion events will then, when applicable, be transmitted via the proxy of | |
| 31 | + * the newly created relative pointer object. See the documentation of the | |
| 32 | + * relative pointer interface for more details. | |
| 33 | + * | |
| 34 | + * Warning! The protocol described in this file is experimental and backward | |
| 35 | + * incompatible changes may be made. Backward compatible changes may be added | |
| 36 | + * together with the corresponding interface version bump. Backward | |
| 37 | + * incompatible changes are done by bumping the version number in the protocol | |
| 38 | + * and interface names and resetting the interface version. Once the protocol | |
| 39 | + * is to be declared stable, the 'z' prefix and the version number in the | |
| 40 | + * protocol and interface names are removed and the interface version number is | |
| 41 | + * reset. | |
| 42 | + * | |
| 43 | + * @section page_ifaces_relative_pointer_unstable_v1 Interfaces | |
| 44 | + * - @subpage page_iface_zwp_relative_pointer_manager_v1 - get relative pointer objects | |
| 45 | + * - @subpage page_iface_zwp_relative_pointer_v1 - relative pointer object | |
| 46 | + * @section page_copyright_relative_pointer_unstable_v1 Copyright | |
| 47 | + * <pre> | |
| 48 | + * | |
| 49 | + * Copyright �� 2014 Jonas ��dahl | |
| 50 | + * Copyright �� 2015 Red Hat Inc. | |
| 51 | + * | |
| 52 | + * Permission is hereby granted, free of charge, to any person obtaining a | |
| 53 | + * copy of this software and associated documentation files (the "Software"), | |
| 54 | + * to deal in the Software without restriction, including without limitation | |
| 55 | + * the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
| 56 | + * and/or sell copies of the Software, and to permit persons to whom the | |
| 57 | + * Software is furnished to do so, subject to the following conditions: | |
| 58 | + * | |
| 59 | + * The above copyright notice and this permission notice (including the next | |
| 60 | + * paragraph) shall be included in all copies or substantial portions of the | |
| 61 | + * Software. | |
| 62 | + * | |
| 63 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| 64 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| 65 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | |
| 66 | + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| 67 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
| 68 | + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | |
| 69 | + * DEALINGS IN THE SOFTWARE. | |
| 70 | + * </pre> | |
| 71 | + */ | |
| 72 | +struct wl_pointer; | |
| 73 | +struct zwp_relative_pointer_manager_v1; | |
| 74 | +struct zwp_relative_pointer_v1; | |
| 75 | + | |
| 76 | +#ifndef ZWP_RELATIVE_POINTER_MANAGER_V1_INTERFACE | |
| 77 | +#define ZWP_RELATIVE_POINTER_MANAGER_V1_INTERFACE | |
| 78 | +/** | |
| 79 | + * @page page_iface_zwp_relative_pointer_manager_v1 zwp_relative_pointer_manager_v1 | |
| 80 | + * @section page_iface_zwp_relative_pointer_manager_v1_desc Description | |
| 81 | + * | |
| 82 | + * A global interface used for getting the relative pointer object for a | |
| 83 | + * given pointer. | |
| 84 | + * @section page_iface_zwp_relative_pointer_manager_v1_api API | |
| 85 | + * See @ref iface_zwp_relative_pointer_manager_v1. | |
| 86 | + */ | |
| 87 | +/** | |
| 88 | + * @defgroup iface_zwp_relative_pointer_manager_v1 The zwp_relative_pointer_manager_v1 interface | |
| 89 | + * | |
| 90 | + * A global interface used for getting the relative pointer object for a | |
| 91 | + * given pointer. | |
| 92 | + */ | |
| 93 | +extern const struct wl_interface zwp_relative_pointer_manager_v1_interface; | |
| 94 | +#endif | |
| 95 | +#ifndef ZWP_RELATIVE_POINTER_V1_INTERFACE | |
| 96 | +#define ZWP_RELATIVE_POINTER_V1_INTERFACE | |
| 97 | +/** | |
| 98 | + * @page page_iface_zwp_relative_pointer_v1 zwp_relative_pointer_v1 | |
| 99 | + * @section page_iface_zwp_relative_pointer_v1_desc Description | |
| 100 | + * | |
| 101 | + * A wp_relative_pointer object is an extension to the wl_pointer interface | |
| 102 | + * used for emitting relative pointer events. It shares the same focus as | |
| 103 | + * wl_pointer objects of the same seat and will only emit events when it has | |
| 104 | + * focus. | |
| 105 | + * @section page_iface_zwp_relative_pointer_v1_api API | |
| 106 | + * See @ref iface_zwp_relative_pointer_v1. | |
| 107 | + */ | |
| 108 | +/** | |
| 109 | + * @defgroup iface_zwp_relative_pointer_v1 The zwp_relative_pointer_v1 interface | |
| 110 | + * | |
| 111 | + * A wp_relative_pointer object is an extension to the wl_pointer interface | |
| 112 | + * used for emitting relative pointer events. It shares the same focus as | |
| 113 | + * wl_pointer objects of the same seat and will only emit events when it has | |
| 114 | + * focus. | |
| 115 | + */ | |
| 116 | +extern const struct wl_interface zwp_relative_pointer_v1_interface; | |
| 117 | +#endif | |
| 118 | + | |
| 119 | +#define ZWP_RELATIVE_POINTER_MANAGER_V1_DESTROY 0 | |
| 120 | +#define ZWP_RELATIVE_POINTER_MANAGER_V1_GET_RELATIVE_POINTER 1 | |
| 121 | + | |
| 122 | + | |
| 123 | +/** | |
| 124 | + * @ingroup iface_zwp_relative_pointer_manager_v1 | |
| 125 | + */ | |
| 126 | +#define ZWP_RELATIVE_POINTER_MANAGER_V1_DESTROY_SINCE_VERSION 1 | |
| 127 | +/** | |
| 128 | + * @ingroup iface_zwp_relative_pointer_manager_v1 | |
| 129 | + */ | |
| 130 | +#define ZWP_RELATIVE_POINTER_MANAGER_V1_GET_RELATIVE_POINTER_SINCE_VERSION 1 | |
| 131 | + | |
| 132 | +/** @ingroup iface_zwp_relative_pointer_manager_v1 */ | |
| 133 | +static inline void | |
| 134 | +zwp_relative_pointer_manager_v1_set_user_data(struct zwp_relative_pointer_manager_v1 *zwp_relative_pointer_manager_v1, void *user_data) | |
| 135 | +{ | |
| 136 | + wl_proxy_set_user_data((struct wl_proxy *) zwp_relative_pointer_manager_v1, user_data); | |
| 137 | +} | |
| 138 | + | |
| 139 | +/** @ingroup iface_zwp_relative_pointer_manager_v1 */ | |
| 140 | +static inline void * | |
| 141 | +zwp_relative_pointer_manager_v1_get_user_data(struct zwp_relative_pointer_manager_v1 *zwp_relative_pointer_manager_v1) | |
| 142 | +{ | |
| 143 | + return wl_proxy_get_user_data((struct wl_proxy *) zwp_relative_pointer_manager_v1); | |
| 144 | +} | |
| 145 | + | |
| 146 | +static inline uint32_t | |
| 147 | +zwp_relative_pointer_manager_v1_get_version(struct zwp_relative_pointer_manager_v1 *zwp_relative_pointer_manager_v1) | |
| 148 | +{ | |
| 149 | + return wl_proxy_get_version((struct wl_proxy *) zwp_relative_pointer_manager_v1); | |
| 150 | +} | |
| 151 | + | |
| 152 | +/** | |
| 153 | + * @ingroup iface_zwp_relative_pointer_manager_v1 | |
| 154 | + * | |
| 155 | + * Used by the client to notify the server that it will no longer use this | |
| 156 | + * relative pointer manager object. | |
| 157 | + */ | |
| 158 | +static inline void | |
| 159 | +zwp_relative_pointer_manager_v1_destroy(struct zwp_relative_pointer_manager_v1 *zwp_relative_pointer_manager_v1) | |
| 160 | +{ | |
| 161 | + wl_proxy_marshal_flags((struct wl_proxy *) zwp_relative_pointer_manager_v1, | |
| 162 | + ZWP_RELATIVE_POINTER_MANAGER_V1_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) zwp_relative_pointer_manager_v1), WL_MARSHAL_FLAG_DESTROY); | |
| 163 | +} | |
| 164 | + | |
| 165 | +/** | |
| 166 | + * @ingroup iface_zwp_relative_pointer_manager_v1 | |
| 167 | + * | |
| 168 | + * Create a relative pointer interface given a wl_pointer object. See the | |
| 169 | + * wp_relative_pointer interface for more details. | |
| 170 | + */ | |
| 171 | +static inline struct zwp_relative_pointer_v1 * | |
| 172 | +zwp_relative_pointer_manager_v1_get_relative_pointer(struct zwp_relative_pointer_manager_v1 *zwp_relative_pointer_manager_v1, struct wl_pointer *pointer) | |
| 173 | +{ | |
| 174 | + struct wl_proxy *id; | |
| 175 | + | |
| 176 | + id = wl_proxy_marshal_flags((struct wl_proxy *) zwp_relative_pointer_manager_v1, | |
| 177 | + ZWP_RELATIVE_POINTER_MANAGER_V1_GET_RELATIVE_POINTER, &zwp_relative_pointer_v1_interface, wl_proxy_get_version((struct wl_proxy *) zwp_relative_pointer_manager_v1), 0, NULL, pointer); | |
| 178 | + | |
| 179 | + return (struct zwp_relative_pointer_v1 *) id; | |
| 180 | +} | |
| 181 | + | |
| 182 | +/** | |
| 183 | + * @ingroup iface_zwp_relative_pointer_v1 | |
| 184 | + * @struct zwp_relative_pointer_v1_listener | |
| 185 | + */ | |
| 186 | +struct zwp_relative_pointer_v1_listener { | |
| 187 | + /** | |
| 188 | + * relative pointer motion | |
| 189 | + * | |
| 190 | + * Relative x/y pointer motion from the pointer of the seat | |
| 191 | + * associated with this object. | |
| 192 | + * | |
| 193 | + * A relative motion is in the same dimension as regular wl_pointer | |
| 194 | + * motion events, except they do not represent an absolute | |
| 195 | + * position. For example, moving a pointer from (x, y) to (x', y') | |
| 196 | + * would have the equivalent relative motion (x' - x, y' - y). If a | |
| 197 | + * pointer motion caused the absolute pointer position to be | |
| 198 | + * clipped by for example the edge of the monitor, the relative | |
| 199 | + * motion is unaffected by the clipping and will represent the | |
| 200 | + * unclipped motion. | |
| 201 | + * | |
| 202 | + * This event also contains non-accelerated motion deltas. The | |
| 203 | + * non-accelerated delta is, when applicable, the regular pointer | |
| 204 | + * motion delta as it was before having applied motion acceleration | |
| 205 | + * and other transformations such as normalization. | |
| 206 | + * | |
| 207 | + * Note that the non-accelerated delta does not represent 'raw' | |
| 208 | + * events as they were read from some device. Pointer motion | |
| 209 | + * acceleration is device- and configuration-specific and | |
| 210 | + * non-accelerated deltas and accelerated deltas may have the same | |
| 211 | + * value on some devices. | |
| 212 | + * | |
| 213 | + * Relative motions are not coupled to wl_pointer.motion events, | |
| 214 | + * and can be sent in combination with such events, but also | |
| 215 | + * independently. There may also be scenarios where | |
| 216 | + * wl_pointer.motion is sent, but there is no relative motion. The | |
| 217 | + * order of an absolute and relative motion event originating from | |
| 218 | + * the same physical motion is not guaranteed. | |
| 219 | + * | |
| 220 | + * If the client needs button events or focus state, it can receive | |
| 221 | + * them from a wl_pointer object of the same seat that the | |
| 222 | + * wp_relative_pointer object is associated with. | |
| 223 | + * @param utime_hi high 32 bits of a 64 bit timestamp with microsecond granularity | |
| 224 | + * @param utime_lo low 32 bits of a 64 bit timestamp with microsecond granularity | |
| 225 | + * @param dx the x component of the motion vector | |
| 226 | + * @param dy the y component of the motion vector | |
| 227 | + * @param dx_unaccel the x component of the unaccelerated motion vector | |
| 228 | + * @param dy_unaccel the y component of the unaccelerated motion vector | |
| 229 | + */ | |
| 230 | + void (*relative_motion)(void *data, | |
| 231 | + struct zwp_relative_pointer_v1 *zwp_relative_pointer_v1, | |
| 232 | + uint32_t utime_hi, | |
| 233 | + uint32_t utime_lo, | |
| 234 | + wl_fixed_t dx, | |
| 235 | + wl_fixed_t dy, | |
| 236 | + wl_fixed_t dx_unaccel, | |
| 237 | + wl_fixed_t dy_unaccel); | |
| 238 | +}; | |
| 239 | + | |
| 240 | +/** | |
| 241 | + * @ingroup iface_zwp_relative_pointer_v1 | |
| 242 | + */ | |
| 243 | +static inline int | |
| 244 | +zwp_relative_pointer_v1_add_listener(struct zwp_relative_pointer_v1 *zwp_relative_pointer_v1, | |
| 245 | + const struct zwp_relative_pointer_v1_listener *listener, void *data) | |
| 246 | +{ | |
| 247 | + return wl_proxy_add_listener((struct wl_proxy *) zwp_relative_pointer_v1, | |
| 248 | + (void (**)(void)) listener, data); | |
| 249 | +} | |
| 250 | + | |
| 251 | +#define ZWP_RELATIVE_POINTER_V1_DESTROY 0 | |
| 252 | + | |
| 253 | +/** | |
| 254 | + * @ingroup iface_zwp_relative_pointer_v1 | |
| 255 | + */ | |
| 256 | +#define ZWP_RELATIVE_POINTER_V1_RELATIVE_MOTION_SINCE_VERSION 1 | |
| 257 | + | |
| 258 | +/** | |
| 259 | + * @ingroup iface_zwp_relative_pointer_v1 | |
| 260 | + */ | |
| 261 | +#define ZWP_RELATIVE_POINTER_V1_DESTROY_SINCE_VERSION 1 | |
| 262 | + | |
| 263 | +/** @ingroup iface_zwp_relative_pointer_v1 */ | |
| 264 | +static inline void | |
| 265 | +zwp_relative_pointer_v1_set_user_data(struct zwp_relative_pointer_v1 *zwp_relative_pointer_v1, void *user_data) | |
| 266 | +{ | |
| 267 | + wl_proxy_set_user_data((struct wl_proxy *) zwp_relative_pointer_v1, user_data); | |
| 268 | +} | |
| 269 | + | |
| 270 | +/** @ingroup iface_zwp_relative_pointer_v1 */ | |
| 271 | +static inline void * | |
| 272 | +zwp_relative_pointer_v1_get_user_data(struct zwp_relative_pointer_v1 *zwp_relative_pointer_v1) | |
| 273 | +{ | |
| 274 | + return wl_proxy_get_user_data((struct wl_proxy *) zwp_relative_pointer_v1); | |
| 275 | +} | |
| 276 | + | |
| 277 | +static inline uint32_t | |
| 278 | +zwp_relative_pointer_v1_get_version(struct zwp_relative_pointer_v1 *zwp_relative_pointer_v1) | |
| 279 | +{ | |
| 280 | + return wl_proxy_get_version((struct wl_proxy *) zwp_relative_pointer_v1); | |
| 281 | +} | |
| 282 | + | |
| 283 | +/** | |
| 284 | + * @ingroup iface_zwp_relative_pointer_v1 | |
| 285 | + */ | |
| 286 | +static inline void | |
| 287 | +zwp_relative_pointer_v1_destroy(struct zwp_relative_pointer_v1 *zwp_relative_pointer_v1) | |
| 288 | +{ | |
| 289 | + wl_proxy_marshal_flags((struct wl_proxy *) zwp_relative_pointer_v1, | |
| 290 | + ZWP_RELATIVE_POINTER_V1_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) zwp_relative_pointer_v1), WL_MARSHAL_FLAG_DESTROY); | |
| 291 | +} | |
| 292 | + | |
| 293 | +#ifdef __cplusplus | |
| 294 | +} | |
| 295 | +#endif | |
| 296 | + | |
| 297 | +#endif |
+75 −0 raylib/external/glfw/src/viewporter-client-protocol-code.h new file mode 100644 Large diff collapsed, click to expand
| @@ -0,0 +1,75 @@ | ||
| 1 | +/* Generated by wayland-scanner 1.26.0 */ | |
| 2 | + | |
| 3 | +/* | |
| 4 | + * Copyright �� 2013-2016 Collabora, Ltd. | |
| 5 | + * | |
| 6 | + * Permission is hereby granted, free of charge, to any person obtaining a | |
| 7 | + * copy of this software and associated documentation files (the "Software"), | |
| 8 | + * to deal in the Software without restriction, including without limitation | |
| 9 | + * the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
| 10 | + * and/or sell copies of the Software, and to permit persons to whom the | |
| 11 | + * Software is furnished to do so, subject to the following conditions: | |
| 12 | + * | |
| 13 | + * The above copyright notice and this permission notice (including the next | |
| 14 | + * paragraph) shall be included in all copies or substantial portions of the | |
| 15 | + * Software. | |
| 16 | + * | |
| 17 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| 18 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| 19 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | |
| 20 | + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| 21 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
| 22 | + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | |
| 23 | + * DEALINGS IN THE SOFTWARE. | |
| 24 | + */ | |
| 25 | + | |
| 26 | +#include <stdbool.h> | |
| 27 | +#include <stdlib.h> | |
| 28 | +#include <stdint.h> | |
| 29 | +#include "wayland-util.h" | |
| 30 | + | |
| 31 | +#ifndef __has_attribute | |
| 32 | +# define __has_attribute(x) 0 /* Compatibility with non-clang compilers. */ | |
| 33 | +#endif | |
| 34 | + | |
| 35 | +#if (__has_attribute(visibility) || defined(__GNUC__) && __GNUC__ >= 4) | |
| 36 | +#define WL_PRIVATE __attribute__ ((visibility("hidden"))) | |
| 37 | +#else | |
| 38 | +#define WL_PRIVATE | |
| 39 | +#endif | |
| 40 | + | |
| 41 | +extern const struct wl_interface wl_surface_interface; | |
| 42 | +extern const struct wl_interface wp_viewport_interface; | |
| 43 | + | |
| 44 | +static const struct wl_interface *viewporter_types[] = { | |
| 45 | + NULL, | |
| 46 | + NULL, | |
| 47 | + NULL, | |
| 48 | + NULL, | |
| 49 | + &wp_viewport_interface, | |
| 50 | + &wl_surface_interface, | |
| 51 | +}; | |
| 52 | + | |
| 53 | +static const struct wl_message wp_viewporter_requests[] = { | |
| 54 | + { "destroy", "", viewporter_types + 0 }, | |
| 55 | + { "get_viewport", "no", viewporter_types + 4 }, | |
| 56 | +}; | |
| 57 | + | |
| 58 | +WL_PRIVATE const struct wl_interface wp_viewporter_interface = { | |
| 59 | + "wp_viewporter", 1, | |
| 60 | + 2, wp_viewporter_requests, | |
| 61 | + 0, NULL, | |
| 62 | +}; | |
| 63 | + | |
| 64 | +static const struct wl_message wp_viewport_requests[] = { | |
| 65 | + { "destroy", "", viewporter_types + 0 }, | |
| 66 | + { "set_source", "ffff", viewporter_types + 0 }, | |
| 67 | + { "set_destination", "ii", viewporter_types + 0 }, | |
| 68 | +}; | |
| 69 | + | |
| 70 | +WL_PRIVATE const struct wl_interface wp_viewport_interface = { | |
| 71 | + "wp_viewport", 1, | |
| 72 | + 3, wp_viewport_requests, | |
| 73 | + 0, NULL, | |
| 74 | +}; | |
| 75 | + |
+398 −0 raylib/external/glfw/src/viewporter-client-protocol.h new file mode 100644 Large diff collapsed, click to expand
| @@ -0,0 +1,398 @@ | ||
| 1 | +/* Generated by wayland-scanner 1.26.0 */ | |
| 2 | + | |
| 3 | +#ifndef VIEWPORTER_CLIENT_PROTOCOL_H | |
| 4 | +#define VIEWPORTER_CLIENT_PROTOCOL_H | |
| 5 | + | |
| 6 | +#include <stdint.h> | |
| 7 | +#include <stddef.h> | |
| 8 | +#include "wayland-client.h" | |
| 9 | + | |
| 10 | +#ifdef __cplusplus | |
| 11 | +extern "C" { | |
| 12 | +#endif | |
| 13 | + | |
| 14 | +/** | |
| 15 | + * @page page_viewporter The viewporter protocol | |
| 16 | + * @section page_ifaces_viewporter Interfaces | |
| 17 | + * - @subpage page_iface_wp_viewporter - surface cropping and scaling | |
| 18 | + * - @subpage page_iface_wp_viewport - crop and scale interface to a wl_surface | |
| 19 | + * @section page_copyright_viewporter Copyright | |
| 20 | + * <pre> | |
| 21 | + * | |
| 22 | + * Copyright �� 2013-2016 Collabora, Ltd. | |
| 23 | + * | |
| 24 | + * Permission is hereby granted, free of charge, to any person obtaining a | |
| 25 | + * copy of this software and associated documentation files (the "Software"), | |
| 26 | + * to deal in the Software without restriction, including without limitation | |
| 27 | + * the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
| 28 | + * and/or sell copies of the Software, and to permit persons to whom the | |
| 29 | + * Software is furnished to do so, subject to the following conditions: | |
| 30 | + * | |
| 31 | + * The above copyright notice and this permission notice (including the next | |
| 32 | + * paragraph) shall be included in all copies or substantial portions of the | |
| 33 | + * Software. | |
| 34 | + * | |
| 35 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| 36 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| 37 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | |
| 38 | + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| 39 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
| 40 | + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | |
| 41 | + * DEALINGS IN THE SOFTWARE. | |
| 42 | + * </pre> | |
| 43 | + */ | |
| 44 | +struct wl_surface; | |
| 45 | +struct wp_viewport; | |
| 46 | +struct wp_viewporter; | |
| 47 | + | |
| 48 | +#ifndef WP_VIEWPORTER_INTERFACE | |
| 49 | +#define WP_VIEWPORTER_INTERFACE | |
| 50 | +/** | |
| 51 | + * @page page_iface_wp_viewporter wp_viewporter | |
| 52 | + * @section page_iface_wp_viewporter_desc Description | |
| 53 | + * | |
| 54 | + * The global interface exposing surface cropping and scaling | |
| 55 | + * capabilities is used to instantiate an interface extension for a | |
| 56 | + * wl_surface object. This extended interface will then allow | |
| 57 | + * cropping and scaling the surface contents, effectively | |
| 58 | + * disconnecting the direct relationship between the buffer and the | |
| 59 | + * surface size. | |
| 60 | + * @section page_iface_wp_viewporter_api API | |
| 61 | + * See @ref iface_wp_viewporter. | |
| 62 | + */ | |
| 63 | +/** | |
| 64 | + * @defgroup iface_wp_viewporter The wp_viewporter interface | |
| 65 | + * | |
| 66 | + * The global interface exposing surface cropping and scaling | |
| 67 | + * capabilities is used to instantiate an interface extension for a | |
| 68 | + * wl_surface object. This extended interface will then allow | |
| 69 | + * cropping and scaling the surface contents, effectively | |
| 70 | + * disconnecting the direct relationship between the buffer and the | |
| 71 | + * surface size. | |
| 72 | + */ | |
| 73 | +extern const struct wl_interface wp_viewporter_interface; | |
| 74 | +#endif | |
| 75 | +#ifndef WP_VIEWPORT_INTERFACE | |
| 76 | +#define WP_VIEWPORT_INTERFACE | |
| 77 | +/** | |
| 78 | + * @page page_iface_wp_viewport wp_viewport | |
| 79 | + * @section page_iface_wp_viewport_desc Description | |
| 80 | + * | |
| 81 | + * An additional interface to a wl_surface object, which allows the | |
| 82 | + * client to specify the cropping and scaling of the surface | |
| 83 | + * contents. | |
| 84 | + * | |
| 85 | + * This interface works with two concepts: the source rectangle (src_x, | |
| 86 | + * src_y, src_width, src_height), and the destination size (dst_width, | |
| 87 | + * dst_height). The contents of the source rectangle are scaled to the | |
| 88 | + * destination size, and content outside the source rectangle is ignored. | |
| 89 | + * This state is double-buffered, and is applied on the next | |
| 90 | + * wl_surface.commit. | |
| 91 | + * | |
| 92 | + * The two parts of crop and scale state are independent: the source | |
| 93 | + * rectangle, and the destination size. Initially both are unset, that | |
| 94 | + * is, no scaling is applied. The whole of the current wl_buffer is | |
| 95 | + * used as the source, and the surface size is as defined in | |
| 96 | + * wl_surface.attach. | |
| 97 | + * | |
| 98 | + * If the destination size is set, it causes the surface size to become | |
| 99 | + * dst_width, dst_height. The source (rectangle) is scaled to exactly | |
| 100 | + * this size. This overrides whatever the attached wl_buffer size is, | |
| 101 | + * unless the wl_buffer is NULL. If the wl_buffer is NULL, the surface | |
| 102 | + * has no content and therefore no size. Otherwise, the size is always | |
| 103 | + * at least 1x1 in surface local coordinates. | |
| 104 | + * | |
| 105 | + * If the source rectangle is set, it defines what area of the wl_buffer is | |
| 106 | + * taken as the source. If the source rectangle is set and the destination | |
| 107 | + * size is not set, then src_width and src_height must be integers, and the | |
| 108 | + * surface size becomes the source rectangle size. This results in cropping | |
| 109 | + * without scaling. If src_width or src_height are not integers and | |
| 110 | + * destination size is not set, the bad_size protocol error is raised when | |
| 111 | + * the surface state is applied. | |
| 112 | + * | |
| 113 | + * The coordinate transformations from buffer pixel coordinates up to | |
| 114 | + * the surface-local coordinates happen in the following order: | |
| 115 | + * 1. buffer_transform (wl_surface.set_buffer_transform) | |
| 116 | + * 2. buffer_scale (wl_surface.set_buffer_scale) | |
| 117 | + * 3. crop and scale (wp_viewport.set*) | |
| 118 | + * This means, that the source rectangle coordinates of crop and scale | |
| 119 | + * are given in the coordinates after the buffer transform and scale, | |
| 120 | + * i.e. in the coordinates that would be the surface-local coordinates | |
| 121 | + * if the crop and scale was not applied. | |
| 122 | + * | |
| 123 | + * If src_x or src_y are negative, the bad_value protocol error is raised. | |
| 124 | + * Otherwise, if the source rectangle is partially or completely outside of | |
| 125 | + * the non-NULL wl_buffer, then the out_of_buffer protocol error is raised | |
| 126 | + * when the surface state is applied. A NULL wl_buffer does not raise the | |
| 127 | + * out_of_buffer error. | |
| 128 | + * | |
| 129 | + * If the wl_surface associated with the wp_viewport is destroyed, | |
| 130 | + * all wp_viewport requests except 'destroy' raise the protocol error | |
| 131 | + * no_surface. | |
| 132 | + * | |
| 133 | + * If the wp_viewport object is destroyed, the crop and scale | |
| 134 | + * state is removed from the wl_surface. The change will be applied | |
| 135 | + * on the next wl_surface.commit. | |
| 136 | + * @section page_iface_wp_viewport_api API | |
| 137 | + * See @ref iface_wp_viewport. | |
| 138 | + */ | |
| 139 | +/** | |
| 140 | + * @defgroup iface_wp_viewport The wp_viewport interface | |
| 141 | + * | |
| 142 | + * An additional interface to a wl_surface object, which allows the | |
| 143 | + * client to specify the cropping and scaling of the surface | |
| 144 | + * contents. | |
| 145 | + * | |
| 146 | + * This interface works with two concepts: the source rectangle (src_x, | |
| 147 | + * src_y, src_width, src_height), and the destination size (dst_width, | |
| 148 | + * dst_height). The contents of the source rectangle are scaled to the | |
| 149 | + * destination size, and content outside the source rectangle is ignored. | |
| 150 | + * This state is double-buffered, and is applied on the next | |
| 151 | + * wl_surface.commit. | |
| 152 | + * | |
| 153 | + * The two parts of crop and scale state are independent: the source | |
| 154 | + * rectangle, and the destination size. Initially both are unset, that | |
| 155 | + * is, no scaling is applied. The whole of the current wl_buffer is | |
| 156 | + * used as the source, and the surface size is as defined in | |
| 157 | + * wl_surface.attach. | |
| 158 | + * | |
| 159 | + * If the destination size is set, it causes the surface size to become | |
| 160 | + * dst_width, dst_height. The source (rectangle) is scaled to exactly | |
| 161 | + * this size. This overrides whatever the attached wl_buffer size is, | |
| 162 | + * unless the wl_buffer is NULL. If the wl_buffer is NULL, the surface | |
| 163 | + * has no content and therefore no size. Otherwise, the size is always | |
| 164 | + * at least 1x1 in surface local coordinates. | |
| 165 | + * | |
| 166 | + * If the source rectangle is set, it defines what area of the wl_buffer is | |
| 167 | + * taken as the source. If the source rectangle is set and the destination | |
| 168 | + * size is not set, then src_width and src_height must be integers, and the | |
| 169 | + * surface size becomes the source rectangle size. This results in cropping | |
| 170 | + * without scaling. If src_width or src_height are not integers and | |
| 171 | + * destination size is not set, the bad_size protocol error is raised when | |
| 172 | + * the surface state is applied. | |
| 173 | + * | |
| 174 | + * The coordinate transformations from buffer pixel coordinates up to | |
| 175 | + * the surface-local coordinates happen in the following order: | |
| 176 | + * 1. buffer_transform (wl_surface.set_buffer_transform) | |
| 177 | + * 2. buffer_scale (wl_surface.set_buffer_scale) | |
| 178 | + * 3. crop and scale (wp_viewport.set*) | |
| 179 | + * This means, that the source rectangle coordinates of crop and scale | |
| 180 | + * are given in the coordinates after the buffer transform and scale, | |
| 181 | + * i.e. in the coordinates that would be the surface-local coordinates | |
| 182 | + * if the crop and scale was not applied. | |
| 183 | + * | |
| 184 | + * If src_x or src_y are negative, the bad_value protocol error is raised. | |
| 185 | + * Otherwise, if the source rectangle is partially or completely outside of | |
| 186 | + * the non-NULL wl_buffer, then the out_of_buffer protocol error is raised | |
| 187 | + * when the surface state is applied. A NULL wl_buffer does not raise the | |
| 188 | + * out_of_buffer error. | |
| 189 | + * | |
| 190 | + * If the wl_surface associated with the wp_viewport is destroyed, | |
| 191 | + * all wp_viewport requests except 'destroy' raise the protocol error | |
| 192 | + * no_surface. | |
| 193 | + * | |
| 194 | + * If the wp_viewport object is destroyed, the crop and scale | |
| 195 | + * state is removed from the wl_surface. The change will be applied | |
| 196 | + * on the next wl_surface.commit. | |
| 197 | + */ | |
| 198 | +extern const struct wl_interface wp_viewport_interface; | |
| 199 | +#endif | |
| 200 | + | |
| 201 | +#ifndef WP_VIEWPORTER_ERROR_ENUM | |
| 202 | +#define WP_VIEWPORTER_ERROR_ENUM | |
| 203 | +enum wp_viewporter_error { | |
| 204 | + /** | |
| 205 | + * the surface already has a viewport object associated | |
| 206 | + */ | |
| 207 | + WP_VIEWPORTER_ERROR_VIEWPORT_EXISTS = 0, | |
| 208 | +}; | |
| 209 | +#endif /* WP_VIEWPORTER_ERROR_ENUM */ | |
| 210 | + | |
| 211 | +#define WP_VIEWPORTER_DESTROY 0 | |
| 212 | +#define WP_VIEWPORTER_GET_VIEWPORT 1 | |
| 213 | + | |
| 214 | + | |
| 215 | +/** | |
| 216 | + * @ingroup iface_wp_viewporter | |
| 217 | + */ | |
| 218 | +#define WP_VIEWPORTER_DESTROY_SINCE_VERSION 1 | |
| 219 | +/** | |
| 220 | + * @ingroup iface_wp_viewporter | |
| 221 | + */ | |
| 222 | +#define WP_VIEWPORTER_GET_VIEWPORT_SINCE_VERSION 1 | |
| 223 | + | |
| 224 | +/** @ingroup iface_wp_viewporter */ | |
| 225 | +static inline void | |
| 226 | +wp_viewporter_set_user_data(struct wp_viewporter *wp_viewporter, void *user_data) | |
| 227 | +{ | |
| 228 | + wl_proxy_set_user_data((struct wl_proxy *) wp_viewporter, user_data); | |
| 229 | +} | |
| 230 | + | |
| 231 | +/** @ingroup iface_wp_viewporter */ | |
| 232 | +static inline void * | |
| 233 | +wp_viewporter_get_user_data(struct wp_viewporter *wp_viewporter) | |
| 234 | +{ | |
| 235 | + return wl_proxy_get_user_data((struct wl_proxy *) wp_viewporter); | |
| 236 | +} | |
| 237 | + | |
| 238 | +static inline uint32_t | |
| 239 | +wp_viewporter_get_version(struct wp_viewporter *wp_viewporter) | |
| 240 | +{ | |
| 241 | + return wl_proxy_get_version((struct wl_proxy *) wp_viewporter); | |
| 242 | +} | |
| 243 | + | |
| 244 | +/** | |
| 245 | + * @ingroup iface_wp_viewporter | |
| 246 | + * | |
| 247 | + * Informs the server that the client will not be using this | |
| 248 | + * protocol object anymore. This does not affect any other objects, | |
| 249 | + * wp_viewport objects included. | |
| 250 | + */ | |
| 251 | +static inline void | |
| 252 | +wp_viewporter_destroy(struct wp_viewporter *wp_viewporter) | |
| 253 | +{ | |
| 254 | + wl_proxy_marshal_flags((struct wl_proxy *) wp_viewporter, | |
| 255 | + WP_VIEWPORTER_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) wp_viewporter), WL_MARSHAL_FLAG_DESTROY); | |
| 256 | +} | |
| 257 | + | |
| 258 | +/** | |
| 259 | + * @ingroup iface_wp_viewporter | |
| 260 | + * | |
| 261 | + * Instantiate an interface extension for the given wl_surface to | |
| 262 | + * crop and scale its content. If the given wl_surface already has | |
| 263 | + * a wp_viewport object associated, the viewport_exists | |
| 264 | + * protocol error is raised. | |
| 265 | + */ | |
| 266 | +static inline struct wp_viewport * | |
| 267 | +wp_viewporter_get_viewport(struct wp_viewporter *wp_viewporter, struct wl_surface *surface) | |
| 268 | +{ | |
| 269 | + struct wl_proxy *id; | |
| 270 | + | |
| 271 | + id = wl_proxy_marshal_flags((struct wl_proxy *) wp_viewporter, | |
| 272 | + WP_VIEWPORTER_GET_VIEWPORT, &wp_viewport_interface, wl_proxy_get_version((struct wl_proxy *) wp_viewporter), 0, NULL, surface); | |
| 273 | + | |
| 274 | + return (struct wp_viewport *) id; | |
| 275 | +} | |
| 276 | + | |
| 277 | +#ifndef WP_VIEWPORT_ERROR_ENUM | |
| 278 | +#define WP_VIEWPORT_ERROR_ENUM | |
| 279 | +enum wp_viewport_error { | |
| 280 | + /** | |
| 281 | + * negative or zero values in width or height | |
| 282 | + */ | |
| 283 | + WP_VIEWPORT_ERROR_BAD_VALUE = 0, | |
| 284 | + /** | |
| 285 | + * destination size is not integer | |
| 286 | + */ | |
| 287 | + WP_VIEWPORT_ERROR_BAD_SIZE = 1, | |
| 288 | + /** | |
| 289 | + * source rectangle extends outside of the content area | |
| 290 | + */ | |
| 291 | + WP_VIEWPORT_ERROR_OUT_OF_BUFFER = 2, | |
| 292 | + /** | |
| 293 | + * the wl_surface was destroyed | |
| 294 | + */ | |
| 295 | + WP_VIEWPORT_ERROR_NO_SURFACE = 3, | |
| 296 | +}; | |
| 297 | +#endif /* WP_VIEWPORT_ERROR_ENUM */ | |
| 298 | + | |
| 299 | +#define WP_VIEWPORT_DESTROY 0 | |
| 300 | +#define WP_VIEWPORT_SET_SOURCE 1 | |
| 301 | +#define WP_VIEWPORT_SET_DESTINATION 2 | |
| 302 | + | |
| 303 | + | |
| 304 | +/** | |
| 305 | + * @ingroup iface_wp_viewport | |
| 306 | + */ | |
| 307 | +#define WP_VIEWPORT_DESTROY_SINCE_VERSION 1 | |
| 308 | +/** | |
| 309 | + * @ingroup iface_wp_viewport | |
| 310 | + */ | |
| 311 | +#define WP_VIEWPORT_SET_SOURCE_SINCE_VERSION 1 | |
| 312 | +/** | |
| 313 | + * @ingroup iface_wp_viewport | |
| 314 | + */ | |
| 315 | +#define WP_VIEWPORT_SET_DESTINATION_SINCE_VERSION 1 | |
| 316 | + | |
| 317 | +/** @ingroup iface_wp_viewport */ | |
| 318 | +static inline void | |
| 319 | +wp_viewport_set_user_data(struct wp_viewport *wp_viewport, void *user_data) | |
| 320 | +{ | |
| 321 | + wl_proxy_set_user_data((struct wl_proxy *) wp_viewport, user_data); | |
| 322 | +} | |
| 323 | + | |
| 324 | +/** @ingroup iface_wp_viewport */ | |
| 325 | +static inline void * | |
| 326 | +wp_viewport_get_user_data(struct wp_viewport *wp_viewport) | |
| 327 | +{ | |
| 328 | + return wl_proxy_get_user_data((struct wl_proxy *) wp_viewport); | |
| 329 | +} | |
| 330 | + | |
| 331 | +static inline uint32_t | |
| 332 | +wp_viewport_get_version(struct wp_viewport *wp_viewport) | |
| 333 | +{ | |
| 334 | + return wl_proxy_get_version((struct wl_proxy *) wp_viewport); | |
| 335 | +} | |
| 336 | + | |
| 337 | +/** | |
| 338 | + * @ingroup iface_wp_viewport | |
| 339 | + * | |
| 340 | + * The associated wl_surface's crop and scale state is removed. | |
| 341 | + * The change is applied on the next wl_surface.commit. | |
| 342 | + */ | |
| 343 | +static inline void | |
| 344 | +wp_viewport_destroy(struct wp_viewport *wp_viewport) | |
| 345 | +{ | |
| 346 | + wl_proxy_marshal_flags((struct wl_proxy *) wp_viewport, | |
| 347 | + WP_VIEWPORT_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) wp_viewport), WL_MARSHAL_FLAG_DESTROY); | |
| 348 | +} | |
| 349 | + | |
| 350 | +/** | |
| 351 | + * @ingroup iface_wp_viewport | |
| 352 | + * | |
| 353 | + * Set the source rectangle of the associated wl_surface. See | |
| 354 | + * wp_viewport for the description, and relation to the wl_buffer | |
| 355 | + * size. | |
| 356 | + * | |
| 357 | + * If all of x, y, width and height are -1.0, the source rectangle is | |
| 358 | + * unset instead. Any other set of values where width or height are zero | |
| 359 | + * or negative, or x or y are negative, raise the bad_value protocol | |
| 360 | + * error. | |
| 361 | + * | |
| 362 | + * The crop and scale state is double-buffered state, and will be | |
| 363 | + * applied on the next wl_surface.commit. | |
| 364 | + */ | |
| 365 | +static inline void | |
| 366 | +wp_viewport_set_source(struct wp_viewport *wp_viewport, wl_fixed_t x, wl_fixed_t y, wl_fixed_t width, wl_fixed_t height) | |
| 367 | +{ | |
| 368 | + wl_proxy_marshal_flags((struct wl_proxy *) wp_viewport, | |
| 369 | + WP_VIEWPORT_SET_SOURCE, NULL, wl_proxy_get_version((struct wl_proxy *) wp_viewport), 0, x, y, width, height); | |
| 370 | +} | |
| 371 | + | |
| 372 | +/** | |
| 373 | + * @ingroup iface_wp_viewport | |
| 374 | + * | |
| 375 | + * Set the destination size of the associated wl_surface. See | |
| 376 | + * wp_viewport for the description, and relation to the wl_buffer | |
| 377 | + * size. | |
| 378 | + * | |
| 379 | + * If width is -1 and height is -1, the destination size is unset | |
| 380 | + * instead. Any other pair of values for width and height that | |
| 381 | + * contains zero or negative values raises the bad_value protocol | |
| 382 | + * error. | |
| 383 | + * | |
| 384 | + * The crop and scale state is double-buffered state, and will be | |
| 385 | + * applied on the next wl_surface.commit. | |
| 386 | + */ | |
| 387 | +static inline void | |
| 388 | +wp_viewport_set_destination(struct wp_viewport *wp_viewport, int32_t width, int32_t height) | |
| 389 | +{ | |
| 390 | + wl_proxy_marshal_flags((struct wl_proxy *) wp_viewport, | |
| 391 | + WP_VIEWPORT_SET_DESTINATION, NULL, wl_proxy_get_version((struct wl_proxy *) wp_viewport), 0, width, height); | |
| 392 | +} | |
| 393 | + | |
| 394 | +#ifdef __cplusplus | |
| 395 | +} | |
| 396 | +#endif | |
| 397 | + | |
| 398 | +#endif |
+525 −0 raylib/external/glfw/src/wayland-client-protocol-code.h new file mode 100644 Large diff collapsed, click to expand
| @@ -0,0 +1,525 @@ | ||
| 1 | +/* Generated by wayland-scanner 1.26.0 */ | |
| 2 | + | |
| 3 | +/* | |
| 4 | + * Copyright �� 2008-2011 Kristian H��gsberg | |
| 5 | + * Copyright �� 2010-2011 Intel Corporation | |
| 6 | + * Copyright �� 2012-2013 Collabora, Ltd. | |
| 7 | + * | |
| 8 | + * Permission is hereby granted, free of charge, to any person | |
| 9 | + * obtaining a copy of this software and associated documentation files | |
| 10 | + * (the "Software"), to deal in the Software without restriction, | |
| 11 | + * including without limitation the rights to use, copy, modify, merge, | |
| 12 | + * publish, distribute, sublicense, and/or sell copies of the Software, | |
| 13 | + * and to permit persons to whom the Software is furnished to do so, | |
| 14 | + * subject to the following conditions: | |
| 15 | + * | |
| 16 | + * The above copyright notice and this permission notice (including the | |
| 17 | + * next paragraph) shall be included in all copies or substantial | |
| 18 | + * portions of the Software. | |
| 19 | + * | |
| 20 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | |
| 21 | + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | |
| 22 | + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | |
| 23 | + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS | |
| 24 | + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | |
| 25 | + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | |
| 26 | + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
| 27 | + * SOFTWARE. | |
| 28 | + */ | |
| 29 | + | |
| 30 | +#include <stdbool.h> | |
| 31 | +#include <stdlib.h> | |
| 32 | +#include <stdint.h> | |
| 33 | +#include "wayland-util.h" | |
| 34 | + | |
| 35 | +#ifndef __has_attribute | |
| 36 | +# define __has_attribute(x) 0 /* Compatibility with non-clang compilers. */ | |
| 37 | +#endif | |
| 38 | + | |
| 39 | +#if (__has_attribute(visibility) || defined(__GNUC__) && __GNUC__ >= 4) | |
| 40 | +#define WL_PRIVATE __attribute__ ((visibility("hidden"))) | |
| 41 | +#else | |
| 42 | +#define WL_PRIVATE | |
| 43 | +#endif | |
| 44 | + | |
| 45 | +extern const struct wl_interface wl_buffer_interface; | |
| 46 | +extern const struct wl_interface wl_callback_interface; | |
| 47 | +extern const struct wl_interface wl_data_device_interface; | |
| 48 | +extern const struct wl_interface wl_data_offer_interface; | |
| 49 | +extern const struct wl_interface wl_data_source_interface; | |
| 50 | +extern const struct wl_interface wl_keyboard_interface; | |
| 51 | +extern const struct wl_interface wl_output_interface; | |
| 52 | +extern const struct wl_interface wl_pointer_interface; | |
| 53 | +extern const struct wl_interface wl_region_interface; | |
| 54 | +extern const struct wl_interface wl_registry_interface; | |
| 55 | +extern const struct wl_interface wl_seat_interface; | |
| 56 | +extern const struct wl_interface wl_shell_surface_interface; | |
| 57 | +extern const struct wl_interface wl_shm_pool_interface; | |
| 58 | +extern const struct wl_interface wl_subsurface_interface; | |
| 59 | +extern const struct wl_interface wl_surface_interface; | |
| 60 | +extern const struct wl_interface wl_touch_interface; | |
| 61 | + | |
| 62 | +static const struct wl_interface *wayland_types[] = { | |
| 63 | + NULL, | |
| 64 | + NULL, | |
| 65 | + NULL, | |
| 66 | + NULL, | |
| 67 | + NULL, | |
| 68 | + NULL, | |
| 69 | + NULL, | |
| 70 | + NULL, | |
| 71 | + &wl_callback_interface, | |
| 72 | + &wl_registry_interface, | |
| 73 | + &wl_surface_interface, | |
| 74 | + &wl_region_interface, | |
| 75 | + &wl_buffer_interface, | |
| 76 | + NULL, | |
| 77 | + NULL, | |
| 78 | + NULL, | |
| 79 | + NULL, | |
| 80 | + NULL, | |
| 81 | + &wl_shm_pool_interface, | |
| 82 | + NULL, | |
| 83 | + NULL, | |
| 84 | + &wl_data_source_interface, | |
| 85 | + &wl_surface_interface, | |
| 86 | + &wl_surface_interface, | |
| 87 | + NULL, | |
| 88 | + &wl_data_source_interface, | |
| 89 | + NULL, | |
| 90 | + &wl_data_offer_interface, | |
| 91 | + NULL, | |
| 92 | + &wl_surface_interface, | |
| 93 | + NULL, | |
| 94 | + NULL, | |
| 95 | + &wl_data_offer_interface, | |
| 96 | + &wl_data_offer_interface, | |
| 97 | + &wl_data_source_interface, | |
| 98 | + &wl_data_device_interface, | |
| 99 | + &wl_seat_interface, | |
| 100 | + &wl_shell_surface_interface, | |
| 101 | + &wl_surface_interface, | |
| 102 | + &wl_seat_interface, | |
| 103 | + NULL, | |
| 104 | + &wl_seat_interface, | |
| 105 | + NULL, | |
| 106 | + NULL, | |
| 107 | + &wl_surface_interface, | |
| 108 | + NULL, | |
| 109 | + NULL, | |
| 110 | + NULL, | |
| 111 | + NULL, | |
| 112 | + NULL, | |
| 113 | + &wl_output_interface, | |
| 114 | + &wl_seat_interface, | |
| 115 | + NULL, | |
| 116 | + &wl_surface_interface, | |
| 117 | + NULL, | |
| 118 | + NULL, | |
| 119 | + NULL, | |
| 120 | + &wl_output_interface, | |
| 121 | + &wl_buffer_interface, | |
| 122 | + NULL, | |
| 123 | + NULL, | |
| 124 | + &wl_callback_interface, | |
| 125 | + &wl_region_interface, | |
| 126 | + &wl_region_interface, | |
| 127 | + &wl_output_interface, | |
| 128 | + &wl_output_interface, | |
| 129 | + &wl_pointer_interface, | |
| 130 | + &wl_keyboard_interface, | |
| 131 | + &wl_touch_interface, | |
| 132 | + NULL, | |
| 133 | + &wl_surface_interface, | |
| 134 | + NULL, | |
| 135 | + NULL, | |
| 136 | + NULL, | |
| 137 | + &wl_surface_interface, | |
| 138 | + NULL, | |
| 139 | + NULL, | |
| 140 | + NULL, | |
| 141 | + &wl_surface_interface, | |
| 142 | + NULL, | |
| 143 | + &wl_surface_interface, | |
| 144 | + NULL, | |
| 145 | + NULL, | |
| 146 | + &wl_surface_interface, | |
| 147 | + NULL, | |
| 148 | + NULL, | |
| 149 | + &wl_surface_interface, | |
| 150 | + NULL, | |
| 151 | + NULL, | |
| 152 | + NULL, | |
| 153 | + &wl_subsurface_interface, | |
| 154 | + &wl_surface_interface, | |
| 155 | + &wl_surface_interface, | |
| 156 | + &wl_surface_interface, | |
| 157 | + &wl_surface_interface, | |
| 158 | +}; | |
| 159 | + | |
| 160 | +static const struct wl_message wl_display_requests[] = { | |
| 161 | + { "sync", "n", wayland_types + 8 }, | |
| 162 | + { "get_registry", "n", wayland_types + 9 }, | |
| 163 | +}; | |
| 164 | + | |
| 165 | +static const struct wl_message wl_display_events[] = { | |
| 166 | + { "error", "ous", wayland_types + 0 }, | |
| 167 | + { "delete_id", "u", wayland_types + 0 }, | |
| 168 | +}; | |
| 169 | + | |
| 170 | +WL_PRIVATE const struct wl_interface wl_display_interface = { | |
| 171 | + "wl_display", 1, | |
| 172 | + 2, wl_display_requests, | |
| 173 | + 2, wl_display_events, | |
| 174 | +}; | |
| 175 | + | |
| 176 | +static const struct wl_message wl_registry_requests[] = { | |
| 177 | + { "bind", "usun", wayland_types + 0 }, | |
| 178 | +}; | |
| 179 | + | |
| 180 | +static const struct wl_message wl_registry_events[] = { | |
| 181 | + { "global", "usu", wayland_types + 0 }, | |
| 182 | + { "global_remove", "u", wayland_types + 0 }, | |
| 183 | +}; | |
| 184 | + | |
| 185 | +WL_PRIVATE const struct wl_interface wl_registry_interface = { | |
| 186 | + "wl_registry", 1, | |
| 187 | + 1, wl_registry_requests, | |
| 188 | + 2, wl_registry_events, | |
| 189 | +}; | |
| 190 | + | |
| 191 | +static const struct wl_message wl_callback_events[] = { | |
| 192 | + { "done", "u", wayland_types + 0 }, | |
| 193 | +}; | |
| 194 | + | |
| 195 | +WL_PRIVATE const struct wl_interface wl_callback_interface = { | |
| 196 | + "wl_callback", 1, | |
| 197 | + 0, NULL, | |
| 198 | + 1, wl_callback_events, | |
| 199 | +}; | |
| 200 | + | |
| 201 | +static const struct wl_message wl_compositor_requests[] = { | |
| 202 | + { "create_surface", "n", wayland_types + 10 }, | |
| 203 | + { "create_region", "n", wayland_types + 11 }, | |
| 204 | +}; | |
| 205 | + | |
| 206 | +WL_PRIVATE const struct wl_interface wl_compositor_interface = { | |
| 207 | + "wl_compositor", 6, | |
| 208 | + 2, wl_compositor_requests, | |
| 209 | + 0, NULL, | |
| 210 | +}; | |
| 211 | + | |
| 212 | +static const struct wl_message wl_shm_pool_requests[] = { | |
| 213 | + { "create_buffer", "niiiiu", wayland_types + 12 }, | |
| 214 | + { "destroy", "", wayland_types + 0 }, | |
| 215 | + { "resize", "i", wayland_types + 0 }, | |
| 216 | +}; | |
| 217 | + | |
| 218 | +WL_PRIVATE const struct wl_interface wl_shm_pool_interface = { | |
| 219 | + "wl_shm_pool", 1, | |
| 220 | + 3, wl_shm_pool_requests, | |
| 221 | + 0, NULL, | |
| 222 | +}; | |
| 223 | + | |
| 224 | +static const struct wl_message wl_shm_requests[] = { | |
| 225 | + { "create_pool", "nhi", wayland_types + 18 }, | |
| 226 | +}; | |
| 227 | + | |
| 228 | +static const struct wl_message wl_shm_events[] = { | |
| 229 | + { "format", "u", wayland_types + 0 }, | |
| 230 | +}; | |
| 231 | + | |
| 232 | +WL_PRIVATE const struct wl_interface wl_shm_interface = { | |
| 233 | + "wl_shm", 1, | |
| 234 | + 1, wl_shm_requests, | |
| 235 | + 1, wl_shm_events, | |
| 236 | +}; | |
| 237 | + | |
| 238 | +static const struct wl_message wl_buffer_requests[] = { | |
| 239 | + { "destroy", "", wayland_types + 0 }, | |
| 240 | +}; | |
| 241 | + | |
| 242 | +static const struct wl_message wl_buffer_events[] = { | |
| 243 | + { "release", "", wayland_types + 0 }, | |
| 244 | +}; | |
| 245 | + | |
| 246 | +WL_PRIVATE const struct wl_interface wl_buffer_interface = { | |
| 247 | + "wl_buffer", 1, | |
| 248 | + 1, wl_buffer_requests, | |
| 249 | + 1, wl_buffer_events, | |
| 250 | +}; | |
| 251 | + | |
| 252 | +static const struct wl_message wl_data_offer_requests[] = { | |
| 253 | + { "accept", "u?s", wayland_types + 0 }, | |
| 254 | + { "receive", "sh", wayland_types + 0 }, | |
| 255 | + { "destroy", "", wayland_types + 0 }, | |
| 256 | + { "finish", "3", wayland_types + 0 }, | |
| 257 | + { "set_actions", "3uu", wayland_types + 0 }, | |
| 258 | +}; | |
| 259 | + | |
| 260 | +static const struct wl_message wl_data_offer_events[] = { | |
| 261 | + { "offer", "s", wayland_types + 0 }, | |
| 262 | + { "source_actions", "3u", wayland_types + 0 }, | |
| 263 | + { "action", "3u", wayland_types + 0 }, | |
| 264 | +}; | |
| 265 | + | |
| 266 | +WL_PRIVATE const struct wl_interface wl_data_offer_interface = { | |
| 267 | + "wl_data_offer", 3, | |
| 268 | + 5, wl_data_offer_requests, | |
| 269 | + 3, wl_data_offer_events, | |
| 270 | +}; | |
| 271 | + | |
| 272 | +static const struct wl_message wl_data_source_requests[] = { | |
| 273 | + { "offer", "s", wayland_types + 0 }, | |
| 274 | + { "destroy", "", wayland_types + 0 }, | |
| 275 | + { "set_actions", "3u", wayland_types + 0 }, | |
| 276 | +}; | |
| 277 | + | |
| 278 | +static const struct wl_message wl_data_source_events[] = { | |
| 279 | + { "target", "?s", wayland_types + 0 }, | |
| 280 | + { "send", "sh", wayland_types + 0 }, | |
| 281 | + { "cancelled", "", wayland_types + 0 }, | |
| 282 | + { "dnd_drop_performed", "3", wayland_types + 0 }, | |
| 283 | + { "dnd_finished", "3", wayland_types + 0 }, | |
| 284 | + { "action", "3u", wayland_types + 0 }, | |
| 285 | +}; | |
| 286 | + | |
| 287 | +WL_PRIVATE const struct wl_interface wl_data_source_interface = { | |
| 288 | + "wl_data_source", 3, | |
| 289 | + 3, wl_data_source_requests, | |
| 290 | + 6, wl_data_source_events, | |
| 291 | +}; | |
| 292 | + | |
| 293 | +static const struct wl_message wl_data_device_requests[] = { | |
| 294 | + { "start_drag", "?oo?ou", wayland_types + 21 }, | |
| 295 | + { "set_selection", "?ou", wayland_types + 25 }, | |
| 296 | + { "release", "2", wayland_types + 0 }, | |
| 297 | +}; | |
| 298 | + | |
| 299 | +static const struct wl_message wl_data_device_events[] = { | |
| 300 | + { "data_offer", "n", wayland_types + 27 }, | |
| 301 | + { "enter", "uoff?o", wayland_types + 28 }, | |
| 302 | + { "leave", "", wayland_types + 0 }, | |
| 303 | + { "motion", "uff", wayland_types + 0 }, | |
| 304 | + { "drop", "", wayland_types + 0 }, | |
| 305 | + { "selection", "?o", wayland_types + 33 }, | |
| 306 | +}; | |
| 307 | + | |
| 308 | +WL_PRIVATE const struct wl_interface wl_data_device_interface = { | |
| 309 | + "wl_data_device", 3, | |
| 310 | + 3, wl_data_device_requests, | |
| 311 | + 6, wl_data_device_events, | |
| 312 | +}; | |
| 313 | + | |
| 314 | +static const struct wl_message wl_data_device_manager_requests[] = { | |
| 315 | + { "create_data_source", "n", wayland_types + 34 }, | |
| 316 | + { "get_data_device", "no", wayland_types + 35 }, | |
| 317 | +}; | |
| 318 | + | |
| 319 | +WL_PRIVATE const struct wl_interface wl_data_device_manager_interface = { | |
| 320 | + "wl_data_device_manager", 3, | |
| 321 | + 2, wl_data_device_manager_requests, | |
| 322 | + 0, NULL, | |
| 323 | +}; | |
| 324 | + | |
| 325 | +static const struct wl_message wl_shell_requests[] = { | |
| 326 | + { "get_shell_surface", "no", wayland_types + 37 }, | |
| 327 | +}; | |
| 328 | + | |
| 329 | +WL_PRIVATE const struct wl_interface wl_shell_interface = { | |
| 330 | + "wl_shell", 1, | |
| 331 | + 1, wl_shell_requests, | |
| 332 | + 0, NULL, | |
| 333 | +}; | |
| 334 | + | |
| 335 | +static const struct wl_message wl_shell_surface_requests[] = { | |
| 336 | + { "pong", "u", wayland_types + 0 }, | |
| 337 | + { "move", "ou", wayland_types + 39 }, | |
| 338 | + { "resize", "ouu", wayland_types + 41 }, | |
| 339 | + { "set_toplevel", "", wayland_types + 0 }, | |
| 340 | + { "set_transient", "oiiu", wayland_types + 44 }, | |
| 341 | + { "set_fullscreen", "uu?o", wayland_types + 48 }, | |
| 342 | + { "set_popup", "ouoiiu", wayland_types + 51 }, | |
| 343 | + { "set_maximized", "?o", wayland_types + 57 }, | |
| 344 | + { "set_title", "s", wayland_types + 0 }, | |
| 345 | + { "set_class", "s", wayland_types + 0 }, | |
| 346 | +}; | |
| 347 | + | |
| 348 | +static const struct wl_message wl_shell_surface_events[] = { | |
| 349 | + { "ping", "u", wayland_types + 0 }, | |
| 350 | + { "configure", "uii", wayland_types + 0 }, | |
| 351 | + { "popup_done", "", wayland_types + 0 }, | |
| 352 | +}; | |
| 353 | + | |
| 354 | +WL_PRIVATE const struct wl_interface wl_shell_surface_interface = { | |
| 355 | + "wl_shell_surface", 1, | |
| 356 | + 10, wl_shell_surface_requests, | |
| 357 | + 3, wl_shell_surface_events, | |
| 358 | +}; | |
| 359 | + | |
| 360 | +static const struct wl_message wl_surface_requests[] = { | |
| 361 | + { "destroy", "", wayland_types + 0 }, | |
| 362 | + { "attach", "?oii", wayland_types + 58 }, | |
| 363 | + { "damage", "iiii", wayland_types + 0 }, | |
| 364 | + { "frame", "n", wayland_types + 61 }, | |
| 365 | + { "set_opaque_region", "?o", wayland_types + 62 }, | |
| 366 | + { "set_input_region", "?o", wayland_types + 63 }, | |
| 367 | + { "commit", "", wayland_types + 0 }, | |
| 368 | + { "set_buffer_transform", "2i", wayland_types + 0 }, | |
| 369 | + { "set_buffer_scale", "3i", wayland_types + 0 }, | |
| 370 | + { "damage_buffer", "4iiii", wayland_types + 0 }, | |
| 371 | + { "offset", "5ii", wayland_types + 0 }, | |
| 372 | +}; | |
| 373 | + | |
| 374 | +static const struct wl_message wl_surface_events[] = { | |
| 375 | + { "enter", "o", wayland_types + 64 }, | |
| 376 | + { "leave", "o", wayland_types + 65 }, | |
| 377 | + { "preferred_buffer_scale", "6i", wayland_types + 0 }, | |
| 378 | + { "preferred_buffer_transform", "6u", wayland_types + 0 }, | |
| 379 | +}; | |
| 380 | + | |
| 381 | +WL_PRIVATE const struct wl_interface wl_surface_interface = { | |
| 382 | + "wl_surface", 6, | |
| 383 | + 11, wl_surface_requests, | |
| 384 | + 4, wl_surface_events, | |
| 385 | +}; | |
| 386 | + | |
| 387 | +static const struct wl_message wl_seat_requests[] = { | |
| 388 | + { "get_pointer", "n", wayland_types + 66 }, | |
| 389 | + { "get_keyboard", "n", wayland_types + 67 }, | |
| 390 | + { "get_touch", "n", wayland_types + 68 }, | |
| 391 | + { "release", "5", wayland_types + 0 }, | |
| 392 | +}; | |
| 393 | + | |
| 394 | +static const struct wl_message wl_seat_events[] = { | |
| 395 | + { "capabilities", "u", wayland_types + 0 }, | |
| 396 | + { "name", "2s", wayland_types + 0 }, | |
| 397 | +}; | |
| 398 | + | |
| 399 | +WL_PRIVATE const struct wl_interface wl_seat_interface = { | |
| 400 | + "wl_seat", 9, | |
| 401 | + 4, wl_seat_requests, | |
| 402 | + 2, wl_seat_events, | |
| 403 | +}; | |
| 404 | + | |
| 405 | +static const struct wl_message wl_pointer_requests[] = { | |
| 406 | + { "set_cursor", "u?oii", wayland_types + 69 }, | |
| 407 | + { "release", "3", wayland_types + 0 }, | |
| 408 | +}; | |
| 409 | + | |
| 410 | +static const struct wl_message wl_pointer_events[] = { | |
| 411 | + { "enter", "uoff", wayland_types + 73 }, | |
| 412 | + { "leave", "uo", wayland_types + 77 }, | |
| 413 | + { "motion", "uff", wayland_types + 0 }, | |
| 414 | + { "button", "uuuu", wayland_types + 0 }, | |
| 415 | + { "axis", "uuf", wayland_types + 0 }, | |
| 416 | + { "frame", "5", wayland_types + 0 }, | |
| 417 | + { "axis_source", "5u", wayland_types + 0 }, | |
| 418 | + { "axis_stop", "5uu", wayland_types + 0 }, | |
| 419 | + { "axis_discrete", "5ui", wayland_types + 0 }, | |
| 420 | + { "axis_value120", "8ui", wayland_types + 0 }, | |
| 421 | + { "axis_relative_direction", "9uu", wayland_types + 0 }, | |
| 422 | +}; | |
| 423 | + | |
| 424 | +WL_PRIVATE const struct wl_interface wl_pointer_interface = { | |
| 425 | + "wl_pointer", 9, | |
| 426 | + 2, wl_pointer_requests, | |
| 427 | + 11, wl_pointer_events, | |
| 428 | +}; | |
| 429 | + | |
| 430 | +static const struct wl_message wl_keyboard_requests[] = { | |
| 431 | + { "release", "3", wayland_types + 0 }, | |
| 432 | +}; | |
| 433 | + | |
| 434 | +static const struct wl_message wl_keyboard_events[] = { | |
| 435 | + { "keymap", "uhu", wayland_types + 0 }, | |
| 436 | + { "enter", "uoa", wayland_types + 79 }, | |
| 437 | + { "leave", "uo", wayland_types + 82 }, | |
| 438 | + { "key", "uuuu", wayland_types + 0 }, | |
| 439 | + { "modifiers", "uuuuu", wayland_types + 0 }, | |
| 440 | + { "repeat_info", "4ii", wayland_types + 0 }, | |
| 441 | +}; | |
| 442 | + | |
| 443 | +WL_PRIVATE const struct wl_interface wl_keyboard_interface = { | |
| 444 | + "wl_keyboard", 9, | |
| 445 | + 1, wl_keyboard_requests, | |
| 446 | + 6, wl_keyboard_events, | |
| 447 | +}; | |
| 448 | + | |
| 449 | +static const struct wl_message wl_touch_requests[] = { | |
| 450 | + { "release", "3", wayland_types + 0 }, | |
| 451 | +}; | |
| 452 | + | |
| 453 | +static const struct wl_message wl_touch_events[] = { | |
| 454 | + { "down", "uuoiff", wayland_types + 84 }, | |
| 455 | + { "up", "uui", wayland_types + 0 }, | |
| 456 | + { "motion", "uiff", wayland_types + 0 }, | |
| 457 | + { "frame", "", wayland_types + 0 }, | |
| 458 | + { "cancel", "", wayland_types + 0 }, | |
| 459 | + { "shape", "6iff", wayland_types + 0 }, | |
| 460 | + { "orientation", "6if", wayland_types + 0 }, | |
| 461 | +}; | |
| 462 | + | |
| 463 | +WL_PRIVATE const struct wl_interface wl_touch_interface = { | |
| 464 | + "wl_touch", 9, | |
| 465 | + 1, wl_touch_requests, | |
| 466 | + 7, wl_touch_events, | |
| 467 | +}; | |
| 468 | + | |
| 469 | +static const struct wl_message wl_output_requests[] = { | |
| 470 | + { "release", "3", wayland_types + 0 }, | |
| 471 | +}; | |
| 472 | + | |
| 473 | +static const struct wl_message wl_output_events[] = { | |
| 474 | + { "geometry", "iiiiissi", wayland_types + 0 }, | |
| 475 | + { "mode", "uiii", wayland_types + 0 }, | |
| 476 | + { "done", "2", wayland_types + 0 }, | |
| 477 | + { "scale", "2i", wayland_types + 0 }, | |
| 478 | + { "name", "4s", wayland_types + 0 }, | |
| 479 | + { "description", "4s", wayland_types + 0 }, | |
| 480 | +}; | |
| 481 | + | |
| 482 | +WL_PRIVATE const struct wl_interface wl_output_interface = { | |
| 483 | + "wl_output", 4, | |
| 484 | + 1, wl_output_requests, | |
| 485 | + 6, wl_output_events, | |
| 486 | +}; | |
| 487 | + | |
| 488 | +static const struct wl_message wl_region_requests[] = { | |
| 489 | + { "destroy", "", wayland_types + 0 }, | |
| 490 | + { "add", "iiii", wayland_types + 0 }, | |
| 491 | + { "subtract", "iiii", wayland_types + 0 }, | |
| 492 | +}; | |
| 493 | + | |
| 494 | +WL_PRIVATE const struct wl_interface wl_region_interface = { | |
| 495 | + "wl_region", 1, | |
| 496 | + 3, wl_region_requests, | |
| 497 | + 0, NULL, | |
| 498 | +}; | |
| 499 | + | |
| 500 | +static const struct wl_message wl_subcompositor_requests[] = { | |
| 501 | + { "destroy", "", wayland_types + 0 }, | |
| 502 | + { "get_subsurface", "noo", wayland_types + 90 }, | |
| 503 | +}; | |
| 504 | + | |
| 505 | +WL_PRIVATE const struct wl_interface wl_subcompositor_interface = { | |
| 506 | + "wl_subcompositor", 1, | |
| 507 | + 2, wl_subcompositor_requests, | |
| 508 | + 0, NULL, | |
| 509 | +}; | |
| 510 | + | |
| 511 | +static const struct wl_message wl_subsurface_requests[] = { | |
| 512 | + { "destroy", "", wayland_types + 0 }, | |
| 513 | + { "set_position", "ii", wayland_types + 0 }, | |
| 514 | + { "place_above", "o", wayland_types + 93 }, | |
| 515 | + { "place_below", "o", wayland_types + 94 }, | |
| 516 | + { "set_sync", "", wayland_types + 0 }, | |
| 517 | + { "set_desync", "", wayland_types + 0 }, | |
| 518 | +}; | |
| 519 | + | |
| 520 | +WL_PRIVATE const struct wl_interface wl_subsurface_interface = { | |
| 521 | + "wl_subsurface", 1, | |
| 522 | + 6, wl_subsurface_requests, | |
| 523 | + 0, NULL, | |
| 524 | +}; | |
| 525 | + |
+6236 −0 raylib/external/glfw/src/wayland-client-protocol.h new file mode 100644 Large diff collapsed, click to expand
| @@ -0,0 +1,6236 @@ | ||
| 1 | +/* Generated by wayland-scanner 1.26.0 */ | |
| 2 | + | |
| 3 | +#ifndef WAYLAND_CLIENT_PROTOCOL_H | |
| 4 | +#define WAYLAND_CLIENT_PROTOCOL_H | |
| 5 | + | |
| 6 | +#include <stdint.h> | |
| 7 | +#include <stddef.h> | |
| 8 | +#include "wayland-client.h" | |
| 9 | + | |
| 10 | +#ifdef __cplusplus | |
| 11 | +extern "C" { | |
| 12 | +#endif | |
| 13 | + | |
| 14 | +/** | |
| 15 | + * @page page_wayland The wayland protocol | |
| 16 | + * @section page_ifaces_wayland Interfaces | |
| 17 | + * - @subpage page_iface_wl_display - core global object | |
| 18 | + * - @subpage page_iface_wl_registry - global registry object | |
| 19 | + * - @subpage page_iface_wl_callback - callback object | |
| 20 | + * - @subpage page_iface_wl_compositor - the compositor singleton | |
| 21 | + * - @subpage page_iface_wl_shm_pool - a shared memory pool | |
| 22 | + * - @subpage page_iface_wl_shm - shared memory support | |
| 23 | + * - @subpage page_iface_wl_buffer - content for a wl_surface | |
| 24 | + * - @subpage page_iface_wl_data_offer - offer to transfer data | |
| 25 | + * - @subpage page_iface_wl_data_source - offer to transfer data | |
| 26 | + * - @subpage page_iface_wl_data_device - data transfer device | |
| 27 | + * - @subpage page_iface_wl_data_device_manager - data transfer interface | |
| 28 | + * - @subpage page_iface_wl_shell - create desktop-style surfaces | |
| 29 | + * - @subpage page_iface_wl_shell_surface - desktop-style metadata interface | |
| 30 | + * - @subpage page_iface_wl_surface - an onscreen surface | |
| 31 | + * - @subpage page_iface_wl_seat - group of input devices | |
| 32 | + * - @subpage page_iface_wl_pointer - pointer input device | |
| 33 | + * - @subpage page_iface_wl_keyboard - keyboard input device | |
| 34 | + * - @subpage page_iface_wl_touch - touchscreen input device | |
| 35 | + * - @subpage page_iface_wl_output - compositor output region | |
| 36 | + * - @subpage page_iface_wl_region - region interface | |
| 37 | + * - @subpage page_iface_wl_subcompositor - sub-surface compositing | |
| 38 | + * - @subpage page_iface_wl_subsurface - sub-surface interface to a wl_surface | |
| 39 | + * @section page_copyright_wayland Copyright | |
| 40 | + * <pre> | |
| 41 | + * | |
| 42 | + * Copyright �� 2008-2011 Kristian H��gsberg | |
| 43 | + * Copyright �� 2010-2011 Intel Corporation | |
| 44 | + * Copyright �� 2012-2013 Collabora, Ltd. | |
| 45 | + * | |
| 46 | + * Permission is hereby granted, free of charge, to any person | |
| 47 | + * obtaining a copy of this software and associated documentation files | |
| 48 | + * (the "Software"), to deal in the Software without restriction, | |
| 49 | + * including without limitation the rights to use, copy, modify, merge, | |
| 50 | + * publish, distribute, sublicense, and/or sell copies of the Software, | |
| 51 | + * and to permit persons to whom the Software is furnished to do so, | |
| 52 | + * subject to the following conditions: | |
| 53 | + * | |
| 54 | + * The above copyright notice and this permission notice (including the | |
| 55 | + * next paragraph) shall be included in all copies or substantial | |
| 56 | + * portions of the Software. | |
| 57 | + * | |
| 58 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | |
| 59 | + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | |
| 60 | + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | |
| 61 | + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS | |
| 62 | + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | |
| 63 | + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | |
| 64 | + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
| 65 | + * SOFTWARE. | |
| 66 | + * </pre> | |
| 67 | + */ | |
| 68 | +struct wl_buffer; | |
| 69 | +struct wl_callback; | |
| 70 | +struct wl_compositor; | |
| 71 | +struct wl_data_device; | |
| 72 | +struct wl_data_device_manager; | |
| 73 | +struct wl_data_offer; | |
| 74 | +struct wl_data_source; | |
| 75 | +struct wl_display; | |
| 76 | +struct wl_keyboard; | |
| 77 | +struct wl_output; | |
| 78 | +struct wl_pointer; | |
| 79 | +struct wl_region; | |
| 80 | +struct wl_registry; | |
| 81 | +struct wl_seat; | |
| 82 | +struct wl_shell; | |
| 83 | +struct wl_shell_surface; | |
| 84 | +struct wl_shm; | |
| 85 | +struct wl_shm_pool; | |
| 86 | +struct wl_subcompositor; | |
| 87 | +struct wl_subsurface; | |
| 88 | +struct wl_surface; | |
| 89 | +struct wl_touch; | |
| 90 | + | |
| 91 | +#ifndef WL_DISPLAY_INTERFACE | |
| 92 | +#define WL_DISPLAY_INTERFACE | |
| 93 | +/** | |
| 94 | + * @page page_iface_wl_display wl_display | |
| 95 | + * @section page_iface_wl_display_desc Description | |
| 96 | + * | |
| 97 | + * The core global object. This is a special singleton object. It | |
| 98 | + * is used for internal Wayland protocol features. | |
| 99 | + * @section page_iface_wl_display_api API | |
| 100 | + * See @ref iface_wl_display. | |
| 101 | + */ | |
| 102 | +/** | |
| 103 | + * @defgroup iface_wl_display The wl_display interface | |
| 104 | + * | |
| 105 | + * The core global object. This is a special singleton object. It | |
| 106 | + * is used for internal Wayland protocol features. | |
| 107 | + */ | |
| 108 | +extern const struct wl_interface wl_display_interface; | |
| 109 | +#endif | |
| 110 | +#ifndef WL_REGISTRY_INTERFACE | |
| 111 | +#define WL_REGISTRY_INTERFACE | |
| 112 | +/** | |
| 113 | + * @page page_iface_wl_registry wl_registry | |
| 114 | + * @section page_iface_wl_registry_desc Description | |
| 115 | + * | |
| 116 | + * The singleton global registry object. The server has a number of | |
| 117 | + * global objects that are available to all clients. These objects | |
| 118 | + * typically represent an actual object in the server (for example, | |
| 119 | + * an input device) or they are singleton objects that provide | |
| 120 | + * extension functionality. | |
| 121 | + * | |
| 122 | + * When a client creates a registry object, the registry object | |
| 123 | + * will emit a global event for each global currently in the | |
| 124 | + * registry. Globals come and go as a result of device or | |
| 125 | + * monitor hotplugs, reconfiguration or other events, and the | |
| 126 | + * registry will send out global and global_remove events to | |
| 127 | + * keep the client up to date with the changes. To mark the end | |
| 128 | + * of the initial burst of events, the client can use the | |
| 129 | + * wl_display.sync request immediately after calling | |
| 130 | + * wl_display.get_registry. | |
| 131 | + * | |
| 132 | + * A client can bind to a global object by using the bind | |
| 133 | + * request. This creates a client-side handle that lets the object | |
| 134 | + * emit events to the client and lets the client invoke requests on | |
| 135 | + * the object. | |
| 136 | + * @section page_iface_wl_registry_api API | |
| 137 | + * See @ref iface_wl_registry. | |
| 138 | + */ | |
| 139 | +/** | |
| 140 | + * @defgroup iface_wl_registry The wl_registry interface | |
| 141 | + * | |
| 142 | + * The singleton global registry object. The server has a number of | |
| 143 | + * global objects that are available to all clients. These objects | |
| 144 | + * typically represent an actual object in the server (for example, | |
| 145 | + * an input device) or they are singleton objects that provide | |
| 146 | + * extension functionality. | |
| 147 | + * | |
| 148 | + * When a client creates a registry object, the registry object | |
| 149 | + * will emit a global event for each global currently in the | |
| 150 | + * registry. Globals come and go as a result of device or | |
| 151 | + * monitor hotplugs, reconfiguration or other events, and the | |
| 152 | + * registry will send out global and global_remove events to | |
| 153 | + * keep the client up to date with the changes. To mark the end | |
| 154 | + * of the initial burst of events, the client can use the | |
| 155 | + * wl_display.sync request immediately after calling | |
| 156 | + * wl_display.get_registry. | |
| 157 | + * | |
| 158 | + * A client can bind to a global object by using the bind | |
| 159 | + * request. This creates a client-side handle that lets the object | |
| 160 | + * emit events to the client and lets the client invoke requests on | |
| 161 | + * the object. | |
| 162 | + */ | |
| 163 | +extern const struct wl_interface wl_registry_interface; | |
| 164 | +#endif | |
| 165 | +#ifndef WL_CALLBACK_INTERFACE | |
| 166 | +#define WL_CALLBACK_INTERFACE | |
| 167 | +/** | |
| 168 | + * @page page_iface_wl_callback wl_callback | |
| 169 | + * @section page_iface_wl_callback_desc Description | |
| 170 | + * | |
| 171 | + * Clients can handle the 'done' event to get notified when | |
| 172 | + * the related request is done. | |
| 173 | + * | |
| 174 | + * Note, because wl_callback objects are created from multiple independent | |
| 175 | + * factory interfaces, the wl_callback interface is frozen at version 1. | |
| 176 | + * @section page_iface_wl_callback_api API | |
| 177 | + * See @ref iface_wl_callback. | |
| 178 | + */ | |
| 179 | +/** | |
| 180 | + * @defgroup iface_wl_callback The wl_callback interface | |
| 181 | + * | |
| 182 | + * Clients can handle the 'done' event to get notified when | |
| 183 | + * the related request is done. | |
| 184 | + * | |
| 185 | + * Note, because wl_callback objects are created from multiple independent | |
| 186 | + * factory interfaces, the wl_callback interface is frozen at version 1. | |
| 187 | + */ | |
| 188 | +extern const struct wl_interface wl_callback_interface; | |
| 189 | +#endif | |
| 190 | +#ifndef WL_COMPOSITOR_INTERFACE | |
| 191 | +#define WL_COMPOSITOR_INTERFACE | |
| 192 | +/** | |
| 193 | + * @page page_iface_wl_compositor wl_compositor | |
| 194 | + * @section page_iface_wl_compositor_desc Description | |
| 195 | + * | |
| 196 | + * A compositor. This object is a singleton global. The | |
| 197 | + * compositor is in charge of combining the contents of multiple | |
| 198 | + * surfaces into one displayable output. | |
| 199 | + * @section page_iface_wl_compositor_api API | |
| 200 | + * See @ref iface_wl_compositor. | |
| 201 | + */ | |
| 202 | +/** | |
| 203 | + * @defgroup iface_wl_compositor The wl_compositor interface | |
| 204 | + * | |
| 205 | + * A compositor. This object is a singleton global. The | |
| 206 | + * compositor is in charge of combining the contents of multiple | |
| 207 | + * surfaces into one displayable output. | |
| 208 | + */ | |
| 209 | +extern const struct wl_interface wl_compositor_interface; | |
| 210 | +#endif | |
| 211 | +#ifndef WL_SHM_POOL_INTERFACE | |
| 212 | +#define WL_SHM_POOL_INTERFACE | |
| 213 | +/** | |
| 214 | + * @page page_iface_wl_shm_pool wl_shm_pool | |
| 215 | + * @section page_iface_wl_shm_pool_desc Description | |
| 216 | + * | |
| 217 | + * The wl_shm_pool object encapsulates a piece of memory shared | |
| 218 | + * between the compositor and client. Through the wl_shm_pool | |
| 219 | + * object, the client can allocate shared memory wl_buffer objects. | |
| 220 | + * All objects created through the same pool share the same | |
| 221 | + * underlying mapped memory. Reusing the mapped memory avoids the | |
| 222 | + * setup/teardown overhead and is useful when interactively resizing | |
| 223 | + * a surface or for many small buffers. | |
| 224 | + * @section page_iface_wl_shm_pool_api API | |
| 225 | + * See @ref iface_wl_shm_pool. | |
| 226 | + */ | |
| 227 | +/** | |
| 228 | + * @defgroup iface_wl_shm_pool The wl_shm_pool interface | |
| 229 | + * | |
| 230 | + * The wl_shm_pool object encapsulates a piece of memory shared | |
| 231 | + * between the compositor and client. Through the wl_shm_pool | |
| 232 | + * object, the client can allocate shared memory wl_buffer objects. | |
| 233 | + * All objects created through the same pool share the same | |
| 234 | + * underlying mapped memory. Reusing the mapped memory avoids the | |
| 235 | + * setup/teardown overhead and is useful when interactively resizing | |
| 236 | + * a surface or for many small buffers. | |
| 237 | + */ | |
| 238 | +extern const struct wl_interface wl_shm_pool_interface; | |
| 239 | +#endif | |
| 240 | +#ifndef WL_SHM_INTERFACE | |
| 241 | +#define WL_SHM_INTERFACE | |
| 242 | +/** | |
| 243 | + * @page page_iface_wl_shm wl_shm | |
| 244 | + * @section page_iface_wl_shm_desc Description | |
| 245 | + * | |
| 246 | + * A singleton global object that provides support for shared | |
| 247 | + * memory. | |
| 248 | + * | |
| 249 | + * Clients can create wl_shm_pool objects using the create_pool | |
| 250 | + * request. | |
| 251 | + * | |
| 252 | + * On binding the wl_shm object one or more format events | |
| 253 | + * are emitted to inform clients about the valid pixel formats | |
| 254 | + * that can be used for buffers. | |
| 255 | + * @section page_iface_wl_shm_api API | |
| 256 | + * See @ref iface_wl_shm. | |
| 257 | + */ | |
| 258 | +/** | |
| 259 | + * @defgroup iface_wl_shm The wl_shm interface | |
| 260 | + * | |
| 261 | + * A singleton global object that provides support for shared | |
| 262 | + * memory. | |
| 263 | + * | |
| 264 | + * Clients can create wl_shm_pool objects using the create_pool | |
| 265 | + * request. | |
| 266 | + * | |
| 267 | + * On binding the wl_shm object one or more format events | |
| 268 | + * are emitted to inform clients about the valid pixel formats | |
| 269 | + * that can be used for buffers. | |
| 270 | + */ | |
| 271 | +extern const struct wl_interface wl_shm_interface; | |
| 272 | +#endif | |
| 273 | +#ifndef WL_BUFFER_INTERFACE | |
| 274 | +#define WL_BUFFER_INTERFACE | |
| 275 | +/** | |
| 276 | + * @page page_iface_wl_buffer wl_buffer | |
| 277 | + * @section page_iface_wl_buffer_desc Description | |
| 278 | + * | |
| 279 | + * A buffer provides the content for a wl_surface. Buffers are | |
| 280 | + * created through factory interfaces such as wl_shm, wp_linux_buffer_params | |
| 281 | + * (from the linux-dmabuf protocol extension) or similar. It has a width and | |
| 282 | + * a height and can be attached to a wl_surface, but the mechanism by which a | |
| 283 | + * client provides and updates the contents is defined by the buffer factory | |
| 284 | + * interface. | |
| 285 | + * | |
| 286 | + * If the buffer uses a format that has an alpha channel, the alpha channel | |
| 287 | + * is assumed to be premultiplied in the color channels unless otherwise | |
| 288 | + * specified. | |
| 289 | + * | |
| 290 | + * Note, because wl_buffer objects are created from multiple independent | |
| 291 | + * factory interfaces, the wl_buffer interface is frozen at version 1. | |
| 292 | + * @section page_iface_wl_buffer_api API | |
| 293 | + * See @ref iface_wl_buffer. | |
| 294 | + */ | |
| 295 | +/** | |
| 296 | + * @defgroup iface_wl_buffer The wl_buffer interface | |
| 297 | + * | |
| 298 | + * A buffer provides the content for a wl_surface. Buffers are | |
| 299 | + * created through factory interfaces such as wl_shm, wp_linux_buffer_params | |
| 300 | + * (from the linux-dmabuf protocol extension) or similar. It has a width and | |
| 301 | + * a height and can be attached to a wl_surface, but the mechanism by which a | |
| 302 | + * client provides and updates the contents is defined by the buffer factory | |
| 303 | + * interface. | |
| 304 | + * | |
| 305 | + * If the buffer uses a format that has an alpha channel, the alpha channel | |
| 306 | + * is assumed to be premultiplied in the color channels unless otherwise | |
| 307 | + * specified. | |
| 308 | + * | |
| 309 | + * Note, because wl_buffer objects are created from multiple independent | |
| 310 | + * factory interfaces, the wl_buffer interface is frozen at version 1. | |
| 311 | + */ | |
| 312 | +extern const struct wl_interface wl_buffer_interface; | |
| 313 | +#endif | |
| 314 | +#ifndef WL_DATA_OFFER_INTERFACE | |
| 315 | +#define WL_DATA_OFFER_INTERFACE | |
| 316 | +/** | |
| 317 | + * @page page_iface_wl_data_offer wl_data_offer | |
| 318 | + * @section page_iface_wl_data_offer_desc Description | |
| 319 | + * | |
| 320 | + * A wl_data_offer represents a piece of data offered for transfer | |
| 321 | + * by another client (the source client). It is used by the | |
| 322 | + * copy-and-paste and drag-and-drop mechanisms. The offer | |
| 323 | + * describes the different mime types that the data can be | |
| 324 | + * converted to and provides the mechanism for transferring the | |
| 325 | + * data directly from the source client. | |
| 326 | + * @section page_iface_wl_data_offer_api API | |
| 327 | + * See @ref iface_wl_data_offer. | |
| 328 | + */ | |
| 329 | +/** | |
| 330 | + * @defgroup iface_wl_data_offer The wl_data_offer interface | |
| 331 | + * | |
| 332 | + * A wl_data_offer represents a piece of data offered for transfer | |
| 333 | + * by another client (the source client). It is used by the | |
| 334 | + * copy-and-paste and drag-and-drop mechanisms. The offer | |
| 335 | + * describes the different mime types that the data can be | |
| 336 | + * converted to and provides the mechanism for transferring the | |
| 337 | + * data directly from the source client. | |
| 338 | + */ | |
| 339 | +extern const struct wl_interface wl_data_offer_interface; | |
| 340 | +#endif | |
| 341 | +#ifndef WL_DATA_SOURCE_INTERFACE | |
| 342 | +#define WL_DATA_SOURCE_INTERFACE | |
| 343 | +/** | |
| 344 | + * @page page_iface_wl_data_source wl_data_source | |
| 345 | + * @section page_iface_wl_data_source_desc Description | |
| 346 | + * | |
| 347 | + * The wl_data_source object is the source side of a wl_data_offer. | |
| 348 | + * It is created by the source client in a data transfer and | |
| 349 | + * provides a way to describe the offered data and a way to respond | |
| 350 | + * to requests to transfer the data. | |
| 351 | + * @section page_iface_wl_data_source_api API | |
| 352 | + * See @ref iface_wl_data_source. | |
| 353 | + */ | |
| 354 | +/** | |
| 355 | + * @defgroup iface_wl_data_source The wl_data_source interface | |
| 356 | + * | |
| 357 | + * The wl_data_source object is the source side of a wl_data_offer. | |
| 358 | + * It is created by the source client in a data transfer and | |
| 359 | + * provides a way to describe the offered data and a way to respond | |
| 360 | + * to requests to transfer the data. | |
| 361 | + */ | |
| 362 | +extern const struct wl_interface wl_data_source_interface; | |
| 363 | +#endif | |
| 364 | +#ifndef WL_DATA_DEVICE_INTERFACE | |
| 365 | +#define WL_DATA_DEVICE_INTERFACE | |
| 366 | +/** | |
| 367 | + * @page page_iface_wl_data_device wl_data_device | |
| 368 | + * @section page_iface_wl_data_device_desc Description | |
| 369 | + * | |
| 370 | + * There is one wl_data_device per seat which can be obtained | |
| 371 | + * from the global wl_data_device_manager singleton. | |
| 372 | + * | |
| 373 | + * A wl_data_device provides access to inter-client data transfer | |
| 374 | + * mechanisms such as copy-and-paste and drag-and-drop. | |
| 375 | + * @section page_iface_wl_data_device_api API | |
| 376 | + * See @ref iface_wl_data_device. | |
| 377 | + */ | |
| 378 | +/** | |
| 379 | + * @defgroup iface_wl_data_device The wl_data_device interface | |
| 380 | + * | |
| 381 | + * There is one wl_data_device per seat which can be obtained | |
| 382 | + * from the global wl_data_device_manager singleton. | |
| 383 | + * | |
| 384 | + * A wl_data_device provides access to inter-client data transfer | |
| 385 | + * mechanisms such as copy-and-paste and drag-and-drop. | |
| 386 | + */ | |
| 387 | +extern const struct wl_interface wl_data_device_interface; | |
| 388 | +#endif | |
| 389 | +#ifndef WL_DATA_DEVICE_MANAGER_INTERFACE | |
| 390 | +#define WL_DATA_DEVICE_MANAGER_INTERFACE | |
| 391 | +/** | |
| 392 | + * @page page_iface_wl_data_device_manager wl_data_device_manager | |
| 393 | + * @section page_iface_wl_data_device_manager_desc Description | |
| 394 | + * | |
| 395 | + * The wl_data_device_manager is a singleton global object that | |
| 396 | + * provides access to inter-client data transfer mechanisms such as | |
| 397 | + * copy-and-paste and drag-and-drop. These mechanisms are tied to | |
| 398 | + * a wl_seat and this interface lets a client get a wl_data_device | |
| 399 | + * corresponding to a wl_seat. | |
| 400 | + * | |
| 401 | + * Depending on the version bound, the objects created from the bound | |
| 402 | + * wl_data_device_manager object will have different requirements for | |
| 403 | + * functioning properly. See wl_data_source.set_actions, | |
| 404 | + * wl_data_offer.accept and wl_data_offer.finish for details. | |
| 405 | + * @section page_iface_wl_data_device_manager_api API | |
| 406 | + * See @ref iface_wl_data_device_manager. | |
| 407 | + */ | |
| 408 | +/** | |
| 409 | + * @defgroup iface_wl_data_device_manager The wl_data_device_manager interface | |
| 410 | + * | |
| 411 | + * The wl_data_device_manager is a singleton global object that | |
| 412 | + * provides access to inter-client data transfer mechanisms such as | |
| 413 | + * copy-and-paste and drag-and-drop. These mechanisms are tied to | |
| 414 | + * a wl_seat and this interface lets a client get a wl_data_device | |
| 415 | + * corresponding to a wl_seat. | |
| 416 | + * | |
| 417 | + * Depending on the version bound, the objects created from the bound | |
| 418 | + * wl_data_device_manager object will have different requirements for | |
| 419 | + * functioning properly. See wl_data_source.set_actions, | |
| 420 | + * wl_data_offer.accept and wl_data_offer.finish for details. | |
| 421 | + */ | |
| 422 | +extern const struct wl_interface wl_data_device_manager_interface; | |
| 423 | +#endif | |
| 424 | +#ifndef WL_SHELL_INTERFACE | |
| 425 | +#define WL_SHELL_INTERFACE | |
| 426 | +/** | |
| 427 | + * @page page_iface_wl_shell wl_shell | |
| 428 | + * @section page_iface_wl_shell_desc Description | |
| 429 | + * | |
| 430 | + * This interface is implemented by servers that provide | |
| 431 | + * desktop-style user interfaces. | |
| 432 | + * | |
| 433 | + * It allows clients to associate a wl_shell_surface with | |
| 434 | + * a basic surface. | |
| 435 | + * | |
| 436 | + * Note! This protocol is deprecated and not intended for production use. | |
| 437 | + * For desktop-style user interfaces, use xdg_shell. Compositors and clients | |
| 438 | + * should not implement this interface. | |
| 439 | + * @section page_iface_wl_shell_api API | |
| 440 | + * See @ref iface_wl_shell. | |
| 441 | + */ | |
| 442 | +/** | |
| 443 | + * @defgroup iface_wl_shell The wl_shell interface | |
| 444 | + * | |
| 445 | + * This interface is implemented by servers that provide | |
| 446 | + * desktop-style user interfaces. | |
| 447 | + * | |
| 448 | + * It allows clients to associate a wl_shell_surface with | |
| 449 | + * a basic surface. | |
| 450 | + * | |
| 451 | + * Note! This protocol is deprecated and not intended for production use. | |
| 452 | + * For desktop-style user interfaces, use xdg_shell. Compositors and clients | |
| 453 | + * should not implement this interface. | |
| 454 | + */ | |
| 455 | +extern const struct wl_interface wl_shell_interface; | |
| 456 | +#endif | |
| 457 | +#ifndef WL_SHELL_SURFACE_INTERFACE | |
| 458 | +#define WL_SHELL_SURFACE_INTERFACE | |
| 459 | +/** | |
| 460 | + * @page page_iface_wl_shell_surface wl_shell_surface | |
| 461 | + * @section page_iface_wl_shell_surface_desc Description | |
| 462 | + * | |
| 463 | + * An interface that may be implemented by a wl_surface, for | |
| 464 | + * implementations that provide a desktop-style user interface. | |
| 465 | + * | |
| 466 | + * It provides requests to treat surfaces like toplevel, fullscreen | |
| 467 | + * or popup windows, move, resize or maximize them, associate | |
| 468 | + * metadata like title and class, etc. | |
| 469 | + * | |
| 470 | + * On the server side the object is automatically destroyed when | |
| 471 | + * the related wl_surface is destroyed. On the client side, | |
| 472 | + * wl_shell_surface_destroy() must be called before destroying | |
| 473 | + * the wl_surface object. | |
| 474 | + * @section page_iface_wl_shell_surface_api API | |
| 475 | + * See @ref iface_wl_shell_surface. | |
| 476 | + */ | |
| 477 | +/** | |
| 478 | + * @defgroup iface_wl_shell_surface The wl_shell_surface interface | |
| 479 | + * | |
| 480 | + * An interface that may be implemented by a wl_surface, for | |
| 481 | + * implementations that provide a desktop-style user interface. | |
| 482 | + * | |
| 483 | + * It provides requests to treat surfaces like toplevel, fullscreen | |
| 484 | + * or popup windows, move, resize or maximize them, associate | |
| 485 | + * metadata like title and class, etc. | |
| 486 | + * | |
| 487 | + * On the server side the object is automatically destroyed when | |
| 488 | + * the related wl_surface is destroyed. On the client side, | |
| 489 | + * wl_shell_surface_destroy() must be called before destroying | |
| 490 | + * the wl_surface object. | |
| 491 | + */ | |
| 492 | +extern const struct wl_interface wl_shell_surface_interface; | |
| 493 | +#endif | |
| 494 | +#ifndef WL_SURFACE_INTERFACE | |
| 495 | +#define WL_SURFACE_INTERFACE | |
| 496 | +/** | |
| 497 | + * @page page_iface_wl_surface wl_surface | |
| 498 | + * @section page_iface_wl_surface_desc Description | |
| 499 | + * | |
| 500 | + * A surface is a rectangular area that may be displayed on zero | |
| 501 | + * or more outputs, and shown any number of times at the compositor's | |
| 502 | + * discretion. They can present wl_buffers, receive user input, and | |
| 503 | + * define a local coordinate system. | |
| 504 | + * | |
| 505 | + * The size of a surface (and relative positions on it) is described | |
| 506 | + * in surface-local coordinates, which may differ from the buffer | |
| 507 | + * coordinates of the pixel content, in case a buffer_transform | |
| 508 | + * or a buffer_scale is used. | |
| 509 | + * | |
| 510 | + * A surface without a "role" is fairly useless: a compositor does | |
| 511 | + * not know where, when or how to present it. The role is the | |
| 512 | + * purpose of a wl_surface. Examples of roles are a cursor for a | |
| 513 | + * pointer (as set by wl_pointer.set_cursor), a drag icon | |
| 514 | + * (wl_data_device.start_drag), a sub-surface | |
| 515 | + * (wl_subcompositor.get_subsurface), and a window as defined by a | |
| 516 | + * shell protocol (e.g. wl_shell.get_shell_surface). | |
| 517 | + * | |
| 518 | + * A surface can have only one role at a time. Initially a | |
| 519 | + * wl_surface does not have a role. Once a wl_surface is given a | |
| 520 | + * role, it is set permanently for the whole lifetime of the | |
| 521 | + * wl_surface object. Giving the current role again is allowed, | |
| 522 | + * unless explicitly forbidden by the relevant interface | |
| 523 | + * specification. | |
| 524 | + * | |
| 525 | + * Surface roles are given by requests in other interfaces such as | |
| 526 | + * wl_pointer.set_cursor. The request should explicitly mention | |
| 527 | + * that this request gives a role to a wl_surface. Often, this | |
| 528 | + * request also creates a new protocol object that represents the | |
| 529 | + * role and adds additional functionality to wl_surface. When a | |
| 530 | + * client wants to destroy a wl_surface, they must destroy this role | |
| 531 | + * object before the wl_surface, otherwise a defunct_role_object error is | |
| 532 | + * sent. | |
| 533 | + * | |
| 534 | + * Destroying the role object does not remove the role from the | |
| 535 | + * wl_surface, but it may stop the wl_surface from "playing the role". | |
| 536 | + * For instance, if a wl_subsurface object is destroyed, the wl_surface | |
| 537 | + * it was created for will be unmapped and forget its position and | |
| 538 | + * z-order. It is allowed to create a wl_subsurface for the same | |
| 539 | + * wl_surface again, but it is not allowed to use the wl_surface as | |
| 540 | + * a cursor (cursor is a different role than sub-surface, and role | |
| 541 | + * switching is not allowed). | |
| 542 | + * @section page_iface_wl_surface_api API | |
| 543 | + * See @ref iface_wl_surface. | |
| 544 | + */ | |
| 545 | +/** | |
| 546 | + * @defgroup iface_wl_surface The wl_surface interface | |
| 547 | + * | |
| 548 | + * A surface is a rectangular area that may be displayed on zero | |
| 549 | + * or more outputs, and shown any number of times at the compositor's | |
| 550 | + * discretion. They can present wl_buffers, receive user input, and | |
| 551 | + * define a local coordinate system. | |
| 552 | + * | |
| 553 | + * The size of a surface (and relative positions on it) is described | |
| 554 | + * in surface-local coordinates, which may differ from the buffer | |
| 555 | + * coordinates of the pixel content, in case a buffer_transform | |
| 556 | + * or a buffer_scale is used. | |
| 557 | + * | |
| 558 | + * A surface without a "role" is fairly useless: a compositor does | |
| 559 | + * not know where, when or how to present it. The role is the | |
| 560 | + * purpose of a wl_surface. Examples of roles are a cursor for a | |
| 561 | + * pointer (as set by wl_pointer.set_cursor), a drag icon | |
| 562 | + * (wl_data_device.start_drag), a sub-surface | |
| 563 | + * (wl_subcompositor.get_subsurface), and a window as defined by a | |
| 564 | + * shell protocol (e.g. wl_shell.get_shell_surface). | |
| 565 | + * | |
| 566 | + * A surface can have only one role at a time. Initially a | |
| 567 | + * wl_surface does not have a role. Once a wl_surface is given a | |
| 568 | + * role, it is set permanently for the whole lifetime of the | |
| 569 | + * wl_surface object. Giving the current role again is allowed, | |
| 570 | + * unless explicitly forbidden by the relevant interface | |
| 571 | + * specification. | |
| 572 | + * | |
| 573 | + * Surface roles are given by requests in other interfaces such as | |
| 574 | + * wl_pointer.set_cursor. The request should explicitly mention | |
| 575 | + * that this request gives a role to a wl_surface. Often, this | |
| 576 | + * request also creates a new protocol object that represents the | |
| 577 | + * role and adds additional functionality to wl_surface. When a | |
| 578 | + * client wants to destroy a wl_surface, they must destroy this role | |
| 579 | + * object before the wl_surface, otherwise a defunct_role_object error is | |
| 580 | + * sent. | |
| 581 | + * | |
| 582 | + * Destroying the role object does not remove the role from the | |
| 583 | + * wl_surface, but it may stop the wl_surface from "playing the role". | |
| 584 | + * For instance, if a wl_subsurface object is destroyed, the wl_surface | |
| 585 | + * it was created for will be unmapped and forget its position and | |
| 586 | + * z-order. It is allowed to create a wl_subsurface for the same | |
| 587 | + * wl_surface again, but it is not allowed to use the wl_surface as | |
| 588 | + * a cursor (cursor is a different role than sub-surface, and role | |
| 589 | + * switching is not allowed). | |
| 590 | + */ | |
| 591 | +extern const struct wl_interface wl_surface_interface; | |
| 592 | +#endif | |
| 593 | +#ifndef WL_SEAT_INTERFACE | |
| 594 | +#define WL_SEAT_INTERFACE | |
| 595 | +/** | |
| 596 | + * @page page_iface_wl_seat wl_seat | |
| 597 | + * @section page_iface_wl_seat_desc Description | |
| 598 | + * | |
| 599 | + * A seat is a group of keyboards, pointer and touch devices. This | |
| 600 | + * object is published as a global during start up, or when such a | |
| 601 | + * device is hot plugged. A seat typically has a pointer and | |
| 602 | + * maintains a keyboard focus and a pointer focus. | |
| 603 | + * @section page_iface_wl_seat_api API | |
| 604 | + * See @ref iface_wl_seat. | |
| 605 | + */ | |
| 606 | +/** | |
| 607 | + * @defgroup iface_wl_seat The wl_seat interface | |
| 608 | + * | |
| 609 | + * A seat is a group of keyboards, pointer and touch devices. This | |
| 610 | + * object is published as a global during start up, or when such a | |
| 611 | + * device is hot plugged. A seat typically has a pointer and | |
| 612 | + * maintains a keyboard focus and a pointer focus. | |
| 613 | + */ | |
| 614 | +extern const struct wl_interface wl_seat_interface; | |
| 615 | +#endif | |
| 616 | +#ifndef WL_POINTER_INTERFACE | |
| 617 | +#define WL_POINTER_INTERFACE | |
| 618 | +/** | |
| 619 | + * @page page_iface_wl_pointer wl_pointer | |
| 620 | + * @section page_iface_wl_pointer_desc Description | |
| 621 | + * | |
| 622 | + * The wl_pointer interface represents one or more input devices, | |
| 623 | + * such as mice, which control the pointer location and pointer_focus | |
| 624 | + * of a seat. | |
| 625 | + * | |
| 626 | + * The wl_pointer interface generates motion, enter and leave | |
| 627 | + * events for the surfaces that the pointer is located over, | |
| 628 | + * and button and axis events for button presses, button releases | |
| 629 | + * and scrolling. | |
| 630 | + * @section page_iface_wl_pointer_api API | |
| 631 | + * See @ref iface_wl_pointer. | |
| 632 | + */ | |
| 633 | +/** | |
| 634 | + * @defgroup iface_wl_pointer The wl_pointer interface | |
| 635 | + * | |
| 636 | + * The wl_pointer interface represents one or more input devices, | |
| 637 | + * such as mice, which control the pointer location and pointer_focus | |
| 638 | + * of a seat. | |
| 639 | + * | |
| 640 | + * The wl_pointer interface generates motion, enter and leave | |
| 641 | + * events for the surfaces that the pointer is located over, | |
| 642 | + * and button and axis events for button presses, button releases | |
| 643 | + * and scrolling. | |
| 644 | + */ | |
| 645 | +extern const struct wl_interface wl_pointer_interface; | |
| 646 | +#endif | |
| 647 | +#ifndef WL_KEYBOARD_INTERFACE | |
| 648 | +#define WL_KEYBOARD_INTERFACE | |
| 649 | +/** | |
| 650 | + * @page page_iface_wl_keyboard wl_keyboard | |
| 651 | + * @section page_iface_wl_keyboard_desc Description | |
| 652 | + * | |
| 653 | + * The wl_keyboard interface represents one or more keyboards | |
| 654 | + * associated with a seat. | |
| 655 | + * @section page_iface_wl_keyboard_api API | |
| 656 | + * See @ref iface_wl_keyboard. | |
| 657 | + */ | |
| 658 | +/** | |
| 659 | + * @defgroup iface_wl_keyboard The wl_keyboard interface | |
| 660 | + * | |
| 661 | + * The wl_keyboard interface represents one or more keyboards | |
| 662 | + * associated with a seat. | |
| 663 | + */ | |
| 664 | +extern const struct wl_interface wl_keyboard_interface; | |
| 665 | +#endif | |
| 666 | +#ifndef WL_TOUCH_INTERFACE | |
| 667 | +#define WL_TOUCH_INTERFACE | |
| 668 | +/** | |
| 669 | + * @page page_iface_wl_touch wl_touch | |
| 670 | + * @section page_iface_wl_touch_desc Description | |
| 671 | + * | |
| 672 | + * The wl_touch interface represents a touchscreen | |
| 673 | + * associated with a seat. | |
| 674 | + * | |
| 675 | + * Touch interactions can consist of one or more contacts. | |
| 676 | + * For each contact, a series of events is generated, starting | |
| 677 | + * with a down event, followed by zero or more motion events, | |
| 678 | + * and ending with an up event. Events relating to the same | |
| 679 | + * contact point can be identified by the ID of the sequence. | |
| 680 | + * @section page_iface_wl_touch_api API | |
| 681 | + * See @ref iface_wl_touch. | |
| 682 | + */ | |
| 683 | +/** | |
| 684 | + * @defgroup iface_wl_touch The wl_touch interface | |
| 685 | + * | |
| 686 | + * The wl_touch interface represents a touchscreen | |
| 687 | + * associated with a seat. | |
| 688 | + * | |
| 689 | + * Touch interactions can consist of one or more contacts. | |
| 690 | + * For each contact, a series of events is generated, starting | |
| 691 | + * with a down event, followed by zero or more motion events, | |
| 692 | + * and ending with an up event. Events relating to the same | |
| 693 | + * contact point can be identified by the ID of the sequence. | |
| 694 | + */ | |
| 695 | +extern const struct wl_interface wl_touch_interface; | |
| 696 | +#endif | |
| 697 | +#ifndef WL_OUTPUT_INTERFACE | |
| 698 | +#define WL_OUTPUT_INTERFACE | |
| 699 | +/** | |
| 700 | + * @page page_iface_wl_output wl_output | |
| 701 | + * @section page_iface_wl_output_desc Description | |
| 702 | + * | |
| 703 | + * An output describes part of the compositor geometry. The | |
| 704 | + * compositor works in the 'compositor coordinate system' and an | |
| 705 | + * output corresponds to a rectangular area in that space that is | |
| 706 | + * actually visible. This typically corresponds to a monitor that | |
| 707 | + * displays part of the compositor space. This object is published | |
| 708 | + * as global during start up, or when a monitor is hotplugged. | |
| 709 | + * @section page_iface_wl_output_api API | |
| 710 | + * See @ref iface_wl_output. | |
| 711 | + */ | |
| 712 | +/** | |
| 713 | + * @defgroup iface_wl_output The wl_output interface | |
| 714 | + * | |
| 715 | + * An output describes part of the compositor geometry. The | |
| 716 | + * compositor works in the 'compositor coordinate system' and an | |
| 717 | + * output corresponds to a rectangular area in that space that is | |
| 718 | + * actually visible. This typically corresponds to a monitor that | |
| 719 | + * displays part of the compositor space. This object is published | |
| 720 | + * as global during start up, or when a monitor is hotplugged. | |
| 721 | + */ | |
| 722 | +extern const struct wl_interface wl_output_interface; | |
| 723 | +#endif | |
| 724 | +#ifndef WL_REGION_INTERFACE | |
| 725 | +#define WL_REGION_INTERFACE | |
| 726 | +/** | |
| 727 | + * @page page_iface_wl_region wl_region | |
| 728 | + * @section page_iface_wl_region_desc Description | |
| 729 | + * | |
| 730 | + * A region object describes an area. | |
| 731 | + * | |
| 732 | + * Region objects are used to describe the opaque and input | |
| 733 | + * regions of a surface. | |
| 734 | + * @section page_iface_wl_region_api API | |
| 735 | + * See @ref iface_wl_region. | |
| 736 | + */ | |
| 737 | +/** | |
| 738 | + * @defgroup iface_wl_region The wl_region interface | |
| 739 | + * | |
| 740 | + * A region object describes an area. | |
| 741 | + * | |
| 742 | + * Region objects are used to describe the opaque and input | |
| 743 | + * regions of a surface. | |
| 744 | + */ | |
| 745 | +extern const struct wl_interface wl_region_interface; | |
| 746 | +#endif | |
| 747 | +#ifndef WL_SUBCOMPOSITOR_INTERFACE | |
| 748 | +#define WL_SUBCOMPOSITOR_INTERFACE | |
| 749 | +/** | |
| 750 | + * @page page_iface_wl_subcompositor wl_subcompositor | |
| 751 | + * @section page_iface_wl_subcompositor_desc Description | |
| 752 | + * | |
| 753 | + * The global interface exposing sub-surface compositing capabilities. | |
| 754 | + * A wl_surface, that has sub-surfaces associated, is called the | |
| 755 | + * parent surface. Sub-surfaces can be arbitrarily nested and create | |
| 756 | + * a tree of sub-surfaces. | |
| 757 | + * | |
| 758 | + * The root surface in a tree of sub-surfaces is the main | |
| 759 | + * surface. The main surface cannot be a sub-surface, because | |
| 760 | + * sub-surfaces must always have a parent. | |
| 761 | + * | |
| 762 | + * A main surface with its sub-surfaces forms a (compound) window. | |
| 763 | + * For window management purposes, this set of wl_surface objects is | |
| 764 | + * to be considered as a single window, and it should also behave as | |
| 765 | + * such. | |
| 766 | + * | |
| 767 | + * The aim of sub-surfaces is to offload some of the compositing work | |
| 768 | + * within a window from clients to the compositor. A prime example is | |
| 769 | + * a video player with decorations and video in separate wl_surface | |
| 770 | + * objects. This should allow the compositor to pass YUV video buffer | |
| 771 | + * processing to dedicated overlay hardware when possible. | |
| 772 | + * @section page_iface_wl_subcompositor_api API | |
| 773 | + * See @ref iface_wl_subcompositor. | |
| 774 | + */ | |
| 775 | +/** | |
| 776 | + * @defgroup iface_wl_subcompositor The wl_subcompositor interface | |
| 777 | + * | |
| 778 | + * The global interface exposing sub-surface compositing capabilities. | |
| 779 | + * A wl_surface, that has sub-surfaces associated, is called the | |
| 780 | + * parent surface. Sub-surfaces can be arbitrarily nested and create | |
| 781 | + * a tree of sub-surfaces. | |
| 782 | + * | |
| 783 | + * The root surface in a tree of sub-surfaces is the main | |
| 784 | + * surface. The main surface cannot be a sub-surface, because | |
| 785 | + * sub-surfaces must always have a parent. | |
| 786 | + * | |
| 787 | + * A main surface with its sub-surfaces forms a (compound) window. | |
| 788 | + * For window management purposes, this set of wl_surface objects is | |
| 789 | + * to be considered as a single window, and it should also behave as | |
| 790 | + * such. | |
| 791 | + * | |
| 792 | + * The aim of sub-surfaces is to offload some of the compositing work | |
| 793 | + * within a window from clients to the compositor. A prime example is | |
| 794 | + * a video player with decorations and video in separate wl_surface | |
| 795 | + * objects. This should allow the compositor to pass YUV video buffer | |
| 796 | + * processing to dedicated overlay hardware when possible. | |
| 797 | + */ | |
| 798 | +extern const struct wl_interface wl_subcompositor_interface; | |
| 799 | +#endif | |
| 800 | +#ifndef WL_SUBSURFACE_INTERFACE | |
| 801 | +#define WL_SUBSURFACE_INTERFACE | |
| 802 | +/** | |
| 803 | + * @page page_iface_wl_subsurface wl_subsurface | |
| 804 | + * @section page_iface_wl_subsurface_desc Description | |
| 805 | + * | |
| 806 | + * An additional interface to a wl_surface object, which has been | |
| 807 | + * made a sub-surface. A sub-surface has one parent surface. A | |
| 808 | + * sub-surface's size and position are not limited to that of the parent. | |
| 809 | + * Particularly, a sub-surface is not automatically clipped to its | |
| 810 | + * parent's area. | |
| 811 | + * | |
| 812 | + * A sub-surface becomes mapped, when a non-NULL wl_buffer is applied | |
| 813 | + * and the parent surface is mapped. The order of which one happens | |
| 814 | + * first is irrelevant. A sub-surface is hidden if the parent becomes | |
| 815 | + * hidden, or if a NULL wl_buffer is applied. These rules apply | |
| 816 | + * recursively through the tree of surfaces. | |
| 817 | + * | |
| 818 | + * The behaviour of a wl_surface.commit request on a sub-surface | |
| 819 | + * depends on the sub-surface's mode. The possible modes are | |
| 820 | + * synchronized and desynchronized, see methods | |
| 821 | + * wl_subsurface.set_sync and wl_subsurface.set_desync. Synchronized | |
| 822 | + * mode caches the wl_surface state to be applied when the parent's | |
| 823 | + * state gets applied, and desynchronized mode applies the pending | |
| 824 | + * wl_surface state directly. A sub-surface is initially in the | |
| 825 | + * synchronized mode. | |
| 826 | + * | |
| 827 | + * Sub-surfaces also have another kind of state, which is managed by | |
| 828 | + * wl_subsurface requests, as opposed to wl_surface requests. This | |
| 829 | + * state includes the sub-surface position relative to the parent | |
| 830 | + * surface (wl_subsurface.set_position), and the stacking order of | |
| 831 | + * the parent and its sub-surfaces (wl_subsurface.place_above and | |
| 832 | + * .place_below). This state is applied when the parent surface's | |
| 833 | + * wl_surface state is applied, regardless of the sub-surface's mode. | |
| 834 | + * As the exception, set_sync and set_desync are effective immediately. | |
| 835 | + * | |
| 836 | + * The main surface can be thought to be always in desynchronized mode, | |
| 837 | + * since it does not have a parent in the sub-surfaces sense. | |
| 838 | + * | |
| 839 | + * Even if a sub-surface is in desynchronized mode, it will behave as | |
| 840 | + * in synchronized mode, if its parent surface behaves as in | |
| 841 | + * synchronized mode. This rule is applied recursively throughout the | |
| 842 | + * tree of surfaces. This means, that one can set a sub-surface into | |
| 843 | + * synchronized mode, and then assume that all its child and grand-child | |
| 844 | + * sub-surfaces are synchronized, too, without explicitly setting them. | |
| 845 | + * | |
| 846 | + * Destroying a sub-surface takes effect immediately. If you need to | |
| 847 | + * synchronize the removal of a sub-surface to the parent surface update, | |
| 848 | + * unmap the sub-surface first by attaching a NULL wl_buffer, update parent, | |
| 849 | + * and then destroy the sub-surface. | |
| 850 | + * | |
| 851 | + * If the parent wl_surface object is destroyed, the sub-surface is | |
| 852 | + * unmapped. | |
| 853 | + * @section page_iface_wl_subsurface_api API | |
| 854 | + * See @ref iface_wl_subsurface. | |
| 855 | + */ | |
| 856 | +/** | |
| 857 | + * @defgroup iface_wl_subsurface The wl_subsurface interface | |
| 858 | + * | |
| 859 | + * An additional interface to a wl_surface object, which has been | |
| 860 | + * made a sub-surface. A sub-surface has one parent surface. A | |
| 861 | + * sub-surface's size and position are not limited to that of the parent. | |
| 862 | + * Particularly, a sub-surface is not automatically clipped to its | |
| 863 | + * parent's area. | |
| 864 | + * | |
| 865 | + * A sub-surface becomes mapped, when a non-NULL wl_buffer is applied | |
| 866 | + * and the parent surface is mapped. The order of which one happens | |
| 867 | + * first is irrelevant. A sub-surface is hidden if the parent becomes | |
| 868 | + * hidden, or if a NULL wl_buffer is applied. These rules apply | |
| 869 | + * recursively through the tree of surfaces. | |
| 870 | + * | |
| 871 | + * The behaviour of a wl_surface.commit request on a sub-surface | |
| 872 | + * depends on the sub-surface's mode. The possible modes are | |
| 873 | + * synchronized and desynchronized, see methods | |
| 874 | + * wl_subsurface.set_sync and wl_subsurface.set_desync. Synchronized | |
| 875 | + * mode caches the wl_surface state to be applied when the parent's | |
| 876 | + * state gets applied, and desynchronized mode applies the pending | |
| 877 | + * wl_surface state directly. A sub-surface is initially in the | |
| 878 | + * synchronized mode. | |
| 879 | + * | |
| 880 | + * Sub-surfaces also have another kind of state, which is managed by | |
| 881 | + * wl_subsurface requests, as opposed to wl_surface requests. This | |
| 882 | + * state includes the sub-surface position relative to the parent | |
| 883 | + * surface (wl_subsurface.set_position), and the stacking order of | |
| 884 | + * the parent and its sub-surfaces (wl_subsurface.place_above and | |
| 885 | + * .place_below). This state is applied when the parent surface's | |
| 886 | + * wl_surface state is applied, regardless of the sub-surface's mode. | |
| 887 | + * As the exception, set_sync and set_desync are effective immediately. | |
| 888 | + * | |
| 889 | + * The main surface can be thought to be always in desynchronized mode, | |
| 890 | + * since it does not have a parent in the sub-surfaces sense. | |
| 891 | + * | |
| 892 | + * Even if a sub-surface is in desynchronized mode, it will behave as | |
| 893 | + * in synchronized mode, if its parent surface behaves as in | |
| 894 | + * synchronized mode. This rule is applied recursively throughout the | |
| 895 | + * tree of surfaces. This means, that one can set a sub-surface into | |
| 896 | + * synchronized mode, and then assume that all its child and grand-child | |
| 897 | + * sub-surfaces are synchronized, too, without explicitly setting them. | |
| 898 | + * | |
| 899 | + * Destroying a sub-surface takes effect immediately. If you need to | |
| 900 | + * synchronize the removal of a sub-surface to the parent surface update, | |
| 901 | + * unmap the sub-surface first by attaching a NULL wl_buffer, update parent, | |
| 902 | + * and then destroy the sub-surface. | |
| 903 | + * | |
| 904 | + * If the parent wl_surface object is destroyed, the sub-surface is | |
| 905 | + * unmapped. | |
| 906 | + */ | |
| 907 | +extern const struct wl_interface wl_subsurface_interface; | |
| 908 | +#endif | |
| 909 | + | |
| 910 | +#ifndef WL_DISPLAY_ERROR_ENUM | |
| 911 | +#define WL_DISPLAY_ERROR_ENUM | |
| 912 | +/** | |
| 913 | + * @ingroup iface_wl_display | |
| 914 | + * global error values | |
| 915 | + * | |
| 916 | + * These errors are global and can be emitted in response to any | |
| 917 | + * server request. | |
| 918 | + */ | |
| 919 | +enum wl_display_error { | |
| 920 | + /** | |
| 921 | + * server couldn't find object | |
| 922 | + */ | |
| 923 | + WL_DISPLAY_ERROR_INVALID_OBJECT = 0, | |
| 924 | + /** | |
| 925 | + * method doesn't exist on the specified interface or malformed request | |
| 926 | + */ | |
| 927 | + WL_DISPLAY_ERROR_INVALID_METHOD = 1, | |
| 928 | + /** | |
| 929 | + * server is out of memory | |
| 930 | + */ | |
| 931 | + WL_DISPLAY_ERROR_NO_MEMORY = 2, | |
| 932 | + /** | |
| 933 | + * implementation error in compositor | |
| 934 | + */ | |
| 935 | + WL_DISPLAY_ERROR_IMPLEMENTATION = 3, | |
| 936 | +}; | |
| 937 | +#endif /* WL_DISPLAY_ERROR_ENUM */ | |
| 938 | + | |
| 939 | +/** | |
| 940 | + * @ingroup iface_wl_display | |
| 941 | + * @struct wl_display_listener | |
| 942 | + */ | |
| 943 | +struct wl_display_listener { | |
| 944 | + /** | |
| 945 | + * fatal error event | |
| 946 | + * | |
| 947 | + * The error event is sent out when a fatal (non-recoverable) | |
| 948 | + * error has occurred. The object_id argument is the object where | |
| 949 | + * the error occurred, most often in response to a request to that | |
| 950 | + * object. The code identifies the error and is defined by the | |
| 951 | + * object interface. As such, each interface defines its own set of | |
| 952 | + * error codes. The message is a brief description of the error, | |
| 953 | + * for (debugging) convenience. | |
| 954 | + * @param object_id object where the error occurred | |
| 955 | + * @param code error code | |
| 956 | + * @param message error description | |
| 957 | + */ | |
| 958 | + void (*error)(void *data, | |
| 959 | + struct wl_display *wl_display, | |
| 960 | + void *object_id, | |
| 961 | + uint32_t code, | |
| 962 | + const char *message); | |
| 963 | + /** | |
| 964 | + * acknowledge object ID deletion | |
| 965 | + * | |
| 966 | + * This event is used internally by the object ID management | |
| 967 | + * logic. When a client deletes an object that it had created, the | |
| 968 | + * server will send this event to acknowledge that it has seen the | |
| 969 | + * delete request. When the client receives this event, it will | |
| 970 | + * know that it can safely reuse the object ID. | |
| 971 | + * @param id deleted object ID | |
| 972 | + */ | |
| 973 | + void (*delete_id)(void *data, | |
| 974 | + struct wl_display *wl_display, | |
| 975 | + uint32_t id); | |
| 976 | +}; | |
| 977 | + | |
| 978 | +/** | |
| 979 | + * @ingroup iface_wl_display | |
| 980 | + */ | |
| 981 | +static inline int | |
| 982 | +wl_display_add_listener(struct wl_display *wl_display, | |
| 983 | + const struct wl_display_listener *listener, void *data) | |
| 984 | +{ | |
| 985 | + return wl_proxy_add_listener((struct wl_proxy *) wl_display, | |
| 986 | + (void (**)(void)) listener, data); | |
| 987 | +} | |
| 988 | + | |
| 989 | +#define WL_DISPLAY_SYNC 0 | |
| 990 | +#define WL_DISPLAY_GET_REGISTRY 1 | |
| 991 | + | |
| 992 | +/** | |
| 993 | + * @ingroup iface_wl_display | |
| 994 | + */ | |
| 995 | +#define WL_DISPLAY_ERROR_SINCE_VERSION 1 | |
| 996 | +/** | |
| 997 | + * @ingroup iface_wl_display | |
| 998 | + */ | |
| 999 | +#define WL_DISPLAY_DELETE_ID_SINCE_VERSION 1 | |
| 1000 | + | |
| 1001 | +/** | |
| 1002 | + * @ingroup iface_wl_display | |
| 1003 | + */ | |
| 1004 | +#define WL_DISPLAY_SYNC_SINCE_VERSION 1 | |
| 1005 | +/** | |
| 1006 | + * @ingroup iface_wl_display | |
| 1007 | + */ | |
| 1008 | +#define WL_DISPLAY_GET_REGISTRY_SINCE_VERSION 1 | |
| 1009 | + | |
| 1010 | +/** @ingroup iface_wl_display */ | |
| 1011 | +static inline void | |
| 1012 | +wl_display_set_user_data(struct wl_display *wl_display, void *user_data) | |
| 1013 | +{ | |
| 1014 | + wl_proxy_set_user_data((struct wl_proxy *) wl_display, user_data); | |
| 1015 | +} | |
| 1016 | + | |
| 1017 | +/** @ingroup iface_wl_display */ | |
| 1018 | +static inline void * | |
| 1019 | +wl_display_get_user_data(struct wl_display *wl_display) | |
| 1020 | +{ | |
| 1021 | + return wl_proxy_get_user_data((struct wl_proxy *) wl_display); | |
| 1022 | +} | |
| 1023 | + | |
| 1024 | +static inline uint32_t | |
| 1025 | +wl_display_get_version(struct wl_display *wl_display) | |
| 1026 | +{ | |
| 1027 | + return wl_proxy_get_version((struct wl_proxy *) wl_display); | |
| 1028 | +} | |
| 1029 | + | |
| 1030 | +/** | |
| 1031 | + * @ingroup iface_wl_display | |
| 1032 | + * | |
| 1033 | + * The sync request asks the server to emit the 'done' event | |
| 1034 | + * on the returned wl_callback object. Since requests are | |
| 1035 | + * handled in-order and events are delivered in-order, this can | |
| 1036 | + * be used as a barrier to ensure all previous requests and the | |
| 1037 | + * resulting events have been handled. | |
| 1038 | + * | |
| 1039 | + * The object returned by this request will be destroyed by the | |
| 1040 | + * compositor after the callback is fired and as such the client must not | |
| 1041 | + * attempt to use it after that point. | |
| 1042 | + * | |
| 1043 | + * The callback_data passed in the callback is the event serial. | |
| 1044 | + */ | |
| 1045 | +static inline struct wl_callback * | |
| 1046 | +wl_display_sync(struct wl_display *wl_display) | |
| 1047 | +{ | |
| 1048 | + struct wl_proxy *callback; | |
| 1049 | + | |
| 1050 | + callback = wl_proxy_marshal_flags((struct wl_proxy *) wl_display, | |
| 1051 | + WL_DISPLAY_SYNC, &wl_callback_interface, wl_proxy_get_version((struct wl_proxy *) wl_display), 0, NULL); | |
| 1052 | + | |
| 1053 | + return (struct wl_callback *) callback; | |
| 1054 | +} | |
| 1055 | + | |
| 1056 | +/** | |
| 1057 | + * @ingroup iface_wl_display | |
| 1058 | + * | |
| 1059 | + * This request creates a registry object that allows the client | |
| 1060 | + * to list and bind the global objects available from the | |
| 1061 | + * compositor. | |
| 1062 | + * | |
| 1063 | + * It should be noted that the server side resources consumed in | |
| 1064 | + * response to a get_registry request can only be released when the | |
| 1065 | + * client disconnects, not when the client side proxy is destroyed. | |
| 1066 | + * Therefore, clients should invoke get_registry as infrequently as | |
| 1067 | + * possible to avoid wasting memory. | |
| 1068 | + */ | |
| 1069 | +static inline struct wl_registry * | |
| 1070 | +wl_display_get_registry(struct wl_display *wl_display) | |
| 1071 | +{ | |
| 1072 | + struct wl_proxy *registry; | |
| 1073 | + | |
| 1074 | + registry = wl_proxy_marshal_flags((struct wl_proxy *) wl_display, | |
| 1075 | + WL_DISPLAY_GET_REGISTRY, &wl_registry_interface, wl_proxy_get_version((struct wl_proxy *) wl_display), 0, NULL); | |
| 1076 | + | |
| 1077 | + return (struct wl_registry *) registry; | |
| 1078 | +} | |
| 1079 | + | |
| 1080 | +/** | |
| 1081 | + * @ingroup iface_wl_registry | |
| 1082 | + * @struct wl_registry_listener | |
| 1083 | + */ | |
| 1084 | +struct wl_registry_listener { | |
| 1085 | + /** | |
| 1086 | + * announce global object | |
| 1087 | + * | |
| 1088 | + * Notify the client of global objects. | |
| 1089 | + * | |
| 1090 | + * The event notifies the client that a global object with the | |
| 1091 | + * given name is now available, and it implements the given version | |
| 1092 | + * of the given interface. | |
| 1093 | + * @param name numeric name of the global object | |
| 1094 | + * @param interface interface implemented by the object | |
| 1095 | + * @param version interface version | |
| 1096 | + */ | |
| 1097 | + void (*global)(void *data, | |
| 1098 | + struct wl_registry *wl_registry, | |
| 1099 | + uint32_t name, | |
| 1100 | + const char *interface, | |
| 1101 | + uint32_t version); | |
| 1102 | + /** | |
| 1103 | + * announce removal of global object | |
| 1104 | + * | |
| 1105 | + * Notify the client of removed global objects. | |
| 1106 | + * | |
| 1107 | + * This event notifies the client that the global identified by | |
| 1108 | + * name is no longer available. If the client bound to the global | |
| 1109 | + * using the bind request, the client should now destroy that | |
| 1110 | + * object. | |
| 1111 | + * | |
| 1112 | + * The object remains valid and requests to the object will be | |
| 1113 | + * ignored until the client destroys it, to avoid races between the | |
| 1114 | + * global going away and a client sending a request to it. | |
| 1115 | + * @param name numeric name of the global object | |
| 1116 | + */ | |
| 1117 | + void (*global_remove)(void *data, | |
| 1118 | + struct wl_registry *wl_registry, | |
| 1119 | + uint32_t name); | |
| 1120 | +}; | |
| 1121 | + | |
| 1122 | +/** | |
| 1123 | + * @ingroup iface_wl_registry | |
| 1124 | + */ | |
| 1125 | +static inline int | |
| 1126 | +wl_registry_add_listener(struct wl_registry *wl_registry, | |
| 1127 | + const struct wl_registry_listener *listener, void *data) | |
| 1128 | +{ | |
| 1129 | + return wl_proxy_add_listener((struct wl_proxy *) wl_registry, | |
| 1130 | + (void (**)(void)) listener, data); | |
| 1131 | +} | |
| 1132 | + | |
| 1133 | +#define WL_REGISTRY_BIND 0 | |
| 1134 | + | |
| 1135 | +/** | |
| 1136 | + * @ingroup iface_wl_registry | |
| 1137 | + */ | |
| 1138 | +#define WL_REGISTRY_GLOBAL_SINCE_VERSION 1 | |
| 1139 | +/** | |
| 1140 | + * @ingroup iface_wl_registry | |
| 1141 | + */ | |
| 1142 | +#define WL_REGISTRY_GLOBAL_REMOVE_SINCE_VERSION 1 | |
| 1143 | + | |
| 1144 | +/** | |
| 1145 | + * @ingroup iface_wl_registry | |
| 1146 | + */ | |
| 1147 | +#define WL_REGISTRY_BIND_SINCE_VERSION 1 | |
| 1148 | + | |
| 1149 | +/** @ingroup iface_wl_registry */ | |
| 1150 | +static inline void | |
| 1151 | +wl_registry_set_user_data(struct wl_registry *wl_registry, void *user_data) | |
| 1152 | +{ | |
| 1153 | + wl_proxy_set_user_data((struct wl_proxy *) wl_registry, user_data); | |
| 1154 | +} | |
| 1155 | + | |
| 1156 | +/** @ingroup iface_wl_registry */ | |
| 1157 | +static inline void * | |
| 1158 | +wl_registry_get_user_data(struct wl_registry *wl_registry) | |
| 1159 | +{ | |
| 1160 | + return wl_proxy_get_user_data((struct wl_proxy *) wl_registry); | |
| 1161 | +} | |
| 1162 | + | |
| 1163 | +static inline uint32_t | |
| 1164 | +wl_registry_get_version(struct wl_registry *wl_registry) | |
| 1165 | +{ | |
| 1166 | + return wl_proxy_get_version((struct wl_proxy *) wl_registry); | |
| 1167 | +} | |
| 1168 | + | |
| 1169 | +/** @ingroup iface_wl_registry */ | |
| 1170 | +static inline void | |
| 1171 | +wl_registry_destroy(struct wl_registry *wl_registry) | |
| 1172 | +{ | |
| 1173 | + wl_proxy_destroy((struct wl_proxy *) wl_registry); | |
| 1174 | +} | |
| 1175 | + | |
| 1176 | +/** | |
| 1177 | + * @ingroup iface_wl_registry | |
| 1178 | + * | |
| 1179 | + * Binds a new, client-created object to the server using the | |
| 1180 | + * specified name as the identifier. | |
| 1181 | + */ | |
| 1182 | +static inline void * | |
| 1183 | +wl_registry_bind(struct wl_registry *wl_registry, uint32_t name, const struct wl_interface *interface, uint32_t version) | |
| 1184 | +{ | |
| 1185 | + struct wl_proxy *id; | |
| 1186 | + | |
| 1187 | + id = wl_proxy_marshal_flags((struct wl_proxy *) wl_registry, | |
| 1188 | + WL_REGISTRY_BIND, interface, version, 0, name, interface->name, version, NULL); | |
| 1189 | + | |
| 1190 | + return (void *) id; | |
| 1191 | +} | |
| 1192 | + | |
| 1193 | +/** | |
| 1194 | + * @ingroup iface_wl_callback | |
| 1195 | + * @struct wl_callback_listener | |
| 1196 | + */ | |
| 1197 | +struct wl_callback_listener { | |
| 1198 | + /** | |
| 1199 | + * done event | |
| 1200 | + * | |
| 1201 | + * Notify the client when the related request is done. | |
| 1202 | + * @param callback_data request-specific data for the callback | |
| 1203 | + */ | |
| 1204 | + void (*done)(void *data, | |
| 1205 | + struct wl_callback *wl_callback, | |
| 1206 | + uint32_t callback_data); | |
| 1207 | +}; | |
| 1208 | + | |
| 1209 | +/** | |
| 1210 | + * @ingroup iface_wl_callback | |
| 1211 | + */ | |
| 1212 | +static inline int | |
| 1213 | +wl_callback_add_listener(struct wl_callback *wl_callback, | |
| 1214 | + const struct wl_callback_listener *listener, void *data) | |
| 1215 | +{ | |
| 1216 | + return wl_proxy_add_listener((struct wl_proxy *) wl_callback, | |
| 1217 | + (void (**)(void)) listener, data); | |
| 1218 | +} | |
| 1219 | + | |
| 1220 | +/** | |
| 1221 | + * @ingroup iface_wl_callback | |
| 1222 | + */ | |
| 1223 | +#define WL_CALLBACK_DONE_SINCE_VERSION 1 | |
| 1224 | + | |
| 1225 | + | |
| 1226 | +/** @ingroup iface_wl_callback */ | |
| 1227 | +static inline void | |
| 1228 | +wl_callback_set_user_data(struct wl_callback *wl_callback, void *user_data) | |
| 1229 | +{ | |
| 1230 | + wl_proxy_set_user_data((struct wl_proxy *) wl_callback, user_data); | |
| 1231 | +} | |
| 1232 | + | |
| 1233 | +/** @ingroup iface_wl_callback */ | |
| 1234 | +static inline void * | |
| 1235 | +wl_callback_get_user_data(struct wl_callback *wl_callback) | |
| 1236 | +{ | |
| 1237 | + return wl_proxy_get_user_data((struct wl_proxy *) wl_callback); | |
| 1238 | +} | |
| 1239 | + | |
| 1240 | +static inline uint32_t | |
| 1241 | +wl_callback_get_version(struct wl_callback *wl_callback) | |
| 1242 | +{ | |
| 1243 | + return wl_proxy_get_version((struct wl_proxy *) wl_callback); | |
| 1244 | +} | |
| 1245 | + | |
| 1246 | +/** @ingroup iface_wl_callback */ | |
| 1247 | +static inline void | |
| 1248 | +wl_callback_destroy(struct wl_callback *wl_callback) | |
| 1249 | +{ | |
| 1250 | + wl_proxy_destroy((struct wl_proxy *) wl_callback); | |
| 1251 | +} | |
| 1252 | + | |
| 1253 | +#define WL_COMPOSITOR_CREATE_SURFACE 0 | |
| 1254 | +#define WL_COMPOSITOR_CREATE_REGION 1 | |
| 1255 | + | |
| 1256 | + | |
| 1257 | +/** | |
| 1258 | + * @ingroup iface_wl_compositor | |
| 1259 | + */ | |
| 1260 | +#define WL_COMPOSITOR_CREATE_SURFACE_SINCE_VERSION 1 | |
| 1261 | +/** | |
| 1262 | + * @ingroup iface_wl_compositor | |
| 1263 | + */ | |
| 1264 | +#define WL_COMPOSITOR_CREATE_REGION_SINCE_VERSION 1 | |
| 1265 | + | |
| 1266 | +/** @ingroup iface_wl_compositor */ | |
| 1267 | +static inline void | |
| 1268 | +wl_compositor_set_user_data(struct wl_compositor *wl_compositor, void *user_data) | |
| 1269 | +{ | |
| 1270 | + wl_proxy_set_user_data((struct wl_proxy *) wl_compositor, user_data); | |
| 1271 | +} | |
| 1272 | + | |
| 1273 | +/** @ingroup iface_wl_compositor */ | |
| 1274 | +static inline void * | |
| 1275 | +wl_compositor_get_user_data(struct wl_compositor *wl_compositor) | |
| 1276 | +{ | |
| 1277 | + return wl_proxy_get_user_data((struct wl_proxy *) wl_compositor); | |
| 1278 | +} | |
| 1279 | + | |
| 1280 | +static inline uint32_t | |
| 1281 | +wl_compositor_get_version(struct wl_compositor *wl_compositor) | |
| 1282 | +{ | |
| 1283 | + return wl_proxy_get_version((struct wl_proxy *) wl_compositor); | |
| 1284 | +} | |
| 1285 | + | |
| 1286 | +/** @ingroup iface_wl_compositor */ | |
| 1287 | +static inline void | |
| 1288 | +wl_compositor_destroy(struct wl_compositor *wl_compositor) | |
| 1289 | +{ | |
| 1290 | + wl_proxy_destroy((struct wl_proxy *) wl_compositor); | |
| 1291 | +} | |
| 1292 | + | |
| 1293 | +/** | |
| 1294 | + * @ingroup iface_wl_compositor | |
| 1295 | + * | |
| 1296 | + * Ask the compositor to create a new surface. | |
| 1297 | + */ | |
| 1298 | +static inline struct wl_surface * | |
| 1299 | +wl_compositor_create_surface(struct wl_compositor *wl_compositor) | |
| 1300 | +{ | |
| 1301 | + struct wl_proxy *id; | |
| 1302 | + | |
| 1303 | + id = wl_proxy_marshal_flags((struct wl_proxy *) wl_compositor, | |
| 1304 | + WL_COMPOSITOR_CREATE_SURFACE, &wl_surface_interface, wl_proxy_get_version((struct wl_proxy *) wl_compositor), 0, NULL); | |
| 1305 | + | |
| 1306 | + return (struct wl_surface *) id; | |
| 1307 | +} | |
| 1308 | + | |
| 1309 | +/** | |
| 1310 | + * @ingroup iface_wl_compositor | |
| 1311 | + * | |
| 1312 | + * Ask the compositor to create a new region. | |
| 1313 | + */ | |
| 1314 | +static inline struct wl_region * | |
| 1315 | +wl_compositor_create_region(struct wl_compositor *wl_compositor) | |
| 1316 | +{ | |
| 1317 | + struct wl_proxy *id; | |
| 1318 | + | |
| 1319 | + id = wl_proxy_marshal_flags((struct wl_proxy *) wl_compositor, | |
| 1320 | + WL_COMPOSITOR_CREATE_REGION, &wl_region_interface, wl_proxy_get_version((struct wl_proxy *) wl_compositor), 0, NULL); | |
| 1321 | + | |
| 1322 | + return (struct wl_region *) id; | |
| 1323 | +} | |
| 1324 | + | |
| 1325 | +#define WL_SHM_POOL_CREATE_BUFFER 0 | |
| 1326 | +#define WL_SHM_POOL_DESTROY 1 | |
| 1327 | +#define WL_SHM_POOL_RESIZE 2 | |
| 1328 | + | |
| 1329 | + | |
| 1330 | +/** | |
| 1331 | + * @ingroup iface_wl_shm_pool | |
| 1332 | + */ | |
| 1333 | +#define WL_SHM_POOL_CREATE_BUFFER_SINCE_VERSION 1 | |
| 1334 | +/** | |
| 1335 | + * @ingroup iface_wl_shm_pool | |
| 1336 | + */ | |
| 1337 | +#define WL_SHM_POOL_DESTROY_SINCE_VERSION 1 | |
| 1338 | +/** | |
| 1339 | + * @ingroup iface_wl_shm_pool | |
| 1340 | + */ | |
| 1341 | +#define WL_SHM_POOL_RESIZE_SINCE_VERSION 1 | |
| 1342 | + | |
| 1343 | +/** @ingroup iface_wl_shm_pool */ | |
| 1344 | +static inline void | |
| 1345 | +wl_shm_pool_set_user_data(struct wl_shm_pool *wl_shm_pool, void *user_data) | |
| 1346 | +{ | |
| 1347 | + wl_proxy_set_user_data((struct wl_proxy *) wl_shm_pool, user_data); | |
| 1348 | +} | |
| 1349 | + | |
| 1350 | +/** @ingroup iface_wl_shm_pool */ | |
| 1351 | +static inline void * | |
| 1352 | +wl_shm_pool_get_user_data(struct wl_shm_pool *wl_shm_pool) | |
| 1353 | +{ | |
| 1354 | + return wl_proxy_get_user_data((struct wl_proxy *) wl_shm_pool); | |
| 1355 | +} | |
| 1356 | + | |
| 1357 | +static inline uint32_t | |
| 1358 | +wl_shm_pool_get_version(struct wl_shm_pool *wl_shm_pool) | |
| 1359 | +{ | |
| 1360 | + return wl_proxy_get_version((struct wl_proxy *) wl_shm_pool); | |
| 1361 | +} | |
| 1362 | + | |
| 1363 | +/** | |
| 1364 | + * @ingroup iface_wl_shm_pool | |
| 1365 | + * | |
| 1366 | + * Create a wl_buffer object from the pool. | |
| 1367 | + * | |
| 1368 | + * The buffer is created offset bytes into the pool and has | |
| 1369 | + * width and height as specified. The stride argument specifies | |
| 1370 | + * the number of bytes from the beginning of one row to the beginning | |
| 1371 | + * of the next. The format is the pixel format of the buffer and | |
| 1372 | + * must be one of those advertised through the wl_shm.format event. | |
| 1373 | + * | |
| 1374 | + * A buffer will keep a reference to the pool it was created from | |
| 1375 | + * so it is valid to destroy the pool immediately after creating | |
| 1376 | + * a buffer from it. | |
| 1377 | + */ | |
| 1378 | +static inline struct wl_buffer * | |
| 1379 | +wl_shm_pool_create_buffer(struct wl_shm_pool *wl_shm_pool, int32_t offset, int32_t width, int32_t height, int32_t stride, uint32_t format) | |
| 1380 | +{ | |
| 1381 | + struct wl_proxy *id; | |
| 1382 | + | |
| 1383 | + id = wl_proxy_marshal_flags((struct wl_proxy *) wl_shm_pool, | |
| 1384 | + WL_SHM_POOL_CREATE_BUFFER, &wl_buffer_interface, wl_proxy_get_version((struct wl_proxy *) wl_shm_pool), 0, NULL, offset, width, height, stride, format); | |
| 1385 | + | |
| 1386 | + return (struct wl_buffer *) id; | |
| 1387 | +} | |
| 1388 | + | |
| 1389 | +/** | |
| 1390 | + * @ingroup iface_wl_shm_pool | |
| 1391 | + * | |
| 1392 | + * Destroy the shared memory pool. | |
| 1393 | + * | |
| 1394 | + * The mmapped memory will be released when all | |
| 1395 | + * buffers that have been created from this pool | |
| 1396 | + * are gone. | |
| 1397 | + */ | |
| 1398 | +static inline void | |
| 1399 | +wl_shm_pool_destroy(struct wl_shm_pool *wl_shm_pool) | |
| 1400 | +{ | |
| 1401 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_shm_pool, | |
| 1402 | + WL_SHM_POOL_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) wl_shm_pool), WL_MARSHAL_FLAG_DESTROY); | |
| 1403 | +} | |
| 1404 | + | |
| 1405 | +/** | |
| 1406 | + * @ingroup iface_wl_shm_pool | |
| 1407 | + * | |
| 1408 | + * This request will cause the server to remap the backing memory | |
| 1409 | + * for the pool from the file descriptor passed when the pool was | |
| 1410 | + * created, but using the new size. This request can only be | |
| 1411 | + * used to make the pool bigger. | |
| 1412 | + * | |
| 1413 | + * This request only changes the amount of bytes that are mmapped | |
| 1414 | + * by the server and does not touch the file corresponding to the | |
| 1415 | + * file descriptor passed at creation time. It is the client's | |
| 1416 | + * responsibility to ensure that the file is at least as big as | |
| 1417 | + * the new pool size. | |
| 1418 | + */ | |
| 1419 | +static inline void | |
| 1420 | +wl_shm_pool_resize(struct wl_shm_pool *wl_shm_pool, int32_t size) | |
| 1421 | +{ | |
| 1422 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_shm_pool, | |
| 1423 | + WL_SHM_POOL_RESIZE, NULL, wl_proxy_get_version((struct wl_proxy *) wl_shm_pool), 0, size); | |
| 1424 | +} | |
| 1425 | + | |
| 1426 | +#ifndef WL_SHM_ERROR_ENUM | |
| 1427 | +#define WL_SHM_ERROR_ENUM | |
| 1428 | +/** | |
| 1429 | + * @ingroup iface_wl_shm | |
| 1430 | + * wl_shm error values | |
| 1431 | + * | |
| 1432 | + * These errors can be emitted in response to wl_shm requests. | |
| 1433 | + */ | |
| 1434 | +enum wl_shm_error { | |
| 1435 | + /** | |
| 1436 | + * buffer format is not known | |
| 1437 | + */ | |
| 1438 | + WL_SHM_ERROR_INVALID_FORMAT = 0, | |
| 1439 | + /** | |
| 1440 | + * invalid size or stride during pool or buffer creation | |
| 1441 | + */ | |
| 1442 | + WL_SHM_ERROR_INVALID_STRIDE = 1, | |
| 1443 | + /** | |
| 1444 | + * mmapping the file descriptor failed | |
| 1445 | + */ | |
| 1446 | + WL_SHM_ERROR_INVALID_FD = 2, | |
| 1447 | +}; | |
| 1448 | +#endif /* WL_SHM_ERROR_ENUM */ | |
| 1449 | + | |
| 1450 | +#ifndef WL_SHM_FORMAT_ENUM | |
| 1451 | +#define WL_SHM_FORMAT_ENUM | |
| 1452 | +/** | |
| 1453 | + * @ingroup iface_wl_shm | |
| 1454 | + * pixel formats | |
| 1455 | + * | |
| 1456 | + * This describes the memory layout of an individual pixel. | |
| 1457 | + * | |
| 1458 | + * All renderers should support argb8888 and xrgb8888 but any other | |
| 1459 | + * formats are optional and may not be supported by the particular | |
| 1460 | + * renderer in use. | |
| 1461 | + * | |
| 1462 | + * The drm format codes match the macros defined in drm_fourcc.h, except | |
| 1463 | + * argb8888 and xrgb8888. The formats actually supported by the compositor | |
| 1464 | + * will be reported by the format event. | |
| 1465 | + * | |
| 1466 | + * For all wl_shm formats and unless specified in another protocol | |
| 1467 | + * extension, pre-multiplied alpha is used for pixel values. | |
| 1468 | + */ | |
| 1469 | +enum wl_shm_format { | |
| 1470 | + /** | |
| 1471 | + * 32-bit ARGB format, [31:0] A:R:G:B 8:8:8:8 little endian | |
| 1472 | + */ | |
| 1473 | + WL_SHM_FORMAT_ARGB8888 = 0, | |
| 1474 | + /** | |
| 1475 | + * 32-bit RGB format, [31:0] x:R:G:B 8:8:8:8 little endian | |
| 1476 | + */ | |
| 1477 | + WL_SHM_FORMAT_XRGB8888 = 1, | |
| 1478 | + /** | |
| 1479 | + * 8-bit color index format, [7:0] C | |
| 1480 | + */ | |
| 1481 | + WL_SHM_FORMAT_C8 = 0x20203843, | |
| 1482 | + /** | |
| 1483 | + * 8-bit RGB format, [7:0] R:G:B 3:3:2 | |
| 1484 | + */ | |
| 1485 | + WL_SHM_FORMAT_RGB332 = 0x38424752, | |
| 1486 | + /** | |
| 1487 | + * 8-bit BGR format, [7:0] B:G:R 2:3:3 | |
| 1488 | + */ | |
| 1489 | + WL_SHM_FORMAT_BGR233 = 0x38524742, | |
| 1490 | + /** | |
| 1491 | + * 16-bit xRGB format, [15:0] x:R:G:B 4:4:4:4 little endian | |
| 1492 | + */ | |
| 1493 | + WL_SHM_FORMAT_XRGB4444 = 0x32315258, | |
| 1494 | + /** | |
| 1495 | + * 16-bit xBGR format, [15:0] x:B:G:R 4:4:4:4 little endian | |
| 1496 | + */ | |
| 1497 | + WL_SHM_FORMAT_XBGR4444 = 0x32314258, | |
| 1498 | + /** | |
| 1499 | + * 16-bit RGBx format, [15:0] R:G:B:x 4:4:4:4 little endian | |
| 1500 | + */ | |
| 1501 | + WL_SHM_FORMAT_RGBX4444 = 0x32315852, | |
| 1502 | + /** | |
| 1503 | + * 16-bit BGRx format, [15:0] B:G:R:x 4:4:4:4 little endian | |
| 1504 | + */ | |
| 1505 | + WL_SHM_FORMAT_BGRX4444 = 0x32315842, | |
| 1506 | + /** | |
| 1507 | + * 16-bit ARGB format, [15:0] A:R:G:B 4:4:4:4 little endian | |
| 1508 | + */ | |
| 1509 | + WL_SHM_FORMAT_ARGB4444 = 0x32315241, | |
| 1510 | + /** | |
| 1511 | + * 16-bit ABGR format, [15:0] A:B:G:R 4:4:4:4 little endian | |
| 1512 | + */ | |
| 1513 | + WL_SHM_FORMAT_ABGR4444 = 0x32314241, | |
| 1514 | + /** | |
| 1515 | + * 16-bit RBGA format, [15:0] R:G:B:A 4:4:4:4 little endian | |
| 1516 | + */ | |
| 1517 | + WL_SHM_FORMAT_RGBA4444 = 0x32314152, | |
| 1518 | + /** | |
| 1519 | + * 16-bit BGRA format, [15:0] B:G:R:A 4:4:4:4 little endian | |
| 1520 | + */ | |
| 1521 | + WL_SHM_FORMAT_BGRA4444 = 0x32314142, | |
| 1522 | + /** | |
| 1523 | + * 16-bit xRGB format, [15:0] x:R:G:B 1:5:5:5 little endian | |
| 1524 | + */ | |
| 1525 | + WL_SHM_FORMAT_XRGB1555 = 0x35315258, | |
| 1526 | + /** | |
| 1527 | + * 16-bit xBGR 1555 format, [15:0] x:B:G:R 1:5:5:5 little endian | |
| 1528 | + */ | |
| 1529 | + WL_SHM_FORMAT_XBGR1555 = 0x35314258, | |
| 1530 | + /** | |
| 1531 | + * 16-bit RGBx 5551 format, [15:0] R:G:B:x 5:5:5:1 little endian | |
| 1532 | + */ | |
| 1533 | + WL_SHM_FORMAT_RGBX5551 = 0x35315852, | |
| 1534 | + /** | |
| 1535 | + * 16-bit BGRx 5551 format, [15:0] B:G:R:x 5:5:5:1 little endian | |
| 1536 | + */ | |
| 1537 | + WL_SHM_FORMAT_BGRX5551 = 0x35315842, | |
| 1538 | + /** | |
| 1539 | + * 16-bit ARGB 1555 format, [15:0] A:R:G:B 1:5:5:5 little endian | |
| 1540 | + */ | |
| 1541 | + WL_SHM_FORMAT_ARGB1555 = 0x35315241, | |
| 1542 | + /** | |
| 1543 | + * 16-bit ABGR 1555 format, [15:0] A:B:G:R 1:5:5:5 little endian | |
| 1544 | + */ | |
| 1545 | + WL_SHM_FORMAT_ABGR1555 = 0x35314241, | |
| 1546 | + /** | |
| 1547 | + * 16-bit RGBA 5551 format, [15:0] R:G:B:A 5:5:5:1 little endian | |
| 1548 | + */ | |
| 1549 | + WL_SHM_FORMAT_RGBA5551 = 0x35314152, | |
| 1550 | + /** | |
| 1551 | + * 16-bit BGRA 5551 format, [15:0] B:G:R:A 5:5:5:1 little endian | |
| 1552 | + */ | |
| 1553 | + WL_SHM_FORMAT_BGRA5551 = 0x35314142, | |
| 1554 | + /** | |
| 1555 | + * 16-bit RGB 565 format, [15:0] R:G:B 5:6:5 little endian | |
| 1556 | + */ | |
| 1557 | + WL_SHM_FORMAT_RGB565 = 0x36314752, | |
| 1558 | + /** | |
| 1559 | + * 16-bit BGR 565 format, [15:0] B:G:R 5:6:5 little endian | |
| 1560 | + */ | |
| 1561 | + WL_SHM_FORMAT_BGR565 = 0x36314742, | |
| 1562 | + /** | |
| 1563 | + * 24-bit RGB format, [23:0] R:G:B little endian | |
| 1564 | + */ | |
| 1565 | + WL_SHM_FORMAT_RGB888 = 0x34324752, | |
| 1566 | + /** | |
| 1567 | + * 24-bit BGR format, [23:0] B:G:R little endian | |
| 1568 | + */ | |
| 1569 | + WL_SHM_FORMAT_BGR888 = 0x34324742, | |
| 1570 | + /** | |
| 1571 | + * 32-bit xBGR format, [31:0] x:B:G:R 8:8:8:8 little endian | |
| 1572 | + */ | |
| 1573 | + WL_SHM_FORMAT_XBGR8888 = 0x34324258, | |
| 1574 | + /** | |
| 1575 | + * 32-bit RGBx format, [31:0] R:G:B:x 8:8:8:8 little endian | |
| 1576 | + */ | |
| 1577 | + WL_SHM_FORMAT_RGBX8888 = 0x34325852, | |
| 1578 | + /** | |
| 1579 | + * 32-bit BGRx format, [31:0] B:G:R:x 8:8:8:8 little endian | |
| 1580 | + */ | |
| 1581 | + WL_SHM_FORMAT_BGRX8888 = 0x34325842, | |
| 1582 | + /** | |
| 1583 | + * 32-bit ABGR format, [31:0] A:B:G:R 8:8:8:8 little endian | |
| 1584 | + */ | |
| 1585 | + WL_SHM_FORMAT_ABGR8888 = 0x34324241, | |
| 1586 | + /** | |
| 1587 | + * 32-bit RGBA format, [31:0] R:G:B:A 8:8:8:8 little endian | |
| 1588 | + */ | |
| 1589 | + WL_SHM_FORMAT_RGBA8888 = 0x34324152, | |
| 1590 | + /** | |
| 1591 | + * 32-bit BGRA format, [31:0] B:G:R:A 8:8:8:8 little endian | |
| 1592 | + */ | |
| 1593 | + WL_SHM_FORMAT_BGRA8888 = 0x34324142, | |
| 1594 | + /** | |
| 1595 | + * 32-bit xRGB format, [31:0] x:R:G:B 2:10:10:10 little endian | |
| 1596 | + */ | |
| 1597 | + WL_SHM_FORMAT_XRGB2101010 = 0x30335258, | |
| 1598 | + /** | |
| 1599 | + * 32-bit xBGR format, [31:0] x:B:G:R 2:10:10:10 little endian | |
| 1600 | + */ | |
| 1601 | + WL_SHM_FORMAT_XBGR2101010 = 0x30334258, | |
| 1602 | + /** | |
| 1603 | + * 32-bit RGBx format, [31:0] R:G:B:x 10:10:10:2 little endian | |
| 1604 | + */ | |
| 1605 | + WL_SHM_FORMAT_RGBX1010102 = 0x30335852, | |
| 1606 | + /** | |
| 1607 | + * 32-bit BGRx format, [31:0] B:G:R:x 10:10:10:2 little endian | |
| 1608 | + */ | |
| 1609 | + WL_SHM_FORMAT_BGRX1010102 = 0x30335842, | |
| 1610 | + /** | |
| 1611 | + * 32-bit ARGB format, [31:0] A:R:G:B 2:10:10:10 little endian | |
| 1612 | + */ | |
| 1613 | + WL_SHM_FORMAT_ARGB2101010 = 0x30335241, | |
| 1614 | + /** | |
| 1615 | + * 32-bit ABGR format, [31:0] A:B:G:R 2:10:10:10 little endian | |
| 1616 | + */ | |
| 1617 | + WL_SHM_FORMAT_ABGR2101010 = 0x30334241, | |
| 1618 | + /** | |
| 1619 | + * 32-bit RGBA format, [31:0] R:G:B:A 10:10:10:2 little endian | |
| 1620 | + */ | |
| 1621 | + WL_SHM_FORMAT_RGBA1010102 = 0x30334152, | |
| 1622 | + /** | |
| 1623 | + * 32-bit BGRA format, [31:0] B:G:R:A 10:10:10:2 little endian | |
| 1624 | + */ | |
| 1625 | + WL_SHM_FORMAT_BGRA1010102 = 0x30334142, | |
| 1626 | + /** | |
| 1627 | + * packed YCbCr format, [31:0] Cr0:Y1:Cb0:Y0 8:8:8:8 little endian | |
| 1628 | + */ | |
| 1629 | + WL_SHM_FORMAT_YUYV = 0x56595559, | |
| 1630 | + /** | |
| 1631 | + * packed YCbCr format, [31:0] Cb0:Y1:Cr0:Y0 8:8:8:8 little endian | |
| 1632 | + */ | |
| 1633 | + WL_SHM_FORMAT_YVYU = 0x55595659, | |
| 1634 | + /** | |
| 1635 | + * packed YCbCr format, [31:0] Y1:Cr0:Y0:Cb0 8:8:8:8 little endian | |
| 1636 | + */ | |
| 1637 | + WL_SHM_FORMAT_UYVY = 0x59565955, | |
| 1638 | + /** | |
| 1639 | + * packed YCbCr format, [31:0] Y1:Cb0:Y0:Cr0 8:8:8:8 little endian | |
| 1640 | + */ | |
| 1641 | + WL_SHM_FORMAT_VYUY = 0x59555956, | |
| 1642 | + /** | |
| 1643 | + * packed AYCbCr format, [31:0] A:Y:Cb:Cr 8:8:8:8 little endian | |
| 1644 | + */ | |
| 1645 | + WL_SHM_FORMAT_AYUV = 0x56555941, | |
| 1646 | + /** | |
| 1647 | + * 2 plane YCbCr Cr:Cb format, 2x2 subsampled Cr:Cb plane | |
| 1648 | + */ | |
| 1649 | + WL_SHM_FORMAT_NV12 = 0x3231564e, | |
| 1650 | + /** | |
| 1651 | + * 2 plane YCbCr Cb:Cr format, 2x2 subsampled Cb:Cr plane | |
| 1652 | + */ | |
| 1653 | + WL_SHM_FORMAT_NV21 = 0x3132564e, | |
| 1654 | + /** | |
| 1655 | + * 2 plane YCbCr Cr:Cb format, 2x1 subsampled Cr:Cb plane | |
| 1656 | + */ | |
| 1657 | + WL_SHM_FORMAT_NV16 = 0x3631564e, | |
| 1658 | + /** | |
| 1659 | + * 2 plane YCbCr Cb:Cr format, 2x1 subsampled Cb:Cr plane | |
| 1660 | + */ | |
| 1661 | + WL_SHM_FORMAT_NV61 = 0x3136564e, | |
| 1662 | + /** | |
| 1663 | + * 3 plane YCbCr format, 4x4 subsampled Cb (1) and Cr (2) planes | |
| 1664 | + */ | |
| 1665 | + WL_SHM_FORMAT_YUV410 = 0x39565559, | |
| 1666 | + /** | |
| 1667 | + * 3 plane YCbCr format, 4x4 subsampled Cr (1) and Cb (2) planes | |
| 1668 | + */ | |
| 1669 | + WL_SHM_FORMAT_YVU410 = 0x39555659, | |
| 1670 | + /** | |
| 1671 | + * 3 plane YCbCr format, 4x1 subsampled Cb (1) and Cr (2) planes | |
| 1672 | + */ | |
| 1673 | + WL_SHM_FORMAT_YUV411 = 0x31315559, | |
| 1674 | + /** | |
| 1675 | + * 3 plane YCbCr format, 4x1 subsampled Cr (1) and Cb (2) planes | |
| 1676 | + */ | |
| 1677 | + WL_SHM_FORMAT_YVU411 = 0x31315659, | |
| 1678 | + /** | |
| 1679 | + * 3 plane YCbCr format, 2x2 subsampled Cb (1) and Cr (2) planes | |
| 1680 | + */ | |
| 1681 | + WL_SHM_FORMAT_YUV420 = 0x32315559, | |
| 1682 | + /** | |
| 1683 | + * 3 plane YCbCr format, 2x2 subsampled Cr (1) and Cb (2) planes | |
| 1684 | + */ | |
| 1685 | + WL_SHM_FORMAT_YVU420 = 0x32315659, | |
| 1686 | + /** | |
| 1687 | + * 3 plane YCbCr format, 2x1 subsampled Cb (1) and Cr (2) planes | |
| 1688 | + */ | |
| 1689 | + WL_SHM_FORMAT_YUV422 = 0x36315559, | |
| 1690 | + /** | |
| 1691 | + * 3 plane YCbCr format, 2x1 subsampled Cr (1) and Cb (2) planes | |
| 1692 | + */ | |
| 1693 | + WL_SHM_FORMAT_YVU422 = 0x36315659, | |
| 1694 | + /** | |
| 1695 | + * 3 plane YCbCr format, non-subsampled Cb (1) and Cr (2) planes | |
| 1696 | + */ | |
| 1697 | + WL_SHM_FORMAT_YUV444 = 0x34325559, | |
| 1698 | + /** | |
| 1699 | + * 3 plane YCbCr format, non-subsampled Cr (1) and Cb (2) planes | |
| 1700 | + */ | |
| 1701 | + WL_SHM_FORMAT_YVU444 = 0x34325659, | |
| 1702 | + /** | |
| 1703 | + * [7:0] R | |
| 1704 | + */ | |
| 1705 | + WL_SHM_FORMAT_R8 = 0x20203852, | |
| 1706 | + /** | |
| 1707 | + * [15:0] R little endian | |
| 1708 | + */ | |
| 1709 | + WL_SHM_FORMAT_R16 = 0x20363152, | |
| 1710 | + /** | |
| 1711 | + * [15:0] R:G 8:8 little endian | |
| 1712 | + */ | |
| 1713 | + WL_SHM_FORMAT_RG88 = 0x38384752, | |
| 1714 | + /** | |
| 1715 | + * [15:0] G:R 8:8 little endian | |
| 1716 | + */ | |
| 1717 | + WL_SHM_FORMAT_GR88 = 0x38385247, | |
| 1718 | + /** | |
| 1719 | + * [31:0] R:G 16:16 little endian | |
| 1720 | + */ | |
| 1721 | + WL_SHM_FORMAT_RG1616 = 0x32334752, | |
| 1722 | + /** | |
| 1723 | + * [31:0] G:R 16:16 little endian | |
| 1724 | + */ | |
| 1725 | + WL_SHM_FORMAT_GR1616 = 0x32335247, | |
| 1726 | + /** | |
| 1727 | + * [63:0] x:R:G:B 16:16:16:16 little endian | |
| 1728 | + */ | |
| 1729 | + WL_SHM_FORMAT_XRGB16161616F = 0x48345258, | |
| 1730 | + /** | |
| 1731 | + * [63:0] x:B:G:R 16:16:16:16 little endian | |
| 1732 | + */ | |
| 1733 | + WL_SHM_FORMAT_XBGR16161616F = 0x48344258, | |
| 1734 | + /** | |
| 1735 | + * [63:0] A:R:G:B 16:16:16:16 little endian | |
| 1736 | + */ | |
| 1737 | + WL_SHM_FORMAT_ARGB16161616F = 0x48345241, | |
| 1738 | + /** | |
| 1739 | + * [63:0] A:B:G:R 16:16:16:16 little endian | |
| 1740 | + */ | |
| 1741 | + WL_SHM_FORMAT_ABGR16161616F = 0x48344241, | |
| 1742 | + /** | |
| 1743 | + * [31:0] X:Y:Cb:Cr 8:8:8:8 little endian | |
| 1744 | + */ | |
| 1745 | + WL_SHM_FORMAT_XYUV8888 = 0x56555958, | |
| 1746 | + /** | |
| 1747 | + * [23:0] Cr:Cb:Y 8:8:8 little endian | |
| 1748 | + */ | |
| 1749 | + WL_SHM_FORMAT_VUY888 = 0x34325556, | |
| 1750 | + /** | |
| 1751 | + * Y followed by U then V, 10:10:10. Non-linear modifier only | |
| 1752 | + */ | |
| 1753 | + WL_SHM_FORMAT_VUY101010 = 0x30335556, | |
| 1754 | + /** | |
| 1755 | + * [63:0] Cr0:0:Y1:0:Cb0:0:Y0:0 10:6:10:6:10:6:10:6 little endian per 2 Y pixels | |
| 1756 | + */ | |
| 1757 | + WL_SHM_FORMAT_Y210 = 0x30313259, | |
| 1758 | + /** | |
| 1759 | + * [63:0] Cr0:0:Y1:0:Cb0:0:Y0:0 12:4:12:4:12:4:12:4 little endian per 2 Y pixels | |
| 1760 | + */ | |
| 1761 | + WL_SHM_FORMAT_Y212 = 0x32313259, | |
| 1762 | + /** | |
| 1763 | + * [63:0] Cr0:Y1:Cb0:Y0 16:16:16:16 little endian per 2 Y pixels | |
| 1764 | + */ | |
| 1765 | + WL_SHM_FORMAT_Y216 = 0x36313259, | |
| 1766 | + /** | |
| 1767 | + * [31:0] A:Cr:Y:Cb 2:10:10:10 little endian | |
| 1768 | + */ | |
| 1769 | + WL_SHM_FORMAT_Y410 = 0x30313459, | |
| 1770 | + /** | |
| 1771 | + * [63:0] A:0:Cr:0:Y:0:Cb:0 12:4:12:4:12:4:12:4 little endian | |
| 1772 | + */ | |
| 1773 | + WL_SHM_FORMAT_Y412 = 0x32313459, | |
| 1774 | + /** | |
| 1775 | + * [63:0] A:Cr:Y:Cb 16:16:16:16 little endian | |
| 1776 | + */ | |
| 1777 | + WL_SHM_FORMAT_Y416 = 0x36313459, | |
| 1778 | + /** | |
| 1779 | + * [31:0] X:Cr:Y:Cb 2:10:10:10 little endian | |
| 1780 | + */ | |
| 1781 | + WL_SHM_FORMAT_XVYU2101010 = 0x30335658, | |
| 1782 | + /** | |
| 1783 | + * [63:0] X:0:Cr:0:Y:0:Cb:0 12:4:12:4:12:4:12:4 little endian | |
| 1784 | + */ | |
| 1785 | + WL_SHM_FORMAT_XVYU12_16161616 = 0x36335658, | |
| 1786 | + /** | |
| 1787 | + * [63:0] X:Cr:Y:Cb 16:16:16:16 little endian | |
| 1788 | + */ | |
| 1789 | + WL_SHM_FORMAT_XVYU16161616 = 0x38345658, | |
| 1790 | + /** | |
| 1791 | + * [63:0] A3:A2:Y3:0:Cr0:0:Y2:0:A1:A0:Y1:0:Cb0:0:Y0:0 1:1:8:2:8:2:8:2:1:1:8:2:8:2:8:2 little endian | |
| 1792 | + */ | |
| 1793 | + WL_SHM_FORMAT_Y0L0 = 0x304c3059, | |
| 1794 | + /** | |
| 1795 | + * [63:0] X3:X2:Y3:0:Cr0:0:Y2:0:X1:X0:Y1:0:Cb0:0:Y0:0 1:1:8:2:8:2:8:2:1:1:8:2:8:2:8:2 little endian | |
| 1796 | + */ | |
| 1797 | + WL_SHM_FORMAT_X0L0 = 0x304c3058, | |
| 1798 | + /** | |
| 1799 | + * [63:0] A3:A2:Y3:Cr0:Y2:A1:A0:Y1:Cb0:Y0 1:1:10:10:10:1:1:10:10:10 little endian | |
| 1800 | + */ | |
| 1801 | + WL_SHM_FORMAT_Y0L2 = 0x324c3059, | |
| 1802 | + /** | |
| 1803 | + * [63:0] X3:X2:Y3:Cr0:Y2:X1:X0:Y1:Cb0:Y0 1:1:10:10:10:1:1:10:10:10 little endian | |
| 1804 | + */ | |
| 1805 | + WL_SHM_FORMAT_X0L2 = 0x324c3058, | |
| 1806 | + WL_SHM_FORMAT_YUV420_8BIT = 0x38305559, | |
| 1807 | + WL_SHM_FORMAT_YUV420_10BIT = 0x30315559, | |
| 1808 | + WL_SHM_FORMAT_XRGB8888_A8 = 0x38415258, | |
| 1809 | + WL_SHM_FORMAT_XBGR8888_A8 = 0x38414258, | |
| 1810 | + WL_SHM_FORMAT_RGBX8888_A8 = 0x38415852, | |
| 1811 | + WL_SHM_FORMAT_BGRX8888_A8 = 0x38415842, | |
| 1812 | + WL_SHM_FORMAT_RGB888_A8 = 0x38413852, | |
| 1813 | + WL_SHM_FORMAT_BGR888_A8 = 0x38413842, | |
| 1814 | + WL_SHM_FORMAT_RGB565_A8 = 0x38413552, | |
| 1815 | + WL_SHM_FORMAT_BGR565_A8 = 0x38413542, | |
| 1816 | + /** | |
| 1817 | + * non-subsampled Cr:Cb plane | |
| 1818 | + */ | |
| 1819 | + WL_SHM_FORMAT_NV24 = 0x3432564e, | |
| 1820 | + /** | |
| 1821 | + * non-subsampled Cb:Cr plane | |
| 1822 | + */ | |
| 1823 | + WL_SHM_FORMAT_NV42 = 0x3234564e, | |
| 1824 | + /** | |
| 1825 | + * 2x1 subsampled Cr:Cb plane, 10 bit per channel | |
| 1826 | + */ | |
| 1827 | + WL_SHM_FORMAT_P210 = 0x30313250, | |
| 1828 | + /** | |
| 1829 | + * 2x2 subsampled Cr:Cb plane 10 bits per channel | |
| 1830 | + */ | |
| 1831 | + WL_SHM_FORMAT_P010 = 0x30313050, | |
| 1832 | + /** | |
| 1833 | + * 2x2 subsampled Cr:Cb plane 12 bits per channel | |
| 1834 | + */ | |
| 1835 | + WL_SHM_FORMAT_P012 = 0x32313050, | |
| 1836 | + /** | |
| 1837 | + * 2x2 subsampled Cr:Cb plane 16 bits per channel | |
| 1838 | + */ | |
| 1839 | + WL_SHM_FORMAT_P016 = 0x36313050, | |
| 1840 | + /** | |
| 1841 | + * [63:0] A:x:B:x:G:x:R:x 10:6:10:6:10:6:10:6 little endian | |
| 1842 | + */ | |
| 1843 | + WL_SHM_FORMAT_AXBXGXRX106106106106 = 0x30314241, | |
| 1844 | + /** | |
| 1845 | + * 2x2 subsampled Cr:Cb plane | |
| 1846 | + */ | |
| 1847 | + WL_SHM_FORMAT_NV15 = 0x3531564e, | |
| 1848 | + WL_SHM_FORMAT_Q410 = 0x30313451, | |
| 1849 | + WL_SHM_FORMAT_Q401 = 0x31303451, | |
| 1850 | + /** | |
| 1851 | + * [63:0] x:R:G:B 16:16:16:16 little endian | |
| 1852 | + */ | |
| 1853 | + WL_SHM_FORMAT_XRGB16161616 = 0x38345258, | |
| 1854 | + /** | |
| 1855 | + * [63:0] x:B:G:R 16:16:16:16 little endian | |
| 1856 | + */ | |
| 1857 | + WL_SHM_FORMAT_XBGR16161616 = 0x38344258, | |
| 1858 | + /** | |
| 1859 | + * [63:0] A:R:G:B 16:16:16:16 little endian | |
| 1860 | + */ | |
| 1861 | + WL_SHM_FORMAT_ARGB16161616 = 0x38345241, | |
| 1862 | + /** | |
| 1863 | + * [63:0] A:B:G:R 16:16:16:16 little endian | |
| 1864 | + */ | |
| 1865 | + WL_SHM_FORMAT_ABGR16161616 = 0x38344241, | |
| 1866 | +}; | |
| 1867 | +#endif /* WL_SHM_FORMAT_ENUM */ | |
| 1868 | + | |
| 1869 | +/** | |
| 1870 | + * @ingroup iface_wl_shm | |
| 1871 | + * @struct wl_shm_listener | |
| 1872 | + */ | |
| 1873 | +struct wl_shm_listener { | |
| 1874 | + /** | |
| 1875 | + * pixel format description | |
| 1876 | + * | |
| 1877 | + * Informs the client about a valid pixel format that can be used | |
| 1878 | + * for buffers. Known formats include argb8888 and xrgb8888. | |
| 1879 | + * @param format buffer pixel format | |
| 1880 | + */ | |
| 1881 | + void (*format)(void *data, | |
| 1882 | + struct wl_shm *wl_shm, | |
| 1883 | + uint32_t format); | |
| 1884 | +}; | |
| 1885 | + | |
| 1886 | +/** | |
| 1887 | + * @ingroup iface_wl_shm | |
| 1888 | + */ | |
| 1889 | +static inline int | |
| 1890 | +wl_shm_add_listener(struct wl_shm *wl_shm, | |
| 1891 | + const struct wl_shm_listener *listener, void *data) | |
| 1892 | +{ | |
| 1893 | + return wl_proxy_add_listener((struct wl_proxy *) wl_shm, | |
| 1894 | + (void (**)(void)) listener, data); | |
| 1895 | +} | |
| 1896 | + | |
| 1897 | +#define WL_SHM_CREATE_POOL 0 | |
| 1898 | + | |
| 1899 | +/** | |
| 1900 | + * @ingroup iface_wl_shm | |
| 1901 | + */ | |
| 1902 | +#define WL_SHM_FORMAT_SINCE_VERSION 1 | |
| 1903 | + | |
| 1904 | +/** | |
| 1905 | + * @ingroup iface_wl_shm | |
| 1906 | + */ | |
| 1907 | +#define WL_SHM_CREATE_POOL_SINCE_VERSION 1 | |
| 1908 | + | |
| 1909 | +/** @ingroup iface_wl_shm */ | |
| 1910 | +static inline void | |
| 1911 | +wl_shm_set_user_data(struct wl_shm *wl_shm, void *user_data) | |
| 1912 | +{ | |
| 1913 | + wl_proxy_set_user_data((struct wl_proxy *) wl_shm, user_data); | |
| 1914 | +} | |
| 1915 | + | |
| 1916 | +/** @ingroup iface_wl_shm */ | |
| 1917 | +static inline void * | |
| 1918 | +wl_shm_get_user_data(struct wl_shm *wl_shm) | |
| 1919 | +{ | |
| 1920 | + return wl_proxy_get_user_data((struct wl_proxy *) wl_shm); | |
| 1921 | +} | |
| 1922 | + | |
| 1923 | +static inline uint32_t | |
| 1924 | +wl_shm_get_version(struct wl_shm *wl_shm) | |
| 1925 | +{ | |
| 1926 | + return wl_proxy_get_version((struct wl_proxy *) wl_shm); | |
| 1927 | +} | |
| 1928 | + | |
| 1929 | +/** @ingroup iface_wl_shm */ | |
| 1930 | +static inline void | |
| 1931 | +wl_shm_destroy(struct wl_shm *wl_shm) | |
| 1932 | +{ | |
| 1933 | + wl_proxy_destroy((struct wl_proxy *) wl_shm); | |
| 1934 | +} | |
| 1935 | + | |
| 1936 | +/** | |
| 1937 | + * @ingroup iface_wl_shm | |
| 1938 | + * | |
| 1939 | + * Create a new wl_shm_pool object. | |
| 1940 | + * | |
| 1941 | + * The pool can be used to create shared memory based buffer | |
| 1942 | + * objects. The server will mmap size bytes of the passed file | |
| 1943 | + * descriptor, to use as backing memory for the pool. | |
| 1944 | + */ | |
| 1945 | +static inline struct wl_shm_pool * | |
| 1946 | +wl_shm_create_pool(struct wl_shm *wl_shm, int32_t fd, int32_t size) | |
| 1947 | +{ | |
| 1948 | + struct wl_proxy *id; | |
| 1949 | + | |
| 1950 | + id = wl_proxy_marshal_flags((struct wl_proxy *) wl_shm, | |
| 1951 | + WL_SHM_CREATE_POOL, &wl_shm_pool_interface, wl_proxy_get_version((struct wl_proxy *) wl_shm), 0, NULL, fd, size); | |
| 1952 | + | |
| 1953 | + return (struct wl_shm_pool *) id; | |
| 1954 | +} | |
| 1955 | + | |
| 1956 | +/** | |
| 1957 | + * @ingroup iface_wl_buffer | |
| 1958 | + * @struct wl_buffer_listener | |
| 1959 | + */ | |
| 1960 | +struct wl_buffer_listener { | |
| 1961 | + /** | |
| 1962 | + * compositor releases buffer | |
| 1963 | + * | |
| 1964 | + * Sent when this wl_buffer is no longer used by the compositor. | |
| 1965 | + * The client is now free to reuse or destroy this buffer and its | |
| 1966 | + * backing storage. | |
| 1967 | + * | |
| 1968 | + * If a client receives a release event before the frame callback | |
| 1969 | + * requested in the same wl_surface.commit that attaches this | |
| 1970 | + * wl_buffer to a surface, then the client is immediately free to | |
| 1971 | + * reuse the buffer and its backing storage, and does not need a | |
| 1972 | + * second buffer for the next surface content update. Typically | |
| 1973 | + * this is possible, when the compositor maintains a copy of the | |
| 1974 | + * wl_surface contents, e.g. as a GL texture. This is an important | |
| 1975 | + * optimization for GL(ES) compositors with wl_shm clients. | |
| 1976 | + */ | |
| 1977 | + void (*release)(void *data, | |
| 1978 | + struct wl_buffer *wl_buffer); | |
| 1979 | +}; | |
| 1980 | + | |
| 1981 | +/** | |
| 1982 | + * @ingroup iface_wl_buffer | |
| 1983 | + */ | |
| 1984 | +static inline int | |
| 1985 | +wl_buffer_add_listener(struct wl_buffer *wl_buffer, | |
| 1986 | + const struct wl_buffer_listener *listener, void *data) | |
| 1987 | +{ | |
| 1988 | + return wl_proxy_add_listener((struct wl_proxy *) wl_buffer, | |
| 1989 | + (void (**)(void)) listener, data); | |
| 1990 | +} | |
| 1991 | + | |
| 1992 | +#define WL_BUFFER_DESTROY 0 | |
| 1993 | + | |
| 1994 | +/** | |
| 1995 | + * @ingroup iface_wl_buffer | |
| 1996 | + */ | |
| 1997 | +#define WL_BUFFER_RELEASE_SINCE_VERSION 1 | |
| 1998 | + | |
| 1999 | +/** | |
| 2000 | + * @ingroup iface_wl_buffer | |
| 2001 | + */ | |
| 2002 | +#define WL_BUFFER_DESTROY_SINCE_VERSION 1 | |
| 2003 | + | |
| 2004 | +/** @ingroup iface_wl_buffer */ | |
| 2005 | +static inline void | |
| 2006 | +wl_buffer_set_user_data(struct wl_buffer *wl_buffer, void *user_data) | |
| 2007 | +{ | |
| 2008 | + wl_proxy_set_user_data((struct wl_proxy *) wl_buffer, user_data); | |
| 2009 | +} | |
| 2010 | + | |
| 2011 | +/** @ingroup iface_wl_buffer */ | |
| 2012 | +static inline void * | |
| 2013 | +wl_buffer_get_user_data(struct wl_buffer *wl_buffer) | |
| 2014 | +{ | |
| 2015 | + return wl_proxy_get_user_data((struct wl_proxy *) wl_buffer); | |
| 2016 | +} | |
| 2017 | + | |
| 2018 | +static inline uint32_t | |
| 2019 | +wl_buffer_get_version(struct wl_buffer *wl_buffer) | |
| 2020 | +{ | |
| 2021 | + return wl_proxy_get_version((struct wl_proxy *) wl_buffer); | |
| 2022 | +} | |
| 2023 | + | |
| 2024 | +/** | |
| 2025 | + * @ingroup iface_wl_buffer | |
| 2026 | + * | |
| 2027 | + * Destroy a buffer. If and how you need to release the backing | |
| 2028 | + * storage is defined by the buffer factory interface. | |
| 2029 | + * | |
| 2030 | + * For possible side-effects to a surface, see wl_surface.attach. | |
| 2031 | + */ | |
| 2032 | +static inline void | |
| 2033 | +wl_buffer_destroy(struct wl_buffer *wl_buffer) | |
| 2034 | +{ | |
| 2035 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_buffer, | |
| 2036 | + WL_BUFFER_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) wl_buffer), WL_MARSHAL_FLAG_DESTROY); | |
| 2037 | +} | |
| 2038 | + | |
| 2039 | +#ifndef WL_DATA_OFFER_ERROR_ENUM | |
| 2040 | +#define WL_DATA_OFFER_ERROR_ENUM | |
| 2041 | +enum wl_data_offer_error { | |
| 2042 | + /** | |
| 2043 | + * finish request was called untimely | |
| 2044 | + */ | |
| 2045 | + WL_DATA_OFFER_ERROR_INVALID_FINISH = 0, | |
| 2046 | + /** | |
| 2047 | + * action mask contains invalid values | |
| 2048 | + */ | |
| 2049 | + WL_DATA_OFFER_ERROR_INVALID_ACTION_MASK = 1, | |
| 2050 | + /** | |
| 2051 | + * action argument has an invalid value | |
| 2052 | + */ | |
| 2053 | + WL_DATA_OFFER_ERROR_INVALID_ACTION = 2, | |
| 2054 | + /** | |
| 2055 | + * offer doesn't accept this request | |
| 2056 | + */ | |
| 2057 | + WL_DATA_OFFER_ERROR_INVALID_OFFER = 3, | |
| 2058 | +}; | |
| 2059 | +#endif /* WL_DATA_OFFER_ERROR_ENUM */ | |
| 2060 | + | |
| 2061 | +/** | |
| 2062 | + * @ingroup iface_wl_data_offer | |
| 2063 | + * @struct wl_data_offer_listener | |
| 2064 | + */ | |
| 2065 | +struct wl_data_offer_listener { | |
| 2066 | + /** | |
| 2067 | + * advertise offered mime type | |
| 2068 | + * | |
| 2069 | + * Sent immediately after creating the wl_data_offer object. One | |
| 2070 | + * event per offered mime type. | |
| 2071 | + * @param mime_type offered mime type | |
| 2072 | + */ | |
| 2073 | + void (*offer)(void *data, | |
| 2074 | + struct wl_data_offer *wl_data_offer, | |
| 2075 | + const char *mime_type); | |
| 2076 | + /** | |
| 2077 | + * notify the source-side available actions | |
| 2078 | + * | |
| 2079 | + * This event indicates the actions offered by the data source. | |
| 2080 | + * It will be sent immediately after creating the wl_data_offer | |
| 2081 | + * object, or anytime the source side changes its offered actions | |
| 2082 | + * through wl_data_source.set_actions. | |
| 2083 | + * @param source_actions actions offered by the data source | |
| 2084 | + * @since 3 | |
| 2085 | + */ | |
| 2086 | + void (*source_actions)(void *data, | |
| 2087 | + struct wl_data_offer *wl_data_offer, | |
| 2088 | + uint32_t source_actions); | |
| 2089 | + /** | |
| 2090 | + * notify the selected action | |
| 2091 | + * | |
| 2092 | + * This event indicates the action selected by the compositor | |
| 2093 | + * after matching the source/destination side actions. Only one | |
| 2094 | + * action (or none) will be offered here. | |
| 2095 | + * | |
| 2096 | + * This event can be emitted multiple times during the | |
| 2097 | + * drag-and-drop operation in response to destination side action | |
| 2098 | + * changes through wl_data_offer.set_actions. | |
| 2099 | + * | |
| 2100 | + * This event will no longer be emitted after wl_data_device.drop | |
| 2101 | + * happened on the drag-and-drop destination, the client must honor | |
| 2102 | + * the last action received, or the last preferred one set through | |
| 2103 | + * wl_data_offer.set_actions when handling an "ask" action. | |
| 2104 | + * | |
| 2105 | + * Compositors may also change the selected action on the fly, | |
| 2106 | + * mainly in response to keyboard modifier changes during the | |
| 2107 | + * drag-and-drop operation. | |
| 2108 | + * | |
| 2109 | + * The most recent action received is always the valid one. Prior | |
| 2110 | + * to receiving wl_data_device.drop, the chosen action may change | |
| 2111 | + * (e.g. due to keyboard modifiers being pressed). At the time of | |
| 2112 | + * receiving wl_data_device.drop the drag-and-drop destination must | |
| 2113 | + * honor the last action received. | |
| 2114 | + * | |
| 2115 | + * Action changes may still happen after wl_data_device.drop, | |
| 2116 | + * especially on "ask" actions, where the drag-and-drop destination | |
| 2117 | + * may choose another action afterwards. Action changes happening | |
| 2118 | + * at this stage are always the result of inter-client negotiation, | |
| 2119 | + * the compositor shall no longer be able to induce a different | |
| 2120 | + * action. | |
| 2121 | + * | |
| 2122 | + * Upon "ask" actions, it is expected that the drag-and-drop | |
| 2123 | + * destination may potentially choose a different action and/or | |
| 2124 | + * mime type, based on wl_data_offer.source_actions and finally | |
| 2125 | + * chosen by the user (e.g. popping up a menu with the available | |
| 2126 | + * options). The final wl_data_offer.set_actions and | |
| 2127 | + * wl_data_offer.accept requests must happen before the call to | |
| 2128 | + * wl_data_offer.finish. | |
| 2129 | + * @param dnd_action action selected by the compositor | |
| 2130 | + * @since 3 | |
| 2131 | + */ | |
| 2132 | + void (*action)(void *data, | |
| 2133 | + struct wl_data_offer *wl_data_offer, | |
| 2134 | + uint32_t dnd_action); | |
| 2135 | +}; | |
| 2136 | + | |
| 2137 | +/** | |
| 2138 | + * @ingroup iface_wl_data_offer | |
| 2139 | + */ | |
| 2140 | +static inline int | |
| 2141 | +wl_data_offer_add_listener(struct wl_data_offer *wl_data_offer, | |
| 2142 | + const struct wl_data_offer_listener *listener, void *data) | |
| 2143 | +{ | |
| 2144 | + return wl_proxy_add_listener((struct wl_proxy *) wl_data_offer, | |
| 2145 | + (void (**)(void)) listener, data); | |
| 2146 | +} | |
| 2147 | + | |
| 2148 | +#define WL_DATA_OFFER_ACCEPT 0 | |
| 2149 | +#define WL_DATA_OFFER_RECEIVE 1 | |
| 2150 | +#define WL_DATA_OFFER_DESTROY 2 | |
| 2151 | +#define WL_DATA_OFFER_FINISH 3 | |
| 2152 | +#define WL_DATA_OFFER_SET_ACTIONS 4 | |
| 2153 | + | |
| 2154 | +/** | |
| 2155 | + * @ingroup iface_wl_data_offer | |
| 2156 | + */ | |
| 2157 | +#define WL_DATA_OFFER_OFFER_SINCE_VERSION 1 | |
| 2158 | +/** | |
| 2159 | + * @ingroup iface_wl_data_offer | |
| 2160 | + */ | |
| 2161 | +#define WL_DATA_OFFER_SOURCE_ACTIONS_SINCE_VERSION 3 | |
| 2162 | +/** | |
| 2163 | + * @ingroup iface_wl_data_offer | |
| 2164 | + */ | |
| 2165 | +#define WL_DATA_OFFER_ACTION_SINCE_VERSION 3 | |
| 2166 | + | |
| 2167 | +/** | |
| 2168 | + * @ingroup iface_wl_data_offer | |
| 2169 | + */ | |
| 2170 | +#define WL_DATA_OFFER_ACCEPT_SINCE_VERSION 1 | |
| 2171 | +/** | |
| 2172 | + * @ingroup iface_wl_data_offer | |
| 2173 | + */ | |
| 2174 | +#define WL_DATA_OFFER_RECEIVE_SINCE_VERSION 1 | |
| 2175 | +/** | |
| 2176 | + * @ingroup iface_wl_data_offer | |
| 2177 | + */ | |
| 2178 | +#define WL_DATA_OFFER_DESTROY_SINCE_VERSION 1 | |
| 2179 | +/** | |
| 2180 | + * @ingroup iface_wl_data_offer | |
| 2181 | + */ | |
| 2182 | +#define WL_DATA_OFFER_FINISH_SINCE_VERSION 3 | |
| 2183 | +/** | |
| 2184 | + * @ingroup iface_wl_data_offer | |
| 2185 | + */ | |
| 2186 | +#define WL_DATA_OFFER_SET_ACTIONS_SINCE_VERSION 3 | |
| 2187 | + | |
| 2188 | +/** @ingroup iface_wl_data_offer */ | |
| 2189 | +static inline void | |
| 2190 | +wl_data_offer_set_user_data(struct wl_data_offer *wl_data_offer, void *user_data) | |
| 2191 | +{ | |
| 2192 | + wl_proxy_set_user_data((struct wl_proxy *) wl_data_offer, user_data); | |
| 2193 | +} | |
| 2194 | + | |
| 2195 | +/** @ingroup iface_wl_data_offer */ | |
| 2196 | +static inline void * | |
| 2197 | +wl_data_offer_get_user_data(struct wl_data_offer *wl_data_offer) | |
| 2198 | +{ | |
| 2199 | + return wl_proxy_get_user_data((struct wl_proxy *) wl_data_offer); | |
| 2200 | +} | |
| 2201 | + | |
| 2202 | +static inline uint32_t | |
| 2203 | +wl_data_offer_get_version(struct wl_data_offer *wl_data_offer) | |
| 2204 | +{ | |
| 2205 | + return wl_proxy_get_version((struct wl_proxy *) wl_data_offer); | |
| 2206 | +} | |
| 2207 | + | |
| 2208 | +/** | |
| 2209 | + * @ingroup iface_wl_data_offer | |
| 2210 | + * | |
| 2211 | + * Indicate that the client can accept the given mime type, or | |
| 2212 | + * NULL for not accepted. | |
| 2213 | + * | |
| 2214 | + * For objects of version 2 or older, this request is used by the | |
| 2215 | + * client to give feedback whether the client can receive the given | |
| 2216 | + * mime type, or NULL if none is accepted; the feedback does not | |
| 2217 | + * determine whether the drag-and-drop operation succeeds or not. | |
| 2218 | + * | |
| 2219 | + * For objects of version 3 or newer, this request determines the | |
| 2220 | + * final result of the drag-and-drop operation. If the end result | |
| 2221 | + * is that no mime types were accepted, the drag-and-drop operation | |
| 2222 | + * will be cancelled and the corresponding drag source will receive | |
| 2223 | + * wl_data_source.cancelled. Clients may still use this event in | |
| 2224 | + * conjunction with wl_data_source.action for feedback. | |
| 2225 | + */ | |
| 2226 | +static inline void | |
| 2227 | +wl_data_offer_accept(struct wl_data_offer *wl_data_offer, uint32_t serial, const char *mime_type) | |
| 2228 | +{ | |
| 2229 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_data_offer, | |
| 2230 | + WL_DATA_OFFER_ACCEPT, NULL, wl_proxy_get_version((struct wl_proxy *) wl_data_offer), 0, serial, mime_type); | |
| 2231 | +} | |
| 2232 | + | |
| 2233 | +/** | |
| 2234 | + * @ingroup iface_wl_data_offer | |
| 2235 | + * | |
| 2236 | + * To transfer the offered data, the client issues this request | |
| 2237 | + * and indicates the mime type it wants to receive. The transfer | |
| 2238 | + * happens through the passed file descriptor (typically created | |
| 2239 | + * with the pipe system call). The source client writes the data | |
| 2240 | + * in the mime type representation requested and then closes the | |
| 2241 | + * file descriptor. | |
| 2242 | + * | |
| 2243 | + * The receiving client reads from the read end of the pipe until | |
| 2244 | + * EOF and then closes its end, at which point the transfer is | |
| 2245 | + * complete. | |
| 2246 | + * | |
| 2247 | + * This request may happen multiple times for different mime types, | |
| 2248 | + * both before and after wl_data_device.drop. Drag-and-drop destination | |
| 2249 | + * clients may preemptively fetch data or examine it more closely to | |
| 2250 | + * determine acceptance. | |
| 2251 | + */ | |
| 2252 | +static inline void | |
| 2253 | +wl_data_offer_receive(struct wl_data_offer *wl_data_offer, const char *mime_type, int32_t fd) | |
| 2254 | +{ | |
| 2255 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_data_offer, | |
| 2256 | + WL_DATA_OFFER_RECEIVE, NULL, wl_proxy_get_version((struct wl_proxy *) wl_data_offer), 0, mime_type, fd); | |
| 2257 | +} | |
| 2258 | + | |
| 2259 | +/** | |
| 2260 | + * @ingroup iface_wl_data_offer | |
| 2261 | + * | |
| 2262 | + * Destroy the data offer. | |
| 2263 | + */ | |
| 2264 | +static inline void | |
| 2265 | +wl_data_offer_destroy(struct wl_data_offer *wl_data_offer) | |
| 2266 | +{ | |
| 2267 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_data_offer, | |
| 2268 | + WL_DATA_OFFER_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) wl_data_offer), WL_MARSHAL_FLAG_DESTROY); | |
| 2269 | +} | |
| 2270 | + | |
| 2271 | +/** | |
| 2272 | + * @ingroup iface_wl_data_offer | |
| 2273 | + * | |
| 2274 | + * Notifies the compositor that the drag destination successfully | |
| 2275 | + * finished the drag-and-drop operation. | |
| 2276 | + * | |
| 2277 | + * Upon receiving this request, the compositor will emit | |
| 2278 | + * wl_data_source.dnd_finished on the drag source client. | |
| 2279 | + * | |
| 2280 | + * It is a client error to perform other requests than | |
| 2281 | + * wl_data_offer.destroy after this one. It is also an error to perform | |
| 2282 | + * this request after a NULL mime type has been set in | |
| 2283 | + * wl_data_offer.accept or no action was received through | |
| 2284 | + * wl_data_offer.action. | |
| 2285 | + * | |
| 2286 | + * If wl_data_offer.finish request is received for a non drag and drop | |
| 2287 | + * operation, the invalid_finish protocol error is raised. | |
| 2288 | + */ | |
| 2289 | +static inline void | |
| 2290 | +wl_data_offer_finish(struct wl_data_offer *wl_data_offer) | |
| 2291 | +{ | |
| 2292 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_data_offer, | |
| 2293 | + WL_DATA_OFFER_FINISH, NULL, wl_proxy_get_version((struct wl_proxy *) wl_data_offer), 0); | |
| 2294 | +} | |
| 2295 | + | |
| 2296 | +/** | |
| 2297 | + * @ingroup iface_wl_data_offer | |
| 2298 | + * | |
| 2299 | + * Sets the actions that the destination side client supports for | |
| 2300 | + * this operation. This request may trigger the emission of | |
| 2301 | + * wl_data_source.action and wl_data_offer.action events if the compositor | |
| 2302 | + * needs to change the selected action. | |
| 2303 | + * | |
| 2304 | + * This request can be called multiple times throughout the | |
| 2305 | + * drag-and-drop operation, typically in response to wl_data_device.enter | |
| 2306 | + * or wl_data_device.motion events. | |
| 2307 | + * | |
| 2308 | + * This request determines the final result of the drag-and-drop | |
| 2309 | + * operation. If the end result is that no action is accepted, | |
| 2310 | + * the drag source will receive wl_data_source.cancelled. | |
| 2311 | + * | |
| 2312 | + * The dnd_actions argument must contain only values expressed in the | |
| 2313 | + * wl_data_device_manager.dnd_actions enum, and the preferred_action | |
| 2314 | + * argument must only contain one of those values set, otherwise it | |
| 2315 | + * will result in a protocol error. | |
| 2316 | + * | |
| 2317 | + * While managing an "ask" action, the destination drag-and-drop client | |
| 2318 | + * may perform further wl_data_offer.receive requests, and is expected | |
| 2319 | + * to perform one last wl_data_offer.set_actions request with a preferred | |
| 2320 | + * action other than "ask" (and optionally wl_data_offer.accept) before | |
| 2321 | + * requesting wl_data_offer.finish, in order to convey the action selected | |
| 2322 | + * by the user. If the preferred action is not in the | |
| 2323 | + * wl_data_offer.source_actions mask, an error will be raised. | |
| 2324 | + * | |
| 2325 | + * If the "ask" action is dismissed (e.g. user cancellation), the client | |
| 2326 | + * is expected to perform wl_data_offer.destroy right away. | |
| 2327 | + * | |
| 2328 | + * This request can only be made on drag-and-drop offers, a protocol error | |
| 2329 | + * will be raised otherwise. | |
| 2330 | + */ | |
| 2331 | +static inline void | |
| 2332 | +wl_data_offer_set_actions(struct wl_data_offer *wl_data_offer, uint32_t dnd_actions, uint32_t preferred_action) | |
| 2333 | +{ | |
| 2334 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_data_offer, | |
| 2335 | + WL_DATA_OFFER_SET_ACTIONS, NULL, wl_proxy_get_version((struct wl_proxy *) wl_data_offer), 0, dnd_actions, preferred_action); | |
| 2336 | +} | |
| 2337 | + | |
| 2338 | +#ifndef WL_DATA_SOURCE_ERROR_ENUM | |
| 2339 | +#define WL_DATA_SOURCE_ERROR_ENUM | |
| 2340 | +enum wl_data_source_error { | |
| 2341 | + /** | |
| 2342 | + * action mask contains invalid values | |
| 2343 | + */ | |
| 2344 | + WL_DATA_SOURCE_ERROR_INVALID_ACTION_MASK = 0, | |
| 2345 | + /** | |
| 2346 | + * source doesn't accept this request | |
| 2347 | + */ | |
| 2348 | + WL_DATA_SOURCE_ERROR_INVALID_SOURCE = 1, | |
| 2349 | +}; | |
| 2350 | +#endif /* WL_DATA_SOURCE_ERROR_ENUM */ | |
| 2351 | + | |
| 2352 | +/** | |
| 2353 | + * @ingroup iface_wl_data_source | |
| 2354 | + * @struct wl_data_source_listener | |
| 2355 | + */ | |
| 2356 | +struct wl_data_source_listener { | |
| 2357 | + /** | |
| 2358 | + * a target accepts an offered mime type | |
| 2359 | + * | |
| 2360 | + * Sent when a target accepts pointer_focus or motion events. If | |
| 2361 | + * a target does not accept any of the offered types, type is NULL. | |
| 2362 | + * | |
| 2363 | + * Used for feedback during drag-and-drop. | |
| 2364 | + * @param mime_type mime type accepted by the target | |
| 2365 | + */ | |
| 2366 | + void (*target)(void *data, | |
| 2367 | + struct wl_data_source *wl_data_source, | |
| 2368 | + const char *mime_type); | |
| 2369 | + /** | |
| 2370 | + * send the data | |
| 2371 | + * | |
| 2372 | + * Request for data from the client. Send the data as the | |
| 2373 | + * specified mime type over the passed file descriptor, then close | |
| 2374 | + * it. | |
| 2375 | + * @param mime_type mime type for the data | |
| 2376 | + * @param fd file descriptor for the data | |
| 2377 | + */ | |
| 2378 | + void (*send)(void *data, | |
| 2379 | + struct wl_data_source *wl_data_source, | |
| 2380 | + const char *mime_type, | |
| 2381 | + int32_t fd); | |
| 2382 | + /** | |
| 2383 | + * selection was cancelled | |
| 2384 | + * | |
| 2385 | + * This data source is no longer valid. There are several reasons | |
| 2386 | + * why this could happen: | |
| 2387 | + * | |
| 2388 | + * - The data source has been replaced by another data source. - | |
| 2389 | + * The drag-and-drop operation was performed, but the drop | |
| 2390 | + * destination did not accept any of the mime types offered through | |
| 2391 | + * wl_data_source.target. - The drag-and-drop operation was | |
| 2392 | + * performed, but the drop destination did not select any of the | |
| 2393 | + * actions present in the mask offered through | |
| 2394 | + * wl_data_source.action. - The drag-and-drop operation was | |
| 2395 | + * performed but didn't happen over a surface. - The compositor | |
| 2396 | + * cancelled the drag-and-drop operation (e.g. compositor dependent | |
| 2397 | + * timeouts to avoid stale drag-and-drop transfers). | |
| 2398 | + * | |
| 2399 | + * The client should clean up and destroy this data source. | |
| 2400 | + * | |
| 2401 | + * For objects of version 2 or older, wl_data_source.cancelled will | |
| 2402 | + * only be emitted if the data source was replaced by another data | |
| 2403 | + * source. | |
| 2404 | + */ | |
| 2405 | + void (*cancelled)(void *data, | |
| 2406 | + struct wl_data_source *wl_data_source); | |
| 2407 | + /** | |
| 2408 | + * the drag-and-drop operation physically finished | |
| 2409 | + * | |
| 2410 | + * The user performed the drop action. This event does not | |
| 2411 | + * indicate acceptance, wl_data_source.cancelled may still be | |
| 2412 | + * emitted afterwards if the drop destination does not accept any | |
| 2413 | + * mime type. | |
| 2414 | + * | |
| 2415 | + * However, this event might however not be received if the | |
| 2416 | + * compositor cancelled the drag-and-drop operation before this | |
| 2417 | + * event could happen. | |
| 2418 | + * | |
| 2419 | + * Note that the data_source may still be used in the future and | |
| 2420 | + * should not be destroyed here. | |
| 2421 | + * @since 3 | |
| 2422 | + */ | |
| 2423 | + void (*dnd_drop_performed)(void *data, | |
| 2424 | + struct wl_data_source *wl_data_source); | |
| 2425 | + /** | |
| 2426 | + * the drag-and-drop operation concluded | |
| 2427 | + * | |
| 2428 | + * The drop destination finished interoperating with this data | |
| 2429 | + * source, so the client is now free to destroy this data source | |
| 2430 | + * and free all associated data. | |
| 2431 | + * | |
| 2432 | + * If the action used to perform the operation was "move", the | |
| 2433 | + * source can now delete the transferred data. | |
| 2434 | + * @since 3 | |
| 2435 | + */ | |
| 2436 | + void (*dnd_finished)(void *data, | |
| 2437 | + struct wl_data_source *wl_data_source); | |
| 2438 | + /** | |
| 2439 | + * notify the selected action | |
| 2440 | + * | |
| 2441 | + * This event indicates the action selected by the compositor | |
| 2442 | + * after matching the source/destination side actions. Only one | |
| 2443 | + * action (or none) will be offered here. | |
| 2444 | + * | |
| 2445 | + * This event can be emitted multiple times during the | |
| 2446 | + * drag-and-drop operation, mainly in response to destination side | |
| 2447 | + * changes through wl_data_offer.set_actions, and as the data | |
| 2448 | + * device enters/leaves surfaces. | |
| 2449 | + * | |
| 2450 | + * It is only possible to receive this event after | |
| 2451 | + * wl_data_source.dnd_drop_performed if the drag-and-drop operation | |
| 2452 | + * ended in an "ask" action, in which case the final | |
| 2453 | + * wl_data_source.action event will happen immediately before | |
| 2454 | + * wl_data_source.dnd_finished. | |
| 2455 | + * | |
| 2456 | + * Compositors may also change the selected action on the fly, | |
| 2457 | + * mainly in response to keyboard modifier changes during the | |
| 2458 | + * drag-and-drop operation. | |
| 2459 | + * | |
| 2460 | + * The most recent action received is always the valid one. The | |
| 2461 | + * chosen action may change alongside negotiation (e.g. an "ask" | |
| 2462 | + * action can turn into a "move" operation), so the effects of the | |
| 2463 | + * final action must always be applied in | |
| 2464 | + * wl_data_offer.dnd_finished. | |
| 2465 | + * | |
| 2466 | + * Clients can trigger cursor surface changes from this point, so | |
| 2467 | + * they reflect the current action. | |
| 2468 | + * @param dnd_action action selected by the compositor | |
| 2469 | + * @since 3 | |
| 2470 | + */ | |
| 2471 | + void (*action)(void *data, | |
| 2472 | + struct wl_data_source *wl_data_source, | |
| 2473 | + uint32_t dnd_action); | |
| 2474 | +}; | |
| 2475 | + | |
| 2476 | +/** | |
| 2477 | + * @ingroup iface_wl_data_source | |
| 2478 | + */ | |
| 2479 | +static inline int | |
| 2480 | +wl_data_source_add_listener(struct wl_data_source *wl_data_source, | |
| 2481 | + const struct wl_data_source_listener *listener, void *data) | |
| 2482 | +{ | |
| 2483 | + return wl_proxy_add_listener((struct wl_proxy *) wl_data_source, | |
| 2484 | + (void (**)(void)) listener, data); | |
| 2485 | +} | |
| 2486 | + | |
| 2487 | +#define WL_DATA_SOURCE_OFFER 0 | |
| 2488 | +#define WL_DATA_SOURCE_DESTROY 1 | |
| 2489 | +#define WL_DATA_SOURCE_SET_ACTIONS 2 | |
| 2490 | + | |
| 2491 | +/** | |
| 2492 | + * @ingroup iface_wl_data_source | |
| 2493 | + */ | |
| 2494 | +#define WL_DATA_SOURCE_TARGET_SINCE_VERSION 1 | |
| 2495 | +/** | |
| 2496 | + * @ingroup iface_wl_data_source | |
| 2497 | + */ | |
| 2498 | +#define WL_DATA_SOURCE_SEND_SINCE_VERSION 1 | |
| 2499 | +/** | |
| 2500 | + * @ingroup iface_wl_data_source | |
| 2501 | + */ | |
| 2502 | +#define WL_DATA_SOURCE_CANCELLED_SINCE_VERSION 1 | |
| 2503 | +/** | |
| 2504 | + * @ingroup iface_wl_data_source | |
| 2505 | + */ | |
| 2506 | +#define WL_DATA_SOURCE_DND_DROP_PERFORMED_SINCE_VERSION 3 | |
| 2507 | +/** | |
| 2508 | + * @ingroup iface_wl_data_source | |
| 2509 | + */ | |
| 2510 | +#define WL_DATA_SOURCE_DND_FINISHED_SINCE_VERSION 3 | |
| 2511 | +/** | |
| 2512 | + * @ingroup iface_wl_data_source | |
| 2513 | + */ | |
| 2514 | +#define WL_DATA_SOURCE_ACTION_SINCE_VERSION 3 | |
| 2515 | + | |
| 2516 | +/** | |
| 2517 | + * @ingroup iface_wl_data_source | |
| 2518 | + */ | |
| 2519 | +#define WL_DATA_SOURCE_OFFER_SINCE_VERSION 1 | |
| 2520 | +/** | |
| 2521 | + * @ingroup iface_wl_data_source | |
| 2522 | + */ | |
| 2523 | +#define WL_DATA_SOURCE_DESTROY_SINCE_VERSION 1 | |
| 2524 | +/** | |
| 2525 | + * @ingroup iface_wl_data_source | |
| 2526 | + */ | |
| 2527 | +#define WL_DATA_SOURCE_SET_ACTIONS_SINCE_VERSION 3 | |
| 2528 | + | |
| 2529 | +/** @ingroup iface_wl_data_source */ | |
| 2530 | +static inline void | |
| 2531 | +wl_data_source_set_user_data(struct wl_data_source *wl_data_source, void *user_data) | |
| 2532 | +{ | |
| 2533 | + wl_proxy_set_user_data((struct wl_proxy *) wl_data_source, user_data); | |
| 2534 | +} | |
| 2535 | + | |
| 2536 | +/** @ingroup iface_wl_data_source */ | |
| 2537 | +static inline void * | |
| 2538 | +wl_data_source_get_user_data(struct wl_data_source *wl_data_source) | |
| 2539 | +{ | |
| 2540 | + return wl_proxy_get_user_data((struct wl_proxy *) wl_data_source); | |
| 2541 | +} | |
| 2542 | + | |
| 2543 | +static inline uint32_t | |
| 2544 | +wl_data_source_get_version(struct wl_data_source *wl_data_source) | |
| 2545 | +{ | |
| 2546 | + return wl_proxy_get_version((struct wl_proxy *) wl_data_source); | |
| 2547 | +} | |
| 2548 | + | |
| 2549 | +/** | |
| 2550 | + * @ingroup iface_wl_data_source | |
| 2551 | + * | |
| 2552 | + * This request adds a mime type to the set of mime types | |
| 2553 | + * advertised to targets. Can be called several times to offer | |
| 2554 | + * multiple types. | |
| 2555 | + */ | |
| 2556 | +static inline void | |
| 2557 | +wl_data_source_offer(struct wl_data_source *wl_data_source, const char *mime_type) | |
| 2558 | +{ | |
| 2559 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_data_source, | |
| 2560 | + WL_DATA_SOURCE_OFFER, NULL, wl_proxy_get_version((struct wl_proxy *) wl_data_source), 0, mime_type); | |
| 2561 | +} | |
| 2562 | + | |
| 2563 | +/** | |
| 2564 | + * @ingroup iface_wl_data_source | |
| 2565 | + * | |
| 2566 | + * Destroy the data source. | |
| 2567 | + */ | |
| 2568 | +static inline void | |
| 2569 | +wl_data_source_destroy(struct wl_data_source *wl_data_source) | |
| 2570 | +{ | |
| 2571 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_data_source, | |
| 2572 | + WL_DATA_SOURCE_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) wl_data_source), WL_MARSHAL_FLAG_DESTROY); | |
| 2573 | +} | |
| 2574 | + | |
| 2575 | +/** | |
| 2576 | + * @ingroup iface_wl_data_source | |
| 2577 | + * | |
| 2578 | + * Sets the actions that the source side client supports for this | |
| 2579 | + * operation. This request may trigger wl_data_source.action and | |
| 2580 | + * wl_data_offer.action events if the compositor needs to change the | |
| 2581 | + * selected action. | |
| 2582 | + * | |
| 2583 | + * The dnd_actions argument must contain only values expressed in the | |
| 2584 | + * wl_data_device_manager.dnd_actions enum, otherwise it will result | |
| 2585 | + * in a protocol error. | |
| 2586 | + * | |
| 2587 | + * This request must be made once only, and can only be made on sources | |
| 2588 | + * used in drag-and-drop, so it must be performed before | |
| 2589 | + * wl_data_device.start_drag. Attempting to use the source other than | |
| 2590 | + * for drag-and-drop will raise a protocol error. | |
| 2591 | + */ | |
| 2592 | +static inline void | |
| 2593 | +wl_data_source_set_actions(struct wl_data_source *wl_data_source, uint32_t dnd_actions) | |
| 2594 | +{ | |
| 2595 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_data_source, | |
| 2596 | + WL_DATA_SOURCE_SET_ACTIONS, NULL, wl_proxy_get_version((struct wl_proxy *) wl_data_source), 0, dnd_actions); | |
| 2597 | +} | |
| 2598 | + | |
| 2599 | +#ifndef WL_DATA_DEVICE_ERROR_ENUM | |
| 2600 | +#define WL_DATA_DEVICE_ERROR_ENUM | |
| 2601 | +enum wl_data_device_error { | |
| 2602 | + /** | |
| 2603 | + * given wl_surface has another role | |
| 2604 | + */ | |
| 2605 | + WL_DATA_DEVICE_ERROR_ROLE = 0, | |
| 2606 | +}; | |
| 2607 | +#endif /* WL_DATA_DEVICE_ERROR_ENUM */ | |
| 2608 | + | |
| 2609 | +/** | |
| 2610 | + * @ingroup iface_wl_data_device | |
| 2611 | + * @struct wl_data_device_listener | |
| 2612 | + */ | |
| 2613 | +struct wl_data_device_listener { | |
| 2614 | + /** | |
| 2615 | + * introduce a new wl_data_offer | |
| 2616 | + * | |
| 2617 | + * The data_offer event introduces a new wl_data_offer object, | |
| 2618 | + * which will subsequently be used in either the data_device.enter | |
| 2619 | + * event (for drag-and-drop) or the data_device.selection event | |
| 2620 | + * (for selections). Immediately following the | |
| 2621 | + * data_device.data_offer event, the new data_offer object will | |
| 2622 | + * send out data_offer.offer events to describe the mime types it | |
| 2623 | + * offers. | |
| 2624 | + * @param id the new data_offer object | |
| 2625 | + */ | |
| 2626 | + void (*data_offer)(void *data, | |
| 2627 | + struct wl_data_device *wl_data_device, | |
| 2628 | + struct wl_data_offer *id); | |
| 2629 | + /** | |
| 2630 | + * initiate drag-and-drop session | |
| 2631 | + * | |
| 2632 | + * This event is sent when an active drag-and-drop pointer enters | |
| 2633 | + * a surface owned by the client. The position of the pointer at | |
| 2634 | + * enter time is provided by the x and y arguments, in | |
| 2635 | + * surface-local coordinates. | |
| 2636 | + * @param serial serial number of the enter event | |
| 2637 | + * @param surface client surface entered | |
| 2638 | + * @param x surface-local x coordinate | |
| 2639 | + * @param y surface-local y coordinate | |
| 2640 | + * @param id source data_offer object | |
| 2641 | + */ | |
| 2642 | + void (*enter)(void *data, | |
| 2643 | + struct wl_data_device *wl_data_device, | |
| 2644 | + uint32_t serial, | |
| 2645 | + struct wl_surface *surface, | |
| 2646 | + wl_fixed_t x, | |
| 2647 | + wl_fixed_t y, | |
| 2648 | + struct wl_data_offer *id); | |
| 2649 | + /** | |
| 2650 | + * end drag-and-drop session | |
| 2651 | + * | |
| 2652 | + * This event is sent when the drag-and-drop pointer leaves the | |
| 2653 | + * surface and the session ends. The client must destroy the | |
| 2654 | + * wl_data_offer introduced at enter time at this point. | |
| 2655 | + */ | |
| 2656 | + void (*leave)(void *data, | |
| 2657 | + struct wl_data_device *wl_data_device); | |
| 2658 | + /** | |
| 2659 | + * drag-and-drop session motion | |
| 2660 | + * | |
| 2661 | + * This event is sent when the drag-and-drop pointer moves within | |
| 2662 | + * the currently focused surface. The new position of the pointer | |
| 2663 | + * is provided by the x and y arguments, in surface-local | |
| 2664 | + * coordinates. | |
| 2665 | + * @param time timestamp with millisecond granularity | |
| 2666 | + * @param x surface-local x coordinate | |
| 2667 | + * @param y surface-local y coordinate | |
| 2668 | + */ | |
| 2669 | + void (*motion)(void *data, | |
| 2670 | + struct wl_data_device *wl_data_device, | |
| 2671 | + uint32_t time, | |
| 2672 | + wl_fixed_t x, | |
| 2673 | + wl_fixed_t y); | |
| 2674 | + /** | |
| 2675 | + * end drag-and-drop session successfully | |
| 2676 | + * | |
| 2677 | + * The event is sent when a drag-and-drop operation is ended | |
| 2678 | + * because the implicit grab is removed. | |
| 2679 | + * | |
| 2680 | + * The drag-and-drop destination is expected to honor the last | |
| 2681 | + * action received through wl_data_offer.action, if the resulting | |
| 2682 | + * action is "copy" or "move", the destination can still perform | |
| 2683 | + * wl_data_offer.receive requests, and is expected to end all | |
| 2684 | + * transfers with a wl_data_offer.finish request. | |
| 2685 | + * | |
| 2686 | + * If the resulting action is "ask", the action will not be | |
| 2687 | + * considered final. The drag-and-drop destination is expected to | |
| 2688 | + * perform one last wl_data_offer.set_actions request, or | |
| 2689 | + * wl_data_offer.destroy in order to cancel the operation. | |
| 2690 | + */ | |
| 2691 | + void (*drop)(void *data, | |
| 2692 | + struct wl_data_device *wl_data_device); | |
| 2693 | + /** | |
| 2694 | + * advertise new selection | |
| 2695 | + * | |
| 2696 | + * The selection event is sent out to notify the client of a new | |
| 2697 | + * wl_data_offer for the selection for this device. The | |
| 2698 | + * data_device.data_offer and the data_offer.offer events are sent | |
| 2699 | + * out immediately before this event to introduce the data offer | |
| 2700 | + * object. The selection event is sent to a client immediately | |
| 2701 | + * before receiving keyboard focus and when a new selection is set | |
| 2702 | + * while the client has keyboard focus. The data_offer is valid | |
| 2703 | + * until a new data_offer or NULL is received or until the client | |
| 2704 | + * loses keyboard focus. Switching surface with keyboard focus | |
| 2705 | + * within the same client doesn't mean a new selection will be | |
| 2706 | + * sent. The client must destroy the previous selection data_offer, | |
| 2707 | + * if any, upon receiving this event. | |
| 2708 | + * @param id selection data_offer object | |
| 2709 | + */ | |
| 2710 | + void (*selection)(void *data, | |
| 2711 | + struct wl_data_device *wl_data_device, | |
| 2712 | + struct wl_data_offer *id); | |
| 2713 | +}; | |
| 2714 | + | |
| 2715 | +/** | |
| 2716 | + * @ingroup iface_wl_data_device | |
| 2717 | + */ | |
| 2718 | +static inline int | |
| 2719 | +wl_data_device_add_listener(struct wl_data_device *wl_data_device, | |
| 2720 | + const struct wl_data_device_listener *listener, void *data) | |
| 2721 | +{ | |
| 2722 | + return wl_proxy_add_listener((struct wl_proxy *) wl_data_device, | |
| 2723 | + (void (**)(void)) listener, data); | |
| 2724 | +} | |
| 2725 | + | |
| 2726 | +#define WL_DATA_DEVICE_START_DRAG 0 | |
| 2727 | +#define WL_DATA_DEVICE_SET_SELECTION 1 | |
| 2728 | +#define WL_DATA_DEVICE_RELEASE 2 | |
| 2729 | + | |
| 2730 | +/** | |
| 2731 | + * @ingroup iface_wl_data_device | |
| 2732 | + */ | |
| 2733 | +#define WL_DATA_DEVICE_DATA_OFFER_SINCE_VERSION 1 | |
| 2734 | +/** | |
| 2735 | + * @ingroup iface_wl_data_device | |
| 2736 | + */ | |
| 2737 | +#define WL_DATA_DEVICE_ENTER_SINCE_VERSION 1 | |
| 2738 | +/** | |
| 2739 | + * @ingroup iface_wl_data_device | |
| 2740 | + */ | |
| 2741 | +#define WL_DATA_DEVICE_LEAVE_SINCE_VERSION 1 | |
| 2742 | +/** | |
| 2743 | + * @ingroup iface_wl_data_device | |
| 2744 | + */ | |
| 2745 | +#define WL_DATA_DEVICE_MOTION_SINCE_VERSION 1 | |
| 2746 | +/** | |
| 2747 | + * @ingroup iface_wl_data_device | |
| 2748 | + */ | |
| 2749 | +#define WL_DATA_DEVICE_DROP_SINCE_VERSION 1 | |
| 2750 | +/** | |
| 2751 | + * @ingroup iface_wl_data_device | |
| 2752 | + */ | |
| 2753 | +#define WL_DATA_DEVICE_SELECTION_SINCE_VERSION 1 | |
| 2754 | + | |
| 2755 | +/** | |
| 2756 | + * @ingroup iface_wl_data_device | |
| 2757 | + */ | |
| 2758 | +#define WL_DATA_DEVICE_START_DRAG_SINCE_VERSION 1 | |
| 2759 | +/** | |
| 2760 | + * @ingroup iface_wl_data_device | |
| 2761 | + */ | |
| 2762 | +#define WL_DATA_DEVICE_SET_SELECTION_SINCE_VERSION 1 | |
| 2763 | +/** | |
| 2764 | + * @ingroup iface_wl_data_device | |
| 2765 | + */ | |
| 2766 | +#define WL_DATA_DEVICE_RELEASE_SINCE_VERSION 2 | |
| 2767 | + | |
| 2768 | +/** @ingroup iface_wl_data_device */ | |
| 2769 | +static inline void | |
| 2770 | +wl_data_device_set_user_data(struct wl_data_device *wl_data_device, void *user_data) | |
| 2771 | +{ | |
| 2772 | + wl_proxy_set_user_data((struct wl_proxy *) wl_data_device, user_data); | |
| 2773 | +} | |
| 2774 | + | |
| 2775 | +/** @ingroup iface_wl_data_device */ | |
| 2776 | +static inline void * | |
| 2777 | +wl_data_device_get_user_data(struct wl_data_device *wl_data_device) | |
| 2778 | +{ | |
| 2779 | + return wl_proxy_get_user_data((struct wl_proxy *) wl_data_device); | |
| 2780 | +} | |
| 2781 | + | |
| 2782 | +static inline uint32_t | |
| 2783 | +wl_data_device_get_version(struct wl_data_device *wl_data_device) | |
| 2784 | +{ | |
| 2785 | + return wl_proxy_get_version((struct wl_proxy *) wl_data_device); | |
| 2786 | +} | |
| 2787 | + | |
| 2788 | +/** @ingroup iface_wl_data_device */ | |
| 2789 | +static inline void | |
| 2790 | +wl_data_device_destroy(struct wl_data_device *wl_data_device) | |
| 2791 | +{ | |
| 2792 | + wl_proxy_destroy((struct wl_proxy *) wl_data_device); | |
| 2793 | +} | |
| 2794 | + | |
| 2795 | +/** | |
| 2796 | + * @ingroup iface_wl_data_device | |
| 2797 | + * | |
| 2798 | + * This request asks the compositor to start a drag-and-drop | |
| 2799 | + * operation on behalf of the client. | |
| 2800 | + * | |
| 2801 | + * The source argument is the data source that provides the data | |
| 2802 | + * for the eventual data transfer. If source is NULL, enter, leave | |
| 2803 | + * and motion events are sent only to the client that initiated the | |
| 2804 | + * drag and the client is expected to handle the data passing | |
| 2805 | + * internally. If source is destroyed, the drag-and-drop session will be | |
| 2806 | + * cancelled. | |
| 2807 | + * | |
| 2808 | + * The origin surface is the surface where the drag originates and | |
| 2809 | + * the client must have an active implicit grab that matches the | |
| 2810 | + * serial. | |
| 2811 | + * | |
| 2812 | + * The icon surface is an optional (can be NULL) surface that | |
| 2813 | + * provides an icon to be moved around with the cursor. Initially, | |
| 2814 | + * the top-left corner of the icon surface is placed at the cursor | |
| 2815 | + * hotspot, but subsequent wl_surface.attach request can move the | |
| 2816 | + * relative position. Attach requests must be confirmed with | |
| 2817 | + * wl_surface.commit as usual. The icon surface is given the role of | |
| 2818 | + * a drag-and-drop icon. If the icon surface already has another role, | |
| 2819 | + * it raises a protocol error. | |
| 2820 | + * | |
| 2821 | + * The input region is ignored for wl_surfaces with the role of a | |
| 2822 | + * drag-and-drop icon. | |
| 2823 | + */ | |
| 2824 | +static inline void | |
| 2825 | +wl_data_device_start_drag(struct wl_data_device *wl_data_device, struct wl_data_source *source, struct wl_surface *origin, struct wl_surface *icon, uint32_t serial) | |
| 2826 | +{ | |
| 2827 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_data_device, | |
| 2828 | + WL_DATA_DEVICE_START_DRAG, NULL, wl_proxy_get_version((struct wl_proxy *) wl_data_device), 0, source, origin, icon, serial); | |
| 2829 | +} | |
| 2830 | + | |
| 2831 | +/** | |
| 2832 | + * @ingroup iface_wl_data_device | |
| 2833 | + * | |
| 2834 | + * This request asks the compositor to set the selection | |
| 2835 | + * to the data from the source on behalf of the client. | |
| 2836 | + * | |
| 2837 | + * To unset the selection, set the source to NULL. | |
| 2838 | + */ | |
| 2839 | +static inline void | |
| 2840 | +wl_data_device_set_selection(struct wl_data_device *wl_data_device, struct wl_data_source *source, uint32_t serial) | |
| 2841 | +{ | |
| 2842 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_data_device, | |
| 2843 | + WL_DATA_DEVICE_SET_SELECTION, NULL, wl_proxy_get_version((struct wl_proxy *) wl_data_device), 0, source, serial); | |
| 2844 | +} | |
| 2845 | + | |
| 2846 | +/** | |
| 2847 | + * @ingroup iface_wl_data_device | |
| 2848 | + * | |
| 2849 | + * This request destroys the data device. | |
| 2850 | + */ | |
| 2851 | +static inline void | |
| 2852 | +wl_data_device_release(struct wl_data_device *wl_data_device) | |
| 2853 | +{ | |
| 2854 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_data_device, | |
| 2855 | + WL_DATA_DEVICE_RELEASE, NULL, wl_proxy_get_version((struct wl_proxy *) wl_data_device), WL_MARSHAL_FLAG_DESTROY); | |
| 2856 | +} | |
| 2857 | + | |
| 2858 | +#ifndef WL_DATA_DEVICE_MANAGER_DND_ACTION_ENUM | |
| 2859 | +#define WL_DATA_DEVICE_MANAGER_DND_ACTION_ENUM | |
| 2860 | +/** | |
| 2861 | + * @ingroup iface_wl_data_device_manager | |
| 2862 | + * drag and drop actions | |
| 2863 | + * | |
| 2864 | + * This is a bitmask of the available/preferred actions in a | |
| 2865 | + * drag-and-drop operation. | |
| 2866 | + * | |
| 2867 | + * In the compositor, the selected action is a result of matching the | |
| 2868 | + * actions offered by the source and destination sides. "action" events | |
| 2869 | + * with a "none" action will be sent to both source and destination if | |
| 2870 | + * there is no match. All further checks will effectively happen on | |
| 2871 | + * (source actions ��� destination actions). | |
| 2872 | + * | |
| 2873 | + * In addition, compositors may also pick different actions in | |
| 2874 | + * reaction to key modifiers being pressed. One common design that | |
| 2875 | + * is used in major toolkits (and the behavior recommended for | |
| 2876 | + * compositors) is: | |
| 2877 | + * | |
| 2878 | + * - If no modifiers are pressed, the first match (in bit order) | |
| 2879 | + * will be used. | |
| 2880 | + * - Pressing Shift selects "move", if enabled in the mask. | |
| 2881 | + * - Pressing Control selects "copy", if enabled in the mask. | |
| 2882 | + * | |
| 2883 | + * Behavior beyond that is considered implementation-dependent. | |
| 2884 | + * Compositors may for example bind other modifiers (like Alt/Meta) | |
| 2885 | + * or drags initiated with other buttons than BTN_LEFT to specific | |
| 2886 | + * actions (e.g. "ask"). | |
| 2887 | + */ | |
| 2888 | +enum wl_data_device_manager_dnd_action { | |
| 2889 | + /** | |
| 2890 | + * no action | |
| 2891 | + */ | |
| 2892 | + WL_DATA_DEVICE_MANAGER_DND_ACTION_NONE = 0, | |
| 2893 | + /** | |
| 2894 | + * copy action | |
| 2895 | + */ | |
| 2896 | + WL_DATA_DEVICE_MANAGER_DND_ACTION_COPY = 1, | |
| 2897 | + /** | |
| 2898 | + * move action | |
| 2899 | + */ | |
| 2900 | + WL_DATA_DEVICE_MANAGER_DND_ACTION_MOVE = 2, | |
| 2901 | + /** | |
| 2902 | + * ask action | |
| 2903 | + */ | |
| 2904 | + WL_DATA_DEVICE_MANAGER_DND_ACTION_ASK = 4, | |
| 2905 | +}; | |
| 2906 | +#endif /* WL_DATA_DEVICE_MANAGER_DND_ACTION_ENUM */ | |
| 2907 | + | |
| 2908 | +#define WL_DATA_DEVICE_MANAGER_CREATE_DATA_SOURCE 0 | |
| 2909 | +#define WL_DATA_DEVICE_MANAGER_GET_DATA_DEVICE 1 | |
| 2910 | + | |
| 2911 | + | |
| 2912 | +/** | |
| 2913 | + * @ingroup iface_wl_data_device_manager | |
| 2914 | + */ | |
| 2915 | +#define WL_DATA_DEVICE_MANAGER_CREATE_DATA_SOURCE_SINCE_VERSION 1 | |
| 2916 | +/** | |
| 2917 | + * @ingroup iface_wl_data_device_manager | |
| 2918 | + */ | |
| 2919 | +#define WL_DATA_DEVICE_MANAGER_GET_DATA_DEVICE_SINCE_VERSION 1 | |
| 2920 | + | |
| 2921 | +/** @ingroup iface_wl_data_device_manager */ | |
| 2922 | +static inline void | |
| 2923 | +wl_data_device_manager_set_user_data(struct wl_data_device_manager *wl_data_device_manager, void *user_data) | |
| 2924 | +{ | |
| 2925 | + wl_proxy_set_user_data((struct wl_proxy *) wl_data_device_manager, user_data); | |
| 2926 | +} | |
| 2927 | + | |
| 2928 | +/** @ingroup iface_wl_data_device_manager */ | |
| 2929 | +static inline void * | |
| 2930 | +wl_data_device_manager_get_user_data(struct wl_data_device_manager *wl_data_device_manager) | |
| 2931 | +{ | |
| 2932 | + return wl_proxy_get_user_data((struct wl_proxy *) wl_data_device_manager); | |
| 2933 | +} | |
| 2934 | + | |
| 2935 | +static inline uint32_t | |
| 2936 | +wl_data_device_manager_get_version(struct wl_data_device_manager *wl_data_device_manager) | |
| 2937 | +{ | |
| 2938 | + return wl_proxy_get_version((struct wl_proxy *) wl_data_device_manager); | |
| 2939 | +} | |
| 2940 | + | |
| 2941 | +/** @ingroup iface_wl_data_device_manager */ | |
| 2942 | +static inline void | |
| 2943 | +wl_data_device_manager_destroy(struct wl_data_device_manager *wl_data_device_manager) | |
| 2944 | +{ | |
| 2945 | + wl_proxy_destroy((struct wl_proxy *) wl_data_device_manager); | |
| 2946 | +} | |
| 2947 | + | |
| 2948 | +/** | |
| 2949 | + * @ingroup iface_wl_data_device_manager | |
| 2950 | + * | |
| 2951 | + * Create a new data source. | |
| 2952 | + */ | |
| 2953 | +static inline struct wl_data_source * | |
| 2954 | +wl_data_device_manager_create_data_source(struct wl_data_device_manager *wl_data_device_manager) | |
| 2955 | +{ | |
| 2956 | + struct wl_proxy *id; | |
| 2957 | + | |
| 2958 | + id = wl_proxy_marshal_flags((struct wl_proxy *) wl_data_device_manager, | |
| 2959 | + WL_DATA_DEVICE_MANAGER_CREATE_DATA_SOURCE, &wl_data_source_interface, wl_proxy_get_version((struct wl_proxy *) wl_data_device_manager), 0, NULL); | |
| 2960 | + | |
| 2961 | + return (struct wl_data_source *) id; | |
| 2962 | +} | |
| 2963 | + | |
| 2964 | +/** | |
| 2965 | + * @ingroup iface_wl_data_device_manager | |
| 2966 | + * | |
| 2967 | + * Create a new data device for a given seat. | |
| 2968 | + */ | |
| 2969 | +static inline struct wl_data_device * | |
| 2970 | +wl_data_device_manager_get_data_device(struct wl_data_device_manager *wl_data_device_manager, struct wl_seat *seat) | |
| 2971 | +{ | |
| 2972 | + struct wl_proxy *id; | |
| 2973 | + | |
| 2974 | + id = wl_proxy_marshal_flags((struct wl_proxy *) wl_data_device_manager, | |
| 2975 | + WL_DATA_DEVICE_MANAGER_GET_DATA_DEVICE, &wl_data_device_interface, wl_proxy_get_version((struct wl_proxy *) wl_data_device_manager), 0, NULL, seat); | |
| 2976 | + | |
| 2977 | + return (struct wl_data_device *) id; | |
| 2978 | +} | |
| 2979 | + | |
| 2980 | +#ifndef WL_SHELL_ERROR_ENUM | |
| 2981 | +#define WL_SHELL_ERROR_ENUM | |
| 2982 | +enum wl_shell_error { | |
| 2983 | + /** | |
| 2984 | + * given wl_surface has another role | |
| 2985 | + */ | |
| 2986 | + WL_SHELL_ERROR_ROLE = 0, | |
| 2987 | +}; | |
| 2988 | +#endif /* WL_SHELL_ERROR_ENUM */ | |
| 2989 | + | |
| 2990 | +#define WL_SHELL_GET_SHELL_SURFACE 0 | |
| 2991 | + | |
| 2992 | + | |
| 2993 | +/** | |
| 2994 | + * @ingroup iface_wl_shell | |
| 2995 | + */ | |
| 2996 | +#define WL_SHELL_GET_SHELL_SURFACE_SINCE_VERSION 1 | |
| 2997 | + | |
| 2998 | +/** @ingroup iface_wl_shell */ | |
| 2999 | +static inline void | |
| 3000 | +wl_shell_set_user_data(struct wl_shell *wl_shell, void *user_data) | |
| 3001 | +{ | |
| 3002 | + wl_proxy_set_user_data((struct wl_proxy *) wl_shell, user_data); | |
| 3003 | +} | |
| 3004 | + | |
| 3005 | +/** @ingroup iface_wl_shell */ | |
| 3006 | +static inline void * | |
| 3007 | +wl_shell_get_user_data(struct wl_shell *wl_shell) | |
| 3008 | +{ | |
| 3009 | + return wl_proxy_get_user_data((struct wl_proxy *) wl_shell); | |
| 3010 | +} | |
| 3011 | + | |
| 3012 | +static inline uint32_t | |
| 3013 | +wl_shell_get_version(struct wl_shell *wl_shell) | |
| 3014 | +{ | |
| 3015 | + return wl_proxy_get_version((struct wl_proxy *) wl_shell); | |
| 3016 | +} | |
| 3017 | + | |
| 3018 | +/** @ingroup iface_wl_shell */ | |
| 3019 | +static inline void | |
| 3020 | +wl_shell_destroy(struct wl_shell *wl_shell) | |
| 3021 | +{ | |
| 3022 | + wl_proxy_destroy((struct wl_proxy *) wl_shell); | |
| 3023 | +} | |
| 3024 | + | |
| 3025 | +/** | |
| 3026 | + * @ingroup iface_wl_shell | |
| 3027 | + * | |
| 3028 | + * Create a shell surface for an existing surface. This gives | |
| 3029 | + * the wl_surface the role of a shell surface. If the wl_surface | |
| 3030 | + * already has another role, it raises a protocol error. | |
| 3031 | + * | |
| 3032 | + * Only one shell surface can be associated with a given surface. | |
| 3033 | + */ | |
| 3034 | +static inline struct wl_shell_surface * | |
| 3035 | +wl_shell_get_shell_surface(struct wl_shell *wl_shell, struct wl_surface *surface) | |
| 3036 | +{ | |
| 3037 | + struct wl_proxy *id; | |
| 3038 | + | |
| 3039 | + id = wl_proxy_marshal_flags((struct wl_proxy *) wl_shell, | |
| 3040 | + WL_SHELL_GET_SHELL_SURFACE, &wl_shell_surface_interface, wl_proxy_get_version((struct wl_proxy *) wl_shell), 0, NULL, surface); | |
| 3041 | + | |
| 3042 | + return (struct wl_shell_surface *) id; | |
| 3043 | +} | |
| 3044 | + | |
| 3045 | +#ifndef WL_SHELL_SURFACE_RESIZE_ENUM | |
| 3046 | +#define WL_SHELL_SURFACE_RESIZE_ENUM | |
| 3047 | +/** | |
| 3048 | + * @ingroup iface_wl_shell_surface | |
| 3049 | + * edge values for resizing | |
| 3050 | + * | |
| 3051 | + * These values are used to indicate which edge of a surface | |
| 3052 | + * is being dragged in a resize operation. The server may | |
| 3053 | + * use this information to adapt its behavior, e.g. choose | |
| 3054 | + * an appropriate cursor image. | |
| 3055 | + */ | |
| 3056 | +enum wl_shell_surface_resize { | |
| 3057 | + /** | |
| 3058 | + * no edge | |
| 3059 | + */ | |
| 3060 | + WL_SHELL_SURFACE_RESIZE_NONE = 0, | |
| 3061 | + /** | |
| 3062 | + * top edge | |
| 3063 | + */ | |
| 3064 | + WL_SHELL_SURFACE_RESIZE_TOP = 1, | |
| 3065 | + /** | |
| 3066 | + * bottom edge | |
| 3067 | + */ | |
| 3068 | + WL_SHELL_SURFACE_RESIZE_BOTTOM = 2, | |
| 3069 | + /** | |
| 3070 | + * left edge | |
| 3071 | + */ | |
| 3072 | + WL_SHELL_SURFACE_RESIZE_LEFT = 4, | |
| 3073 | + /** | |
| 3074 | + * top and left edges | |
| 3075 | + */ | |
| 3076 | + WL_SHELL_SURFACE_RESIZE_TOP_LEFT = 5, | |
| 3077 | + /** | |
| 3078 | + * bottom and left edges | |
| 3079 | + */ | |
| 3080 | + WL_SHELL_SURFACE_RESIZE_BOTTOM_LEFT = 6, | |
| 3081 | + /** | |
| 3082 | + * right edge | |
| 3083 | + */ | |
| 3084 | + WL_SHELL_SURFACE_RESIZE_RIGHT = 8, | |
| 3085 | + /** | |
| 3086 | + * top and right edges | |
| 3087 | + */ | |
| 3088 | + WL_SHELL_SURFACE_RESIZE_TOP_RIGHT = 9, | |
| 3089 | + /** | |
| 3090 | + * bottom and right edges | |
| 3091 | + */ | |
| 3092 | + WL_SHELL_SURFACE_RESIZE_BOTTOM_RIGHT = 10, | |
| 3093 | +}; | |
| 3094 | +#endif /* WL_SHELL_SURFACE_RESIZE_ENUM */ | |
| 3095 | + | |
| 3096 | +#ifndef WL_SHELL_SURFACE_TRANSIENT_ENUM | |
| 3097 | +#define WL_SHELL_SURFACE_TRANSIENT_ENUM | |
| 3098 | +/** | |
| 3099 | + * @ingroup iface_wl_shell_surface | |
| 3100 | + * details of transient behaviour | |
| 3101 | + * | |
| 3102 | + * These flags specify details of the expected behaviour | |
| 3103 | + * of transient surfaces. Used in the set_transient request. | |
| 3104 | + */ | |
| 3105 | +enum wl_shell_surface_transient { | |
| 3106 | + /** | |
| 3107 | + * do not set keyboard focus | |
| 3108 | + */ | |
| 3109 | + WL_SHELL_SURFACE_TRANSIENT_INACTIVE = 0x1, | |
| 3110 | +}; | |
| 3111 | +#endif /* WL_SHELL_SURFACE_TRANSIENT_ENUM */ | |
| 3112 | + | |
| 3113 | +#ifndef WL_SHELL_SURFACE_FULLSCREEN_METHOD_ENUM | |
| 3114 | +#define WL_SHELL_SURFACE_FULLSCREEN_METHOD_ENUM | |
| 3115 | +/** | |
| 3116 | + * @ingroup iface_wl_shell_surface | |
| 3117 | + * different method to set the surface fullscreen | |
| 3118 | + * | |
| 3119 | + * Hints to indicate to the compositor how to deal with a conflict | |
| 3120 | + * between the dimensions of the surface and the dimensions of the | |
| 3121 | + * output. The compositor is free to ignore this parameter. | |
| 3122 | + */ | |
| 3123 | +enum wl_shell_surface_fullscreen_method { | |
| 3124 | + /** | |
| 3125 | + * no preference, apply default policy | |
| 3126 | + */ | |
| 3127 | + WL_SHELL_SURFACE_FULLSCREEN_METHOD_DEFAULT = 0, | |
| 3128 | + /** | |
| 3129 | + * scale, preserve the surface's aspect ratio and center on output | |
| 3130 | + */ | |
| 3131 | + WL_SHELL_SURFACE_FULLSCREEN_METHOD_SCALE = 1, | |
| 3132 | + /** | |
| 3133 | + * switch output mode to the smallest mode that can fit the surface, add black borders to compensate size mismatch | |
| 3134 | + */ | |
| 3135 | + WL_SHELL_SURFACE_FULLSCREEN_METHOD_DRIVER = 2, | |
| 3136 | + /** | |
| 3137 | + * no upscaling, center on output and add black borders to compensate size mismatch | |
| 3138 | + */ | |
| 3139 | + WL_SHELL_SURFACE_FULLSCREEN_METHOD_FILL = 3, | |
| 3140 | +}; | |
| 3141 | +#endif /* WL_SHELL_SURFACE_FULLSCREEN_METHOD_ENUM */ | |
| 3142 | + | |
| 3143 | +/** | |
| 3144 | + * @ingroup iface_wl_shell_surface | |
| 3145 | + * @struct wl_shell_surface_listener | |
| 3146 | + */ | |
| 3147 | +struct wl_shell_surface_listener { | |
| 3148 | + /** | |
| 3149 | + * ping client | |
| 3150 | + * | |
| 3151 | + * Ping a client to check if it is receiving events and sending | |
| 3152 | + * requests. A client is expected to reply with a pong request. | |
| 3153 | + * @param serial serial number of the ping | |
| 3154 | + */ | |
| 3155 | + void (*ping)(void *data, | |
| 3156 | + struct wl_shell_surface *wl_shell_surface, | |
| 3157 | + uint32_t serial); | |
| 3158 | + /** | |
| 3159 | + * suggest resize | |
| 3160 | + * | |
| 3161 | + * The configure event asks the client to resize its surface. | |
| 3162 | + * | |
| 3163 | + * The size is a hint, in the sense that the client is free to | |
| 3164 | + * ignore it if it doesn't resize, pick a smaller size (to satisfy | |
| 3165 | + * aspect ratio or resize in steps of NxM pixels). | |
| 3166 | + * | |
| 3167 | + * The edges parameter provides a hint about how the surface was | |
| 3168 | + * resized. The client may use this information to decide how to | |
| 3169 | + * adjust its content to the new size (e.g. a scrolling area might | |
| 3170 | + * adjust its content position to leave the viewable content | |
| 3171 | + * unmoved). | |
| 3172 | + * | |
| 3173 | + * The client is free to dismiss all but the last configure event | |
| 3174 | + * it received. | |
| 3175 | + * | |
| 3176 | + * The width and height arguments specify the size of the window in | |
| 3177 | + * surface-local coordinates. | |
| 3178 | + * @param edges how the surface was resized | |
| 3179 | + * @param width new width of the surface | |
| 3180 | + * @param height new height of the surface | |
| 3181 | + */ | |
| 3182 | + void (*configure)(void *data, | |
| 3183 | + struct wl_shell_surface *wl_shell_surface, | |
| 3184 | + uint32_t edges, | |
| 3185 | + int32_t width, | |
| 3186 | + int32_t height); | |
| 3187 | + /** | |
| 3188 | + * popup interaction is done | |
| 3189 | + * | |
| 3190 | + * The popup_done event is sent out when a popup grab is broken, | |
| 3191 | + * that is, when the user clicks a surface that doesn't belong to | |
| 3192 | + * the client owning the popup surface. | |
| 3193 | + */ | |
| 3194 | + void (*popup_done)(void *data, | |
| 3195 | + struct wl_shell_surface *wl_shell_surface); | |
| 3196 | +}; | |
| 3197 | + | |
| 3198 | +/** | |
| 3199 | + * @ingroup iface_wl_shell_surface | |
| 3200 | + */ | |
| 3201 | +static inline int | |
| 3202 | +wl_shell_surface_add_listener(struct wl_shell_surface *wl_shell_surface, | |
| 3203 | + const struct wl_shell_surface_listener *listener, void *data) | |
| 3204 | +{ | |
| 3205 | + return wl_proxy_add_listener((struct wl_proxy *) wl_shell_surface, | |
| 3206 | + (void (**)(void)) listener, data); | |
| 3207 | +} | |
| 3208 | + | |
| 3209 | +#define WL_SHELL_SURFACE_PONG 0 | |
| 3210 | +#define WL_SHELL_SURFACE_MOVE 1 | |
| 3211 | +#define WL_SHELL_SURFACE_RESIZE 2 | |
| 3212 | +#define WL_SHELL_SURFACE_SET_TOPLEVEL 3 | |
| 3213 | +#define WL_SHELL_SURFACE_SET_TRANSIENT 4 | |
| 3214 | +#define WL_SHELL_SURFACE_SET_FULLSCREEN 5 | |
| 3215 | +#define WL_SHELL_SURFACE_SET_POPUP 6 | |
| 3216 | +#define WL_SHELL_SURFACE_SET_MAXIMIZED 7 | |
| 3217 | +#define WL_SHELL_SURFACE_SET_TITLE 8 | |
| 3218 | +#define WL_SHELL_SURFACE_SET_CLASS 9 | |
| 3219 | + | |
| 3220 | +/** | |
| 3221 | + * @ingroup iface_wl_shell_surface | |
| 3222 | + */ | |
| 3223 | +#define WL_SHELL_SURFACE_PING_SINCE_VERSION 1 | |
| 3224 | +/** | |
| 3225 | + * @ingroup iface_wl_shell_surface | |
| 3226 | + */ | |
| 3227 | +#define WL_SHELL_SURFACE_CONFIGURE_SINCE_VERSION 1 | |
| 3228 | +/** | |
| 3229 | + * @ingroup iface_wl_shell_surface | |
| 3230 | + */ | |
| 3231 | +#define WL_SHELL_SURFACE_POPUP_DONE_SINCE_VERSION 1 | |
| 3232 | + | |
| 3233 | +/** | |
| 3234 | + * @ingroup iface_wl_shell_surface | |
| 3235 | + */ | |
| 3236 | +#define WL_SHELL_SURFACE_PONG_SINCE_VERSION 1 | |
| 3237 | +/** | |
| 3238 | + * @ingroup iface_wl_shell_surface | |
| 3239 | + */ | |
| 3240 | +#define WL_SHELL_SURFACE_MOVE_SINCE_VERSION 1 | |
| 3241 | +/** | |
| 3242 | + * @ingroup iface_wl_shell_surface | |
| 3243 | + */ | |
| 3244 | +#define WL_SHELL_SURFACE_RESIZE_SINCE_VERSION 1 | |
| 3245 | +/** | |
| 3246 | + * @ingroup iface_wl_shell_surface | |
| 3247 | + */ | |
| 3248 | +#define WL_SHELL_SURFACE_SET_TOPLEVEL_SINCE_VERSION 1 | |
| 3249 | +/** | |
| 3250 | + * @ingroup iface_wl_shell_surface | |
| 3251 | + */ | |
| 3252 | +#define WL_SHELL_SURFACE_SET_TRANSIENT_SINCE_VERSION 1 | |
| 3253 | +/** | |
| 3254 | + * @ingroup iface_wl_shell_surface | |
| 3255 | + */ | |
| 3256 | +#define WL_SHELL_SURFACE_SET_FULLSCREEN_SINCE_VERSION 1 | |
| 3257 | +/** | |
| 3258 | + * @ingroup iface_wl_shell_surface | |
| 3259 | + */ | |
| 3260 | +#define WL_SHELL_SURFACE_SET_POPUP_SINCE_VERSION 1 | |
| 3261 | +/** | |
| 3262 | + * @ingroup iface_wl_shell_surface | |
| 3263 | + */ | |
| 3264 | +#define WL_SHELL_SURFACE_SET_MAXIMIZED_SINCE_VERSION 1 | |
| 3265 | +/** | |
| 3266 | + * @ingroup iface_wl_shell_surface | |
| 3267 | + */ | |
| 3268 | +#define WL_SHELL_SURFACE_SET_TITLE_SINCE_VERSION 1 | |
| 3269 | +/** | |
| 3270 | + * @ingroup iface_wl_shell_surface | |
| 3271 | + */ | |
| 3272 | +#define WL_SHELL_SURFACE_SET_CLASS_SINCE_VERSION 1 | |
| 3273 | + | |
| 3274 | +/** @ingroup iface_wl_shell_surface */ | |
| 3275 | +static inline void | |
| 3276 | +wl_shell_surface_set_user_data(struct wl_shell_surface *wl_shell_surface, void *user_data) | |
| 3277 | +{ | |
| 3278 | + wl_proxy_set_user_data((struct wl_proxy *) wl_shell_surface, user_data); | |
| 3279 | +} | |
| 3280 | + | |
| 3281 | +/** @ingroup iface_wl_shell_surface */ | |
| 3282 | +static inline void * | |
| 3283 | +wl_shell_surface_get_user_data(struct wl_shell_surface *wl_shell_surface) | |
| 3284 | +{ | |
| 3285 | + return wl_proxy_get_user_data((struct wl_proxy *) wl_shell_surface); | |
| 3286 | +} | |
| 3287 | + | |
| 3288 | +static inline uint32_t | |
| 3289 | +wl_shell_surface_get_version(struct wl_shell_surface *wl_shell_surface) | |
| 3290 | +{ | |
| 3291 | + return wl_proxy_get_version((struct wl_proxy *) wl_shell_surface); | |
| 3292 | +} | |
| 3293 | + | |
| 3294 | +/** @ingroup iface_wl_shell_surface */ | |
| 3295 | +static inline void | |
| 3296 | +wl_shell_surface_destroy(struct wl_shell_surface *wl_shell_surface) | |
| 3297 | +{ | |
| 3298 | + wl_proxy_destroy((struct wl_proxy *) wl_shell_surface); | |
| 3299 | +} | |
| 3300 | + | |
| 3301 | +/** | |
| 3302 | + * @ingroup iface_wl_shell_surface | |
| 3303 | + * | |
| 3304 | + * A client must respond to a ping event with a pong request or | |
| 3305 | + * the client may be deemed unresponsive. | |
| 3306 | + */ | |
| 3307 | +static inline void | |
| 3308 | +wl_shell_surface_pong(struct wl_shell_surface *wl_shell_surface, uint32_t serial) | |
| 3309 | +{ | |
| 3310 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_shell_surface, | |
| 3311 | + WL_SHELL_SURFACE_PONG, NULL, wl_proxy_get_version((struct wl_proxy *) wl_shell_surface), 0, serial); | |
| 3312 | +} | |
| 3313 | + | |
| 3314 | +/** | |
| 3315 | + * @ingroup iface_wl_shell_surface | |
| 3316 | + * | |
| 3317 | + * Start a pointer-driven move of the surface. | |
| 3318 | + * | |
| 3319 | + * This request must be used in response to a button press event. | |
| 3320 | + * The server may ignore move requests depending on the state of | |
| 3321 | + * the surface (e.g. fullscreen or maximized). | |
| 3322 | + */ | |
| 3323 | +static inline void | |
| 3324 | +wl_shell_surface_move(struct wl_shell_surface *wl_shell_surface, struct wl_seat *seat, uint32_t serial) | |
| 3325 | +{ | |
| 3326 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_shell_surface, | |
| 3327 | + WL_SHELL_SURFACE_MOVE, NULL, wl_proxy_get_version((struct wl_proxy *) wl_shell_surface), 0, seat, serial); | |
| 3328 | +} | |
| 3329 | + | |
| 3330 | +/** | |
| 3331 | + * @ingroup iface_wl_shell_surface | |
| 3332 | + * | |
| 3333 | + * Start a pointer-driven resizing of the surface. | |
| 3334 | + * | |
| 3335 | + * This request must be used in response to a button press event. | |
| 3336 | + * The server may ignore resize requests depending on the state of | |
| 3337 | + * the surface (e.g. fullscreen or maximized). | |
| 3338 | + */ | |
| 3339 | +static inline void | |
| 3340 | +wl_shell_surface_resize(struct wl_shell_surface *wl_shell_surface, struct wl_seat *seat, uint32_t serial, uint32_t edges) | |
| 3341 | +{ | |
| 3342 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_shell_surface, | |
| 3343 | + WL_SHELL_SURFACE_RESIZE, NULL, wl_proxy_get_version((struct wl_proxy *) wl_shell_surface), 0, seat, serial, edges); | |
| 3344 | +} | |
| 3345 | + | |
| 3346 | +/** | |
| 3347 | + * @ingroup iface_wl_shell_surface | |
| 3348 | + * | |
| 3349 | + * Map the surface as a toplevel surface. | |
| 3350 | + * | |
| 3351 | + * A toplevel surface is not fullscreen, maximized or transient. | |
| 3352 | + */ | |
| 3353 | +static inline void | |
| 3354 | +wl_shell_surface_set_toplevel(struct wl_shell_surface *wl_shell_surface) | |
| 3355 | +{ | |
| 3356 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_shell_surface, | |
| 3357 | + WL_SHELL_SURFACE_SET_TOPLEVEL, NULL, wl_proxy_get_version((struct wl_proxy *) wl_shell_surface), 0); | |
| 3358 | +} | |
| 3359 | + | |
| 3360 | +/** | |
| 3361 | + * @ingroup iface_wl_shell_surface | |
| 3362 | + * | |
| 3363 | + * Map the surface relative to an existing surface. | |
| 3364 | + * | |
| 3365 | + * The x and y arguments specify the location of the upper left | |
| 3366 | + * corner of the surface relative to the upper left corner of the | |
| 3367 | + * parent surface, in surface-local coordinates. | |
| 3368 | + * | |
| 3369 | + * The flags argument controls details of the transient behaviour. | |
| 3370 | + */ | |
| 3371 | +static inline void | |
| 3372 | +wl_shell_surface_set_transient(struct wl_shell_surface *wl_shell_surface, struct wl_surface *parent, int32_t x, int32_t y, uint32_t flags) | |
| 3373 | +{ | |
| 3374 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_shell_surface, | |
| 3375 | + WL_SHELL_SURFACE_SET_TRANSIENT, NULL, wl_proxy_get_version((struct wl_proxy *) wl_shell_surface), 0, parent, x, y, flags); | |
| 3376 | +} | |
| 3377 | + | |
| 3378 | +/** | |
| 3379 | + * @ingroup iface_wl_shell_surface | |
| 3380 | + * | |
| 3381 | + * Map the surface as a fullscreen surface. | |
| 3382 | + * | |
| 3383 | + * If an output parameter is given then the surface will be made | |
| 3384 | + * fullscreen on that output. If the client does not specify the | |
| 3385 | + * output then the compositor will apply its policy - usually | |
| 3386 | + * choosing the output on which the surface has the biggest surface | |
| 3387 | + * area. | |
| 3388 | + * | |
| 3389 | + * The client may specify a method to resolve a size conflict | |
| 3390 | + * between the output size and the surface size - this is provided | |
| 3391 | + * through the method parameter. | |
| 3392 | + * | |
| 3393 | + * The framerate parameter is used only when the method is set | |
| 3394 | + * to "driver", to indicate the preferred framerate. A value of 0 | |
| 3395 | + * indicates that the client does not care about framerate. The | |
| 3396 | + * framerate is specified in mHz, that is framerate of 60000 is 60Hz. | |
| 3397 | + * | |
| 3398 | + * A method of "scale" or "driver" implies a scaling operation of | |
| 3399 | + * the surface, either via a direct scaling operation or a change of | |
| 3400 | + * the output mode. This will override any kind of output scaling, so | |
| 3401 | + * that mapping a surface with a buffer size equal to the mode can | |
| 3402 | + * fill the screen independent of buffer_scale. | |
| 3403 | + * | |
| 3404 | + * A method of "fill" means we don't scale up the buffer, however | |
| 3405 | + * any output scale is applied. This means that you may run into | |
| 3406 | + * an edge case where the application maps a buffer with the same | |
| 3407 | + * size of the output mode but buffer_scale 1 (thus making a | |
| 3408 | + * surface larger than the output). In this case it is allowed to | |
| 3409 | + * downscale the results to fit the screen. | |
| 3410 | + * | |
| 3411 | + * The compositor must reply to this request with a configure event | |
| 3412 | + * with the dimensions for the output on which the surface will | |
| 3413 | + * be made fullscreen. | |
| 3414 | + */ | |
| 3415 | +static inline void | |
| 3416 | +wl_shell_surface_set_fullscreen(struct wl_shell_surface *wl_shell_surface, uint32_t method, uint32_t framerate, struct wl_output *output) | |
| 3417 | +{ | |
| 3418 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_shell_surface, | |
| 3419 | + WL_SHELL_SURFACE_SET_FULLSCREEN, NULL, wl_proxy_get_version((struct wl_proxy *) wl_shell_surface), 0, method, framerate, output); | |
| 3420 | +} | |
| 3421 | + | |
| 3422 | +/** | |
| 3423 | + * @ingroup iface_wl_shell_surface | |
| 3424 | + * | |
| 3425 | + * Map the surface as a popup. | |
| 3426 | + * | |
| 3427 | + * A popup surface is a transient surface with an added pointer | |
| 3428 | + * grab. | |
| 3429 | + * | |
| 3430 | + * An existing implicit grab will be changed to owner-events mode, | |
| 3431 | + * and the popup grab will continue after the implicit grab ends | |
| 3432 | + * (i.e. releasing the mouse button does not cause the popup to | |
| 3433 | + * be unmapped). | |
| 3434 | + * | |
| 3435 | + * The popup grab continues until the window is destroyed or a | |
| 3436 | + * mouse button is pressed in any other client's window. A click | |
| 3437 | + * in any of the client's surfaces is reported as normal, however, | |
| 3438 | + * clicks in other clients' surfaces will be discarded and trigger | |
| 3439 | + * the callback. | |
| 3440 | + * | |
| 3441 | + * The x and y arguments specify the location of the upper left | |
| 3442 | + * corner of the surface relative to the upper left corner of the | |
| 3443 | + * parent surface, in surface-local coordinates. | |
| 3444 | + */ | |
| 3445 | +static inline void | |
| 3446 | +wl_shell_surface_set_popup(struct wl_shell_surface *wl_shell_surface, struct wl_seat *seat, uint32_t serial, struct wl_surface *parent, int32_t x, int32_t y, uint32_t flags) | |
| 3447 | +{ | |
| 3448 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_shell_surface, | |
| 3449 | + WL_SHELL_SURFACE_SET_POPUP, NULL, wl_proxy_get_version((struct wl_proxy *) wl_shell_surface), 0, seat, serial, parent, x, y, flags); | |
| 3450 | +} | |
| 3451 | + | |
| 3452 | +/** | |
| 3453 | + * @ingroup iface_wl_shell_surface | |
| 3454 | + * | |
| 3455 | + * Map the surface as a maximized surface. | |
| 3456 | + * | |
| 3457 | + * If an output parameter is given then the surface will be | |
| 3458 | + * maximized on that output. If the client does not specify the | |
| 3459 | + * output then the compositor will apply its policy - usually | |
| 3460 | + * choosing the output on which the surface has the biggest surface | |
| 3461 | + * area. | |
| 3462 | + * | |
| 3463 | + * The compositor will reply with a configure event telling | |
| 3464 | + * the expected new surface size. The operation is completed | |
| 3465 | + * on the next buffer attach to this surface. | |
| 3466 | + * | |
| 3467 | + * A maximized surface typically fills the entire output it is | |
| 3468 | + * bound to, except for desktop elements such as panels. This is | |
| 3469 | + * the main difference between a maximized shell surface and a | |
| 3470 | + * fullscreen shell surface. | |
| 3471 | + * | |
| 3472 | + * The details depend on the compositor implementation. | |
| 3473 | + */ | |
| 3474 | +static inline void | |
| 3475 | +wl_shell_surface_set_maximized(struct wl_shell_surface *wl_shell_surface, struct wl_output *output) | |
| 3476 | +{ | |
| 3477 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_shell_surface, | |
| 3478 | + WL_SHELL_SURFACE_SET_MAXIMIZED, NULL, wl_proxy_get_version((struct wl_proxy *) wl_shell_surface), 0, output); | |
| 3479 | +} | |
| 3480 | + | |
| 3481 | +/** | |
| 3482 | + * @ingroup iface_wl_shell_surface | |
| 3483 | + * | |
| 3484 | + * Set a short title for the surface. | |
| 3485 | + * | |
| 3486 | + * This string may be used to identify the surface in a task bar, | |
| 3487 | + * window list, or other user interface elements provided by the | |
| 3488 | + * compositor. | |
| 3489 | + * | |
| 3490 | + * The string must be encoded in UTF-8. | |
| 3491 | + */ | |
| 3492 | +static inline void | |
| 3493 | +wl_shell_surface_set_title(struct wl_shell_surface *wl_shell_surface, const char *title) | |
| 3494 | +{ | |
| 3495 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_shell_surface, | |
| 3496 | + WL_SHELL_SURFACE_SET_TITLE, NULL, wl_proxy_get_version((struct wl_proxy *) wl_shell_surface), 0, title); | |
| 3497 | +} | |
| 3498 | + | |
| 3499 | +/** | |
| 3500 | + * @ingroup iface_wl_shell_surface | |
| 3501 | + * | |
| 3502 | + * Set a class for the surface. | |
| 3503 | + * | |
| 3504 | + * The surface class identifies the general class of applications | |
| 3505 | + * to which the surface belongs. A common convention is to use the | |
| 3506 | + * file name (or the full path if it is a non-standard location) of | |
| 3507 | + * the application's .desktop file as the class. | |
| 3508 | + */ | |
| 3509 | +static inline void | |
| 3510 | +wl_shell_surface_set_class(struct wl_shell_surface *wl_shell_surface, const char *class_) | |
| 3511 | +{ | |
| 3512 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_shell_surface, | |
| 3513 | + WL_SHELL_SURFACE_SET_CLASS, NULL, wl_proxy_get_version((struct wl_proxy *) wl_shell_surface), 0, class_); | |
| 3514 | +} | |
| 3515 | + | |
| 3516 | +#ifndef WL_SURFACE_ERROR_ENUM | |
| 3517 | +#define WL_SURFACE_ERROR_ENUM | |
| 3518 | +/** | |
| 3519 | + * @ingroup iface_wl_surface | |
| 3520 | + * wl_surface error values | |
| 3521 | + * | |
| 3522 | + * These errors can be emitted in response to wl_surface requests. | |
| 3523 | + */ | |
| 3524 | +enum wl_surface_error { | |
| 3525 | + /** | |
| 3526 | + * buffer scale value is invalid | |
| 3527 | + */ | |
| 3528 | + WL_SURFACE_ERROR_INVALID_SCALE = 0, | |
| 3529 | + /** | |
| 3530 | + * buffer transform value is invalid | |
| 3531 | + */ | |
| 3532 | + WL_SURFACE_ERROR_INVALID_TRANSFORM = 1, | |
| 3533 | + /** | |
| 3534 | + * buffer size is invalid | |
| 3535 | + */ | |
| 3536 | + WL_SURFACE_ERROR_INVALID_SIZE = 2, | |
| 3537 | + /** | |
| 3538 | + * buffer offset is invalid | |
| 3539 | + */ | |
| 3540 | + WL_SURFACE_ERROR_INVALID_OFFSET = 3, | |
| 3541 | + /** | |
| 3542 | + * surface was destroyed before its role object | |
| 3543 | + */ | |
| 3544 | + WL_SURFACE_ERROR_DEFUNCT_ROLE_OBJECT = 4, | |
| 3545 | +}; | |
| 3546 | +#endif /* WL_SURFACE_ERROR_ENUM */ | |
| 3547 | + | |
| 3548 | +/** | |
| 3549 | + * @ingroup iface_wl_surface | |
| 3550 | + * @struct wl_surface_listener | |
| 3551 | + */ | |
| 3552 | +struct wl_surface_listener { | |
| 3553 | + /** | |
| 3554 | + * surface enters an output | |
| 3555 | + * | |
| 3556 | + * This is emitted whenever a surface's creation, movement, or | |
| 3557 | + * resizing results in some part of it being within the scanout | |
| 3558 | + * region of an output. | |
| 3559 | + * | |
| 3560 | + * Note that a surface may be overlapping with zero or more | |
| 3561 | + * outputs. | |
| 3562 | + * @param output output entered by the surface | |
| 3563 | + */ | |
| 3564 | + void (*enter)(void *data, | |
| 3565 | + struct wl_surface *wl_surface, | |
| 3566 | + struct wl_output *output); | |
| 3567 | + /** | |
| 3568 | + * surface leaves an output | |
| 3569 | + * | |
| 3570 | + * This is emitted whenever a surface's creation, movement, or | |
| 3571 | + * resizing results in it no longer having any part of it within | |
| 3572 | + * the scanout region of an output. | |
| 3573 | + * | |
| 3574 | + * Clients should not use the number of outputs the surface is on | |
| 3575 | + * for frame throttling purposes. The surface might be hidden even | |
| 3576 | + * if no leave event has been sent, and the compositor might expect | |
| 3577 | + * new surface content updates even if no enter event has been | |
| 3578 | + * sent. The frame event should be used instead. | |
| 3579 | + * @param output output left by the surface | |
| 3580 | + */ | |
| 3581 | + void (*leave)(void *data, | |
| 3582 | + struct wl_surface *wl_surface, | |
| 3583 | + struct wl_output *output); | |
| 3584 | + /** | |
| 3585 | + * preferred buffer scale for the surface | |
| 3586 | + * | |
| 3587 | + * This event indicates the preferred buffer scale for this | |
| 3588 | + * surface. It is sent whenever the compositor's preference | |
| 3589 | + * changes. | |
| 3590 | + * | |
| 3591 | + * It is intended that scaling aware clients use this event to | |
| 3592 | + * scale their content and use wl_surface.set_buffer_scale to | |
| 3593 | + * indicate the scale they have rendered with. This allows clients | |
| 3594 | + * to supply a higher detail buffer. | |
| 3595 | + * @param factor preferred scaling factor | |
| 3596 | + * @since 6 | |
| 3597 | + */ | |
| 3598 | + void (*preferred_buffer_scale)(void *data, | |
| 3599 | + struct wl_surface *wl_surface, | |
| 3600 | + int32_t factor); | |
| 3601 | + /** | |
| 3602 | + * preferred buffer transform for the surface | |
| 3603 | + * | |
| 3604 | + * This event indicates the preferred buffer transform for this | |
| 3605 | + * surface. It is sent whenever the compositor's preference | |
| 3606 | + * changes. | |
| 3607 | + * | |
| 3608 | + * It is intended that transform aware clients use this event to | |
| 3609 | + * apply the transform to their content and use | |
| 3610 | + * wl_surface.set_buffer_transform to indicate the transform they | |
| 3611 | + * have rendered with. | |
| 3612 | + * @param transform preferred transform | |
| 3613 | + * @since 6 | |
| 3614 | + */ | |
| 3615 | + void (*preferred_buffer_transform)(void *data, | |
| 3616 | + struct wl_surface *wl_surface, | |
| 3617 | + uint32_t transform); | |
| 3618 | +}; | |
| 3619 | + | |
| 3620 | +/** | |
| 3621 | + * @ingroup iface_wl_surface | |
| 3622 | + */ | |
| 3623 | +static inline int | |
| 3624 | +wl_surface_add_listener(struct wl_surface *wl_surface, | |
| 3625 | + const struct wl_surface_listener *listener, void *data) | |
| 3626 | +{ | |
| 3627 | + return wl_proxy_add_listener((struct wl_proxy *) wl_surface, | |
| 3628 | + (void (**)(void)) listener, data); | |
| 3629 | +} | |
| 3630 | + | |
| 3631 | +#define WL_SURFACE_DESTROY 0 | |
| 3632 | +#define WL_SURFACE_ATTACH 1 | |
| 3633 | +#define WL_SURFACE_DAMAGE 2 | |
| 3634 | +#define WL_SURFACE_FRAME 3 | |
| 3635 | +#define WL_SURFACE_SET_OPAQUE_REGION 4 | |
| 3636 | +#define WL_SURFACE_SET_INPUT_REGION 5 | |
| 3637 | +#define WL_SURFACE_COMMIT 6 | |
| 3638 | +#define WL_SURFACE_SET_BUFFER_TRANSFORM 7 | |
| 3639 | +#define WL_SURFACE_SET_BUFFER_SCALE 8 | |
| 3640 | +#define WL_SURFACE_DAMAGE_BUFFER 9 | |
| 3641 | +#define WL_SURFACE_OFFSET 10 | |
| 3642 | + | |
| 3643 | +/** | |
| 3644 | + * @ingroup iface_wl_surface | |
| 3645 | + */ | |
| 3646 | +#define WL_SURFACE_ENTER_SINCE_VERSION 1 | |
| 3647 | +/** | |
| 3648 | + * @ingroup iface_wl_surface | |
| 3649 | + */ | |
| 3650 | +#define WL_SURFACE_LEAVE_SINCE_VERSION 1 | |
| 3651 | +/** | |
| 3652 | + * @ingroup iface_wl_surface | |
| 3653 | + */ | |
| 3654 | +#define WL_SURFACE_PREFERRED_BUFFER_SCALE_SINCE_VERSION 6 | |
| 3655 | +/** | |
| 3656 | + * @ingroup iface_wl_surface | |
| 3657 | + */ | |
| 3658 | +#define WL_SURFACE_PREFERRED_BUFFER_TRANSFORM_SINCE_VERSION 6 | |
| 3659 | + | |
| 3660 | +/** | |
| 3661 | + * @ingroup iface_wl_surface | |
| 3662 | + */ | |
| 3663 | +#define WL_SURFACE_DESTROY_SINCE_VERSION 1 | |
| 3664 | +/** | |
| 3665 | + * @ingroup iface_wl_surface | |
| 3666 | + */ | |
| 3667 | +#define WL_SURFACE_ATTACH_SINCE_VERSION 1 | |
| 3668 | +/** | |
| 3669 | + * @ingroup iface_wl_surface | |
| 3670 | + */ | |
| 3671 | +#define WL_SURFACE_DAMAGE_SINCE_VERSION 1 | |
| 3672 | +/** | |
| 3673 | + * @ingroup iface_wl_surface | |
| 3674 | + */ | |
| 3675 | +#define WL_SURFACE_FRAME_SINCE_VERSION 1 | |
| 3676 | +/** | |
| 3677 | + * @ingroup iface_wl_surface | |
| 3678 | + */ | |
| 3679 | +#define WL_SURFACE_SET_OPAQUE_REGION_SINCE_VERSION 1 | |
| 3680 | +/** | |
| 3681 | + * @ingroup iface_wl_surface | |
| 3682 | + */ | |
| 3683 | +#define WL_SURFACE_SET_INPUT_REGION_SINCE_VERSION 1 | |
| 3684 | +/** | |
| 3685 | + * @ingroup iface_wl_surface | |
| 3686 | + */ | |
| 3687 | +#define WL_SURFACE_COMMIT_SINCE_VERSION 1 | |
| 3688 | +/** | |
| 3689 | + * @ingroup iface_wl_surface | |
| 3690 | + */ | |
| 3691 | +#define WL_SURFACE_SET_BUFFER_TRANSFORM_SINCE_VERSION 2 | |
| 3692 | +/** | |
| 3693 | + * @ingroup iface_wl_surface | |
| 3694 | + */ | |
| 3695 | +#define WL_SURFACE_SET_BUFFER_SCALE_SINCE_VERSION 3 | |
| 3696 | +/** | |
| 3697 | + * @ingroup iface_wl_surface | |
| 3698 | + */ | |
| 3699 | +#define WL_SURFACE_DAMAGE_BUFFER_SINCE_VERSION 4 | |
| 3700 | +/** | |
| 3701 | + * @ingroup iface_wl_surface | |
| 3702 | + */ | |
| 3703 | +#define WL_SURFACE_OFFSET_SINCE_VERSION 5 | |
| 3704 | + | |
| 3705 | +/** @ingroup iface_wl_surface */ | |
| 3706 | +static inline void | |
| 3707 | +wl_surface_set_user_data(struct wl_surface *wl_surface, void *user_data) | |
| 3708 | +{ | |
| 3709 | + wl_proxy_set_user_data((struct wl_proxy *) wl_surface, user_data); | |
| 3710 | +} | |
| 3711 | + | |
| 3712 | +/** @ingroup iface_wl_surface */ | |
| 3713 | +static inline void * | |
| 3714 | +wl_surface_get_user_data(struct wl_surface *wl_surface) | |
| 3715 | +{ | |
| 3716 | + return wl_proxy_get_user_data((struct wl_proxy *) wl_surface); | |
| 3717 | +} | |
| 3718 | + | |
| 3719 | +static inline uint32_t | |
| 3720 | +wl_surface_get_version(struct wl_surface *wl_surface) | |
| 3721 | +{ | |
| 3722 | + return wl_proxy_get_version((struct wl_proxy *) wl_surface); | |
| 3723 | +} | |
| 3724 | + | |
| 3725 | +/** | |
| 3726 | + * @ingroup iface_wl_surface | |
| 3727 | + * | |
| 3728 | + * Deletes the surface and invalidates its object ID. | |
| 3729 | + */ | |
| 3730 | +static inline void | |
| 3731 | +wl_surface_destroy(struct wl_surface *wl_surface) | |
| 3732 | +{ | |
| 3733 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_surface, | |
| 3734 | + WL_SURFACE_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) wl_surface), WL_MARSHAL_FLAG_DESTROY); | |
| 3735 | +} | |
| 3736 | + | |
| 3737 | +/** | |
| 3738 | + * @ingroup iface_wl_surface | |
| 3739 | + * | |
| 3740 | + * Set a buffer as the content of this surface. | |
| 3741 | + * | |
| 3742 | + * The new size of the surface is calculated based on the buffer | |
| 3743 | + * size transformed by the inverse buffer_transform and the | |
| 3744 | + * inverse buffer_scale. This means that at commit time the supplied | |
| 3745 | + * buffer size must be an integer multiple of the buffer_scale. If | |
| 3746 | + * that's not the case, an invalid_size error is sent. | |
| 3747 | + * | |
| 3748 | + * The x and y arguments specify the location of the new pending | |
| 3749 | + * buffer's upper left corner, relative to the current buffer's upper | |
| 3750 | + * left corner, in surface-local coordinates. In other words, the | |
| 3751 | + * x and y, combined with the new surface size define in which | |
| 3752 | + * directions the surface's size changes. Setting anything other than 0 | |
| 3753 | + * as x and y arguments is discouraged, and should instead be replaced | |
| 3754 | + * with using the separate wl_surface.offset request. | |
| 3755 | + * | |
| 3756 | + * When the bound wl_surface version is 5 or higher, passing any | |
| 3757 | + * non-zero x or y is a protocol violation, and will result in an | |
| 3758 | + * 'invalid_offset' error being raised. The x and y arguments are ignored | |
| 3759 | + * and do not change the pending state. To achieve equivalent semantics, | |
| 3760 | + * use wl_surface.offset. | |
| 3761 | + * | |
| 3762 | + * Surface contents are double-buffered state, see wl_surface.commit. | |
| 3763 | + * | |
| 3764 | + * The initial surface contents are void; there is no content. | |
| 3765 | + * wl_surface.attach assigns the given wl_buffer as the pending | |
| 3766 | + * wl_buffer. wl_surface.commit makes the pending wl_buffer the new | |
| 3767 | + * surface contents, and the size of the surface becomes the size | |
| 3768 | + * calculated from the wl_buffer, as described above. After commit, | |
| 3769 | + * there is no pending buffer until the next attach. | |
| 3770 | + * | |
| 3771 | + * Committing a pending wl_buffer allows the compositor to read the | |
| 3772 | + * pixels in the wl_buffer. The compositor may access the pixels at | |
| 3773 | + * any time after the wl_surface.commit request. When the compositor | |
| 3774 | + * will not access the pixels anymore, it will send the | |
| 3775 | + * wl_buffer.release event. Only after receiving wl_buffer.release, | |
| 3776 | + * the client may reuse the wl_buffer. A wl_buffer that has been | |
| 3777 | + * attached and then replaced by another attach instead of committed | |
| 3778 | + * will not receive a release event, and is not used by the | |
| 3779 | + * compositor. | |
| 3780 | + * | |
| 3781 | + * If a pending wl_buffer has been committed to more than one wl_surface, | |
| 3782 | + * the delivery of wl_buffer.release events becomes undefined. A well | |
| 3783 | + * behaved client should not rely on wl_buffer.release events in this | |
| 3784 | + * case. Alternatively, a client could create multiple wl_buffer objects | |
| 3785 | + * from the same backing storage or use wp_linux_buffer_release. | |
| 3786 | + * | |
| 3787 | + * Destroying the wl_buffer after wl_buffer.release does not change | |
| 3788 | + * the surface contents. Destroying the wl_buffer before wl_buffer.release | |
| 3789 | + * is allowed as long as the underlying buffer storage isn't re-used (this | |
| 3790 | + * can happen e.g. on client process termination). However, if the client | |
| 3791 | + * destroys the wl_buffer before receiving the wl_buffer.release event and | |
| 3792 | + * mutates the underlying buffer storage, the surface contents become | |
| 3793 | + * undefined immediately. | |
| 3794 | + * | |
| 3795 | + * If wl_surface.attach is sent with a NULL wl_buffer, the | |
| 3796 | + * following wl_surface.commit will remove the surface content. | |
| 3797 | + */ | |
| 3798 | +static inline void | |
| 3799 | +wl_surface_attach(struct wl_surface *wl_surface, struct wl_buffer *buffer, int32_t x, int32_t y) | |
| 3800 | +{ | |
| 3801 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_surface, | |
| 3802 | + WL_SURFACE_ATTACH, NULL, wl_proxy_get_version((struct wl_proxy *) wl_surface), 0, buffer, x, y); | |
| 3803 | +} | |
| 3804 | + | |
| 3805 | +/** | |
| 3806 | + * @ingroup iface_wl_surface | |
| 3807 | + * | |
| 3808 | + * This request is used to describe the regions where the pending | |
| 3809 | + * buffer is different from the current surface contents, and where | |
| 3810 | + * the surface therefore needs to be repainted. The compositor | |
| 3811 | + * ignores the parts of the damage that fall outside of the surface. | |
| 3812 | + * | |
| 3813 | + * Damage is double-buffered state, see wl_surface.commit. | |
| 3814 | + * | |
| 3815 | + * The damage rectangle is specified in surface-local coordinates, | |
| 3816 | + * where x and y specify the upper left corner of the damage rectangle. | |
| 3817 | + * | |
| 3818 | + * The initial value for pending damage is empty: no damage. | |
| 3819 | + * wl_surface.damage adds pending damage: the new pending damage | |
| 3820 | + * is the union of old pending damage and the given rectangle. | |
| 3821 | + * | |
| 3822 | + * wl_surface.commit assigns pending damage as the current damage, | |
| 3823 | + * and clears pending damage. The server will clear the current | |
| 3824 | + * damage as it repaints the surface. | |
| 3825 | + * | |
| 3826 | + * Note! New clients should not use this request. Instead damage can be | |
| 3827 | + * posted with wl_surface.damage_buffer which uses buffer coordinates | |
| 3828 | + * instead of surface coordinates. | |
| 3829 | + */ | |
| 3830 | +static inline void | |
| 3831 | +wl_surface_damage(struct wl_surface *wl_surface, int32_t x, int32_t y, int32_t width, int32_t height) | |
| 3832 | +{ | |
| 3833 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_surface, | |
| 3834 | + WL_SURFACE_DAMAGE, NULL, wl_proxy_get_version((struct wl_proxy *) wl_surface), 0, x, y, width, height); | |
| 3835 | +} | |
| 3836 | + | |
| 3837 | +/** | |
| 3838 | + * @ingroup iface_wl_surface | |
| 3839 | + * | |
| 3840 | + * Request a notification when it is a good time to start drawing a new | |
| 3841 | + * frame, by creating a frame callback. This is useful for throttling | |
| 3842 | + * redrawing operations, and driving animations. | |
| 3843 | + * | |
| 3844 | + * When a client is animating on a wl_surface, it can use the 'frame' | |
| 3845 | + * request to get notified when it is a good time to draw and commit the | |
| 3846 | + * next frame of animation. If the client commits an update earlier than | |
| 3847 | + * that, it is likely that some updates will not make it to the display, | |
| 3848 | + * and the client is wasting resources by drawing too often. | |
| 3849 | + * | |
| 3850 | + * The frame request will take effect on the next wl_surface.commit. | |
| 3851 | + * The notification will only be posted for one frame unless | |
| 3852 | + * requested again. For a wl_surface, the notifications are posted in | |
| 3853 | + * the order the frame requests were committed. | |
| 3854 | + * | |
| 3855 | + * The server must send the notifications so that a client | |
| 3856 | + * will not send excessive updates, while still allowing | |
| 3857 | + * the highest possible update rate for clients that wait for the reply | |
| 3858 | + * before drawing again. The server should give some time for the client | |
| 3859 | + * to draw and commit after sending the frame callback events to let it | |
| 3860 | + * hit the next output refresh. | |
| 3861 | + * | |
| 3862 | + * A server should avoid signaling the frame callbacks if the | |
| 3863 | + * surface is not visible in any way, e.g. the surface is off-screen, | |
| 3864 | + * or completely obscured by other opaque surfaces. | |
| 3865 | + * | |
| 3866 | + * The object returned by this request will be destroyed by the | |
| 3867 | + * compositor after the callback is fired and as such the client must not | |
| 3868 | + * attempt to use it after that point. | |
| 3869 | + * | |
| 3870 | + * The callback_data passed in the callback is the current time, in | |
| 3871 | + * milliseconds, with an undefined base. | |
| 3872 | + */ | |
| 3873 | +static inline struct wl_callback * | |
| 3874 | +wl_surface_frame(struct wl_surface *wl_surface) | |
| 3875 | +{ | |
| 3876 | + struct wl_proxy *callback; | |
| 3877 | + | |
| 3878 | + callback = wl_proxy_marshal_flags((struct wl_proxy *) wl_surface, | |
| 3879 | + WL_SURFACE_FRAME, &wl_callback_interface, wl_proxy_get_version((struct wl_proxy *) wl_surface), 0, NULL); | |
| 3880 | + | |
| 3881 | + return (struct wl_callback *) callback; | |
| 3882 | +} | |
| 3883 | + | |
| 3884 | +/** | |
| 3885 | + * @ingroup iface_wl_surface | |
| 3886 | + * | |
| 3887 | + * This request sets the region of the surface that contains | |
| 3888 | + * opaque content. | |
| 3889 | + * | |
| 3890 | + * The opaque region is an optimization hint for the compositor | |
| 3891 | + * that lets it optimize the redrawing of content behind opaque | |
| 3892 | + * regions. Setting an opaque region is not required for correct | |
| 3893 | + * behaviour, but marking transparent content as opaque will result | |
| 3894 | + * in repaint artifacts. | |
| 3895 | + * | |
| 3896 | + * The opaque region is specified in surface-local coordinates. | |
| 3897 | + * | |
| 3898 | + * The compositor ignores the parts of the opaque region that fall | |
| 3899 | + * outside of the surface. | |
| 3900 | + * | |
| 3901 | + * Opaque region is double-buffered state, see wl_surface.commit. | |
| 3902 | + * | |
| 3903 | + * wl_surface.set_opaque_region changes the pending opaque region. | |
| 3904 | + * wl_surface.commit copies the pending region to the current region. | |
| 3905 | + * Otherwise, the pending and current regions are never changed. | |
| 3906 | + * | |
| 3907 | + * The initial value for an opaque region is empty. Setting the pending | |
| 3908 | + * opaque region has copy semantics, and the wl_region object can be | |
| 3909 | + * destroyed immediately. A NULL wl_region causes the pending opaque | |
| 3910 | + * region to be set to empty. | |
| 3911 | + */ | |
| 3912 | +static inline void | |
| 3913 | +wl_surface_set_opaque_region(struct wl_surface *wl_surface, struct wl_region *region) | |
| 3914 | +{ | |
| 3915 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_surface, | |
| 3916 | + WL_SURFACE_SET_OPAQUE_REGION, NULL, wl_proxy_get_version((struct wl_proxy *) wl_surface), 0, region); | |
| 3917 | +} | |
| 3918 | + | |
| 3919 | +/** | |
| 3920 | + * @ingroup iface_wl_surface | |
| 3921 | + * | |
| 3922 | + * This request sets the region of the surface that can receive | |
| 3923 | + * pointer and touch events. | |
| 3924 | + * | |
| 3925 | + * Input events happening outside of this region will try the next | |
| 3926 | + * surface in the server surface stack. The compositor ignores the | |
| 3927 | + * parts of the input region that fall outside of the surface. | |
| 3928 | + * | |
| 3929 | + * The input region is specified in surface-local coordinates. | |
| 3930 | + * | |
| 3931 | + * Input region is double-buffered state, see wl_surface.commit. | |
| 3932 | + * | |
| 3933 | + * wl_surface.set_input_region changes the pending input region. | |
| 3934 | + * wl_surface.commit copies the pending region to the current region. | |
| 3935 | + * Otherwise the pending and current regions are never changed, | |
| 3936 | + * except cursor and icon surfaces are special cases, see | |
| 3937 | + * wl_pointer.set_cursor and wl_data_device.start_drag. | |
| 3938 | + * | |
| 3939 | + * The initial value for an input region is infinite. That means the | |
| 3940 | + * whole surface will accept input. Setting the pending input region | |
| 3941 | + * has copy semantics, and the wl_region object can be destroyed | |
| 3942 | + * immediately. A NULL wl_region causes the input region to be set | |
| 3943 | + * to infinite. | |
| 3944 | + */ | |
| 3945 | +static inline void | |
| 3946 | +wl_surface_set_input_region(struct wl_surface *wl_surface, struct wl_region *region) | |
| 3947 | +{ | |
| 3948 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_surface, | |
| 3949 | + WL_SURFACE_SET_INPUT_REGION, NULL, wl_proxy_get_version((struct wl_proxy *) wl_surface), 0, region); | |
| 3950 | +} | |
| 3951 | + | |
| 3952 | +/** | |
| 3953 | + * @ingroup iface_wl_surface | |
| 3954 | + * | |
| 3955 | + * Surface state (input, opaque, and damage regions, attached buffers, | |
| 3956 | + * etc.) is double-buffered. Protocol requests modify the pending state, | |
| 3957 | + * as opposed to the current state in use by the compositor. A commit | |
| 3958 | + * request atomically applies all pending state, replacing the current | |
| 3959 | + * state. After commit, the new pending state is as documented for each | |
| 3960 | + * related request. | |
| 3961 | + * | |
| 3962 | + * On commit, a pending wl_buffer is applied first, and all other state | |
| 3963 | + * second. This means that all coordinates in double-buffered state are | |
| 3964 | + * relative to the new wl_buffer coming into use, except for | |
| 3965 | + * wl_surface.attach itself. If there is no pending wl_buffer, the | |
| 3966 | + * coordinates are relative to the current surface contents. | |
| 3967 | + * | |
| 3968 | + * All requests that need a commit to become effective are documented | |
| 3969 | + * to affect double-buffered state. | |
| 3970 | + * | |
| 3971 | + * Other interfaces may add further double-buffered surface state. | |
| 3972 | + */ | |
| 3973 | +static inline void | |
| 3974 | +wl_surface_commit(struct wl_surface *wl_surface) | |
| 3975 | +{ | |
| 3976 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_surface, | |
| 3977 | + WL_SURFACE_COMMIT, NULL, wl_proxy_get_version((struct wl_proxy *) wl_surface), 0); | |
| 3978 | +} | |
| 3979 | + | |
| 3980 | +/** | |
| 3981 | + * @ingroup iface_wl_surface | |
| 3982 | + * | |
| 3983 | + * This request sets an optional transformation on how the compositor | |
| 3984 | + * interprets the contents of the buffer attached to the surface. The | |
| 3985 | + * accepted values for the transform parameter are the values for | |
| 3986 | + * wl_output.transform. | |
| 3987 | + * | |
| 3988 | + * Buffer transform is double-buffered state, see wl_surface.commit. | |
| 3989 | + * | |
| 3990 | + * A newly created surface has its buffer transformation set to normal. | |
| 3991 | + * | |
| 3992 | + * wl_surface.set_buffer_transform changes the pending buffer | |
| 3993 | + * transformation. wl_surface.commit copies the pending buffer | |
| 3994 | + * transformation to the current one. Otherwise, the pending and current | |
| 3995 | + * values are never changed. | |
| 3996 | + * | |
| 3997 | + * The purpose of this request is to allow clients to render content | |
| 3998 | + * according to the output transform, thus permitting the compositor to | |
| 3999 | + * use certain optimizations even if the display is rotated. Using | |
| 4000 | + * hardware overlays and scanning out a client buffer for fullscreen | |
| 4001 | + * surfaces are examples of such optimizations. Those optimizations are | |
| 4002 | + * highly dependent on the compositor implementation, so the use of this | |
| 4003 | + * request should be considered on a case-by-case basis. | |
| 4004 | + * | |
| 4005 | + * Note that if the transform value includes 90 or 270 degree rotation, | |
| 4006 | + * the width of the buffer will become the surface height and the height | |
| 4007 | + * of the buffer will become the surface width. | |
| 4008 | + * | |
| 4009 | + * If transform is not one of the values from the | |
| 4010 | + * wl_output.transform enum the invalid_transform protocol error | |
| 4011 | + * is raised. | |
| 4012 | + */ | |
| 4013 | +static inline void | |
| 4014 | +wl_surface_set_buffer_transform(struct wl_surface *wl_surface, int32_t transform) | |
| 4015 | +{ | |
| 4016 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_surface, | |
| 4017 | + WL_SURFACE_SET_BUFFER_TRANSFORM, NULL, wl_proxy_get_version((struct wl_proxy *) wl_surface), 0, transform); | |
| 4018 | +} | |
| 4019 | + | |
| 4020 | +/** | |
| 4021 | + * @ingroup iface_wl_surface | |
| 4022 | + * | |
| 4023 | + * This request sets an optional scaling factor on how the compositor | |
| 4024 | + * interprets the contents of the buffer attached to the window. | |
| 4025 | + * | |
| 4026 | + * Buffer scale is double-buffered state, see wl_surface.commit. | |
| 4027 | + * | |
| 4028 | + * A newly created surface has its buffer scale set to 1. | |
| 4029 | + * | |
| 4030 | + * wl_surface.set_buffer_scale changes the pending buffer scale. | |
| 4031 | + * wl_surface.commit copies the pending buffer scale to the current one. | |
| 4032 | + * Otherwise, the pending and current values are never changed. | |
| 4033 | + * | |
| 4034 | + * The purpose of this request is to allow clients to supply higher | |
| 4035 | + * resolution buffer data for use on high resolution outputs. It is | |
| 4036 | + * intended that you pick the same buffer scale as the scale of the | |
| 4037 | + * output that the surface is displayed on. This means the compositor | |
| 4038 | + * can avoid scaling when rendering the surface on that output. | |
| 4039 | + * | |
| 4040 | + * Note that if the scale is larger than 1, then you have to attach | |
| 4041 | + * a buffer that is larger (by a factor of scale in each dimension) | |
| 4042 | + * than the desired surface size. | |
| 4043 | + * | |
| 4044 | + * If scale is not positive the invalid_scale protocol error is | |
| 4045 | + * raised. | |
| 4046 | + */ | |
| 4047 | +static inline void | |
| 4048 | +wl_surface_set_buffer_scale(struct wl_surface *wl_surface, int32_t scale) | |
| 4049 | +{ | |
| 4050 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_surface, | |
| 4051 | + WL_SURFACE_SET_BUFFER_SCALE, NULL, wl_proxy_get_version((struct wl_proxy *) wl_surface), 0, scale); | |
| 4052 | +} | |
| 4053 | + | |
| 4054 | +/** | |
| 4055 | + * @ingroup iface_wl_surface | |
| 4056 | + * | |
| 4057 | + * This request is used to describe the regions where the pending | |
| 4058 | + * buffer is different from the current surface contents, and where | |
| 4059 | + * the surface therefore needs to be repainted. The compositor | |
| 4060 | + * ignores the parts of the damage that fall outside of the surface. | |
| 4061 | + * | |
| 4062 | + * Damage is double-buffered state, see wl_surface.commit. | |
| 4063 | + * | |
| 4064 | + * The damage rectangle is specified in buffer coordinates, | |
| 4065 | + * where x and y specify the upper left corner of the damage rectangle. | |
| 4066 | + * | |
| 4067 | + * The initial value for pending damage is empty: no damage. | |
| 4068 | + * wl_surface.damage_buffer adds pending damage: the new pending | |
| 4069 | + * damage is the union of old pending damage and the given rectangle. | |
| 4070 | + * | |
| 4071 | + * wl_surface.commit assigns pending damage as the current damage, | |
| 4072 | + * and clears pending damage. The server will clear the current | |
| 4073 | + * damage as it repaints the surface. | |
| 4074 | + * | |
| 4075 | + * This request differs from wl_surface.damage in only one way - it | |
| 4076 | + * takes damage in buffer coordinates instead of surface-local | |
| 4077 | + * coordinates. While this generally is more intuitive than surface | |
| 4078 | + * coordinates, it is especially desirable when using wp_viewport | |
| 4079 | + * or when a drawing library (like EGL) is unaware of buffer scale | |
| 4080 | + * and buffer transform. | |
| 4081 | + * | |
| 4082 | + * Note: Because buffer transformation changes and damage requests may | |
| 4083 | + * be interleaved in the protocol stream, it is impossible to determine | |
| 4084 | + * the actual mapping between surface and buffer damage until | |
| 4085 | + * wl_surface.commit time. Therefore, compositors wishing to take both | |
| 4086 | + * kinds of damage into account will have to accumulate damage from the | |
| 4087 | + * two requests separately and only transform from one to the other | |
| 4088 | + * after receiving the wl_surface.commit. | |
| 4089 | + */ | |
| 4090 | +static inline void | |
| 4091 | +wl_surface_damage_buffer(struct wl_surface *wl_surface, int32_t x, int32_t y, int32_t width, int32_t height) | |
| 4092 | +{ | |
| 4093 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_surface, | |
| 4094 | + WL_SURFACE_DAMAGE_BUFFER, NULL, wl_proxy_get_version((struct wl_proxy *) wl_surface), 0, x, y, width, height); | |
| 4095 | +} | |
| 4096 | + | |
| 4097 | +/** | |
| 4098 | + * @ingroup iface_wl_surface | |
| 4099 | + * | |
| 4100 | + * The x and y arguments specify the location of the new pending | |
| 4101 | + * buffer's upper left corner, relative to the current buffer's upper | |
| 4102 | + * left corner, in surface-local coordinates. In other words, the | |
| 4103 | + * x and y, combined with the new surface size define in which | |
| 4104 | + * directions the surface's size changes. | |
| 4105 | + * | |
| 4106 | + * Surface location offset is double-buffered state, see | |
| 4107 | + * wl_surface.commit. | |
| 4108 | + * | |
| 4109 | + * This request is semantically equivalent to and the replaces the x and y | |
| 4110 | + * arguments in the wl_surface.attach request in wl_surface versions prior | |
| 4111 | + * to 5. See wl_surface.attach for details. | |
| 4112 | + */ | |
| 4113 | +static inline void | |
| 4114 | +wl_surface_offset(struct wl_surface *wl_surface, int32_t x, int32_t y) | |
| 4115 | +{ | |
| 4116 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_surface, | |
| 4117 | + WL_SURFACE_OFFSET, NULL, wl_proxy_get_version((struct wl_proxy *) wl_surface), 0, x, y); | |
| 4118 | +} | |
| 4119 | + | |
| 4120 | +#ifndef WL_SEAT_CAPABILITY_ENUM | |
| 4121 | +#define WL_SEAT_CAPABILITY_ENUM | |
| 4122 | +/** | |
| 4123 | + * @ingroup iface_wl_seat | |
| 4124 | + * seat capability bitmask | |
| 4125 | + * | |
| 4126 | + * This is a bitmask of capabilities this seat has; if a member is | |
| 4127 | + * set, then it is present on the seat. | |
| 4128 | + */ | |
| 4129 | +enum wl_seat_capability { | |
| 4130 | + /** | |
| 4131 | + * the seat has pointer devices | |
| 4132 | + */ | |
| 4133 | + WL_SEAT_CAPABILITY_POINTER = 1, | |
| 4134 | + /** | |
| 4135 | + * the seat has one or more keyboards | |
| 4136 | + */ | |
| 4137 | + WL_SEAT_CAPABILITY_KEYBOARD = 2, | |
| 4138 | + /** | |
| 4139 | + * the seat has touch devices | |
| 4140 | + */ | |
| 4141 | + WL_SEAT_CAPABILITY_TOUCH = 4, | |
| 4142 | +}; | |
| 4143 | +#endif /* WL_SEAT_CAPABILITY_ENUM */ | |
| 4144 | + | |
| 4145 | +#ifndef WL_SEAT_ERROR_ENUM | |
| 4146 | +#define WL_SEAT_ERROR_ENUM | |
| 4147 | +/** | |
| 4148 | + * @ingroup iface_wl_seat | |
| 4149 | + * wl_seat error values | |
| 4150 | + * | |
| 4151 | + * These errors can be emitted in response to wl_seat requests. | |
| 4152 | + */ | |
| 4153 | +enum wl_seat_error { | |
| 4154 | + /** | |
| 4155 | + * get_pointer, get_keyboard or get_touch called on seat without the matching capability | |
| 4156 | + */ | |
| 4157 | + WL_SEAT_ERROR_MISSING_CAPABILITY = 0, | |
| 4158 | +}; | |
| 4159 | +#endif /* WL_SEAT_ERROR_ENUM */ | |
| 4160 | + | |
| 4161 | +/** | |
| 4162 | + * @ingroup iface_wl_seat | |
| 4163 | + * @struct wl_seat_listener | |
| 4164 | + */ | |
| 4165 | +struct wl_seat_listener { | |
| 4166 | + /** | |
| 4167 | + * seat capabilities changed | |
| 4168 | + * | |
| 4169 | + * This is emitted whenever a seat gains or loses the pointer, | |
| 4170 | + * keyboard or touch capabilities. The argument is a capability | |
| 4171 | + * enum containing the complete set of capabilities this seat has. | |
| 4172 | + * | |
| 4173 | + * When the pointer capability is added, a client may create a | |
| 4174 | + * wl_pointer object using the wl_seat.get_pointer request. This | |
| 4175 | + * object will receive pointer events until the capability is | |
| 4176 | + * removed in the future. | |
| 4177 | + * | |
| 4178 | + * When the pointer capability is removed, a client should destroy | |
| 4179 | + * the wl_pointer objects associated with the seat where the | |
| 4180 | + * capability was removed, using the wl_pointer.release request. No | |
| 4181 | + * further pointer events will be received on these objects. | |
| 4182 | + * | |
| 4183 | + * In some compositors, if a seat regains the pointer capability | |
| 4184 | + * and a client has a previously obtained wl_pointer object of | |
| 4185 | + * version 4 or less, that object may start sending pointer events | |
| 4186 | + * again. This behavior is considered a misinterpretation of the | |
| 4187 | + * intended behavior and must not be relied upon by the client. | |
| 4188 | + * wl_pointer objects of version 5 or later must not send events if | |
| 4189 | + * created before the most recent event notifying the client of an | |
| 4190 | + * added pointer capability. | |
| 4191 | + * | |
| 4192 | + * The above behavior also applies to wl_keyboard and wl_touch with | |
| 4193 | + * the keyboard and touch capabilities, respectively. | |
| 4194 | + * @param capabilities capabilities of the seat | |
| 4195 | + */ | |
| 4196 | + void (*capabilities)(void *data, | |
| 4197 | + struct wl_seat *wl_seat, | |
| 4198 | + uint32_t capabilities); | |
| 4199 | + /** | |
| 4200 | + * unique identifier for this seat | |
| 4201 | + * | |
| 4202 | + * In a multi-seat configuration the seat name can be used by | |
| 4203 | + * clients to help identify which physical devices the seat | |
| 4204 | + * represents. | |
| 4205 | + * | |
| 4206 | + * The seat name is a UTF-8 string with no convention defined for | |
| 4207 | + * its contents. Each name is unique among all wl_seat globals. The | |
| 4208 | + * name is only guaranteed to be unique for the current compositor | |
| 4209 | + * instance. | |
| 4210 | + * | |
| 4211 | + * The same seat names are used for all clients. Thus, the name can | |
| 4212 | + * be shared across processes to refer to a specific wl_seat | |
| 4213 | + * global. | |
| 4214 | + * | |
| 4215 | + * The name event is sent after binding to the seat global. This | |
| 4216 | + * event is only sent once per seat object, and the name does not | |
| 4217 | + * change over the lifetime of the wl_seat global. | |
| 4218 | + * | |
| 4219 | + * Compositors may re-use the same seat name if the wl_seat global | |
| 4220 | + * is destroyed and re-created later. | |
| 4221 | + * @param name seat identifier | |
| 4222 | + * @since 2 | |
| 4223 | + */ | |
| 4224 | + void (*name)(void *data, | |
| 4225 | + struct wl_seat *wl_seat, | |
| 4226 | + const char *name); | |
| 4227 | +}; | |
| 4228 | + | |
| 4229 | +/** | |
| 4230 | + * @ingroup iface_wl_seat | |
| 4231 | + */ | |
| 4232 | +static inline int | |
| 4233 | +wl_seat_add_listener(struct wl_seat *wl_seat, | |
| 4234 | + const struct wl_seat_listener *listener, void *data) | |
| 4235 | +{ | |
| 4236 | + return wl_proxy_add_listener((struct wl_proxy *) wl_seat, | |
| 4237 | + (void (**)(void)) listener, data); | |
| 4238 | +} | |
| 4239 | + | |
| 4240 | +#define WL_SEAT_GET_POINTER 0 | |
| 4241 | +#define WL_SEAT_GET_KEYBOARD 1 | |
| 4242 | +#define WL_SEAT_GET_TOUCH 2 | |
| 4243 | +#define WL_SEAT_RELEASE 3 | |
| 4244 | + | |
| 4245 | +/** | |
| 4246 | + * @ingroup iface_wl_seat | |
| 4247 | + */ | |
| 4248 | +#define WL_SEAT_CAPABILITIES_SINCE_VERSION 1 | |
| 4249 | +/** | |
| 4250 | + * @ingroup iface_wl_seat | |
| 4251 | + */ | |
| 4252 | +#define WL_SEAT_NAME_SINCE_VERSION 2 | |
| 4253 | + | |
| 4254 | +/** | |
| 4255 | + * @ingroup iface_wl_seat | |
| 4256 | + */ | |
| 4257 | +#define WL_SEAT_GET_POINTER_SINCE_VERSION 1 | |
| 4258 | +/** | |
| 4259 | + * @ingroup iface_wl_seat | |
| 4260 | + */ | |
| 4261 | +#define WL_SEAT_GET_KEYBOARD_SINCE_VERSION 1 | |
| 4262 | +/** | |
| 4263 | + * @ingroup iface_wl_seat | |
| 4264 | + */ | |
| 4265 | +#define WL_SEAT_GET_TOUCH_SINCE_VERSION 1 | |
| 4266 | +/** | |
| 4267 | + * @ingroup iface_wl_seat | |
| 4268 | + */ | |
| 4269 | +#define WL_SEAT_RELEASE_SINCE_VERSION 5 | |
| 4270 | + | |
| 4271 | +/** @ingroup iface_wl_seat */ | |
| 4272 | +static inline void | |
| 4273 | +wl_seat_set_user_data(struct wl_seat *wl_seat, void *user_data) | |
| 4274 | +{ | |
| 4275 | + wl_proxy_set_user_data((struct wl_proxy *) wl_seat, user_data); | |
| 4276 | +} | |
| 4277 | + | |
| 4278 | +/** @ingroup iface_wl_seat */ | |
| 4279 | +static inline void * | |
| 4280 | +wl_seat_get_user_data(struct wl_seat *wl_seat) | |
| 4281 | +{ | |
| 4282 | + return wl_proxy_get_user_data((struct wl_proxy *) wl_seat); | |
| 4283 | +} | |
| 4284 | + | |
| 4285 | +static inline uint32_t | |
| 4286 | +wl_seat_get_version(struct wl_seat *wl_seat) | |
| 4287 | +{ | |
| 4288 | + return wl_proxy_get_version((struct wl_proxy *) wl_seat); | |
| 4289 | +} | |
| 4290 | + | |
| 4291 | +/** @ingroup iface_wl_seat */ | |
| 4292 | +static inline void | |
| 4293 | +wl_seat_destroy(struct wl_seat *wl_seat) | |
| 4294 | +{ | |
| 4295 | + wl_proxy_destroy((struct wl_proxy *) wl_seat); | |
| 4296 | +} | |
| 4297 | + | |
| 4298 | +/** | |
| 4299 | + * @ingroup iface_wl_seat | |
| 4300 | + * | |
| 4301 | + * The ID provided will be initialized to the wl_pointer interface | |
| 4302 | + * for this seat. | |
| 4303 | + * | |
| 4304 | + * This request only takes effect if the seat has the pointer | |
| 4305 | + * capability, or has had the pointer capability in the past. | |
| 4306 | + * It is a protocol violation to issue this request on a seat that has | |
| 4307 | + * never had the pointer capability. The missing_capability error will | |
| 4308 | + * be sent in this case. | |
| 4309 | + */ | |
| 4310 | +static inline struct wl_pointer * | |
| 4311 | +wl_seat_get_pointer(struct wl_seat *wl_seat) | |
| 4312 | +{ | |
| 4313 | + struct wl_proxy *id; | |
| 4314 | + | |
| 4315 | + id = wl_proxy_marshal_flags((struct wl_proxy *) wl_seat, | |
| 4316 | + WL_SEAT_GET_POINTER, &wl_pointer_interface, wl_proxy_get_version((struct wl_proxy *) wl_seat), 0, NULL); | |
| 4317 | + | |
| 4318 | + return (struct wl_pointer *) id; | |
| 4319 | +} | |
| 4320 | + | |
| 4321 | +/** | |
| 4322 | + * @ingroup iface_wl_seat | |
| 4323 | + * | |
| 4324 | + * The ID provided will be initialized to the wl_keyboard interface | |
| 4325 | + * for this seat. | |
| 4326 | + * | |
| 4327 | + * This request only takes effect if the seat has the keyboard | |
| 4328 | + * capability, or has had the keyboard capability in the past. | |
| 4329 | + * It is a protocol violation to issue this request on a seat that has | |
| 4330 | + * never had the keyboard capability. The missing_capability error will | |
| 4331 | + * be sent in this case. | |
| 4332 | + */ | |
| 4333 | +static inline struct wl_keyboard * | |
| 4334 | +wl_seat_get_keyboard(struct wl_seat *wl_seat) | |
| 4335 | +{ | |
| 4336 | + struct wl_proxy *id; | |
| 4337 | + | |
| 4338 | + id = wl_proxy_marshal_flags((struct wl_proxy *) wl_seat, | |
| 4339 | + WL_SEAT_GET_KEYBOARD, &wl_keyboard_interface, wl_proxy_get_version((struct wl_proxy *) wl_seat), 0, NULL); | |
| 4340 | + | |
| 4341 | + return (struct wl_keyboard *) id; | |
| 4342 | +} | |
| 4343 | + | |
| 4344 | +/** | |
| 4345 | + * @ingroup iface_wl_seat | |
| 4346 | + * | |
| 4347 | + * The ID provided will be initialized to the wl_touch interface | |
| 4348 | + * for this seat. | |
| 4349 | + * | |
| 4350 | + * This request only takes effect if the seat has the touch | |
| 4351 | + * capability, or has had the touch capability in the past. | |
| 4352 | + * It is a protocol violation to issue this request on a seat that has | |
| 4353 | + * never had the touch capability. The missing_capability error will | |
| 4354 | + * be sent in this case. | |
| 4355 | + */ | |
| 4356 | +static inline struct wl_touch * | |
| 4357 | +wl_seat_get_touch(struct wl_seat *wl_seat) | |
| 4358 | +{ | |
| 4359 | + struct wl_proxy *id; | |
| 4360 | + | |
| 4361 | + id = wl_proxy_marshal_flags((struct wl_proxy *) wl_seat, | |
| 4362 | + WL_SEAT_GET_TOUCH, &wl_touch_interface, wl_proxy_get_version((struct wl_proxy *) wl_seat), 0, NULL); | |
| 4363 | + | |
| 4364 | + return (struct wl_touch *) id; | |
| 4365 | +} | |
| 4366 | + | |
| 4367 | +/** | |
| 4368 | + * @ingroup iface_wl_seat | |
| 4369 | + * | |
| 4370 | + * Using this request a client can tell the server that it is not going to | |
| 4371 | + * use the seat object anymore. | |
| 4372 | + */ | |
| 4373 | +static inline void | |
| 4374 | +wl_seat_release(struct wl_seat *wl_seat) | |
| 4375 | +{ | |
| 4376 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_seat, | |
| 4377 | + WL_SEAT_RELEASE, NULL, wl_proxy_get_version((struct wl_proxy *) wl_seat), WL_MARSHAL_FLAG_DESTROY); | |
| 4378 | +} | |
| 4379 | + | |
| 4380 | +#ifndef WL_POINTER_ERROR_ENUM | |
| 4381 | +#define WL_POINTER_ERROR_ENUM | |
| 4382 | +enum wl_pointer_error { | |
| 4383 | + /** | |
| 4384 | + * given wl_surface has another role | |
| 4385 | + */ | |
| 4386 | + WL_POINTER_ERROR_ROLE = 0, | |
| 4387 | +}; | |
| 4388 | +#endif /* WL_POINTER_ERROR_ENUM */ | |
| 4389 | + | |
| 4390 | +#ifndef WL_POINTER_BUTTON_STATE_ENUM | |
| 4391 | +#define WL_POINTER_BUTTON_STATE_ENUM | |
| 4392 | +/** | |
| 4393 | + * @ingroup iface_wl_pointer | |
| 4394 | + * physical button state | |
| 4395 | + * | |
| 4396 | + * Describes the physical state of a button that produced the button | |
| 4397 | + * event. | |
| 4398 | + */ | |
| 4399 | +enum wl_pointer_button_state { | |
| 4400 | + /** | |
| 4401 | + * the button is not pressed | |
| 4402 | + */ | |
| 4403 | + WL_POINTER_BUTTON_STATE_RELEASED = 0, | |
| 4404 | + /** | |
| 4405 | + * the button is pressed | |
| 4406 | + */ | |
| 4407 | + WL_POINTER_BUTTON_STATE_PRESSED = 1, | |
| 4408 | +}; | |
| 4409 | +#endif /* WL_POINTER_BUTTON_STATE_ENUM */ | |
| 4410 | + | |
| 4411 | +#ifndef WL_POINTER_AXIS_ENUM | |
| 4412 | +#define WL_POINTER_AXIS_ENUM | |
| 4413 | +/** | |
| 4414 | + * @ingroup iface_wl_pointer | |
| 4415 | + * axis types | |
| 4416 | + * | |
| 4417 | + * Describes the axis types of scroll events. | |
| 4418 | + */ | |
| 4419 | +enum wl_pointer_axis { | |
| 4420 | + /** | |
| 4421 | + * vertical axis | |
| 4422 | + */ | |
| 4423 | + WL_POINTER_AXIS_VERTICAL_SCROLL = 0, | |
| 4424 | + /** | |
| 4425 | + * horizontal axis | |
| 4426 | + */ | |
| 4427 | + WL_POINTER_AXIS_HORIZONTAL_SCROLL = 1, | |
| 4428 | +}; | |
| 4429 | +#endif /* WL_POINTER_AXIS_ENUM */ | |
| 4430 | + | |
| 4431 | +#ifndef WL_POINTER_AXIS_SOURCE_ENUM | |
| 4432 | +#define WL_POINTER_AXIS_SOURCE_ENUM | |
| 4433 | +/** | |
| 4434 | + * @ingroup iface_wl_pointer | |
| 4435 | + * axis source types | |
| 4436 | + * | |
| 4437 | + * Describes the source types for axis events. This indicates to the | |
| 4438 | + * client how an axis event was physically generated; a client may | |
| 4439 | + * adjust the user interface accordingly. For example, scroll events | |
| 4440 | + * from a "finger" source may be in a smooth coordinate space with | |
| 4441 | + * kinetic scrolling whereas a "wheel" source may be in discrete steps | |
| 4442 | + * of a number of lines. | |
| 4443 | + * | |
| 4444 | + * The "continuous" axis source is a device generating events in a | |
| 4445 | + * continuous coordinate space, but using something other than a | |
| 4446 | + * finger. One example for this source is button-based scrolling where | |
| 4447 | + * the vertical motion of a device is converted to scroll events while | |
| 4448 | + * a button is held down. | |
| 4449 | + * | |
| 4450 | + * The "wheel tilt" axis source indicates that the actual device is a | |
| 4451 | + * wheel but the scroll event is not caused by a rotation but a | |
| 4452 | + * (usually sideways) tilt of the wheel. | |
| 4453 | + */ | |
| 4454 | +enum wl_pointer_axis_source { | |
| 4455 | + /** | |
| 4456 | + * a physical wheel rotation | |
| 4457 | + */ | |
| 4458 | + WL_POINTER_AXIS_SOURCE_WHEEL = 0, | |
| 4459 | + /** | |
| 4460 | + * finger on a touch surface | |
| 4461 | + */ | |
| 4462 | + WL_POINTER_AXIS_SOURCE_FINGER = 1, | |
| 4463 | + /** | |
| 4464 | + * continuous coordinate space | |
| 4465 | + */ | |
| 4466 | + WL_POINTER_AXIS_SOURCE_CONTINUOUS = 2, | |
| 4467 | + /** | |
| 4468 | + * a physical wheel tilt | |
| 4469 | + * @since 6 | |
| 4470 | + */ | |
| 4471 | + WL_POINTER_AXIS_SOURCE_WHEEL_TILT = 3, | |
| 4472 | +}; | |
| 4473 | +/** | |
| 4474 | + * @ingroup iface_wl_pointer | |
| 4475 | + */ | |
| 4476 | +#define WL_POINTER_AXIS_SOURCE_WHEEL_TILT_SINCE_VERSION 6 | |
| 4477 | +#endif /* WL_POINTER_AXIS_SOURCE_ENUM */ | |
| 4478 | + | |
| 4479 | +#ifndef WL_POINTER_AXIS_RELATIVE_DIRECTION_ENUM | |
| 4480 | +#define WL_POINTER_AXIS_RELATIVE_DIRECTION_ENUM | |
| 4481 | +/** | |
| 4482 | + * @ingroup iface_wl_pointer | |
| 4483 | + * axis relative direction | |
| 4484 | + * | |
| 4485 | + * This specifies the direction of the physical motion that caused a | |
| 4486 | + * wl_pointer.axis event, relative to the wl_pointer.axis direction. | |
| 4487 | + */ | |
| 4488 | +enum wl_pointer_axis_relative_direction { | |
| 4489 | + /** | |
| 4490 | + * physical motion matches axis direction | |
| 4491 | + */ | |
| 4492 | + WL_POINTER_AXIS_RELATIVE_DIRECTION_IDENTICAL = 0, | |
| 4493 | + /** | |
| 4494 | + * physical motion is the inverse of the axis direction | |
| 4495 | + */ | |
| 4496 | + WL_POINTER_AXIS_RELATIVE_DIRECTION_INVERTED = 1, | |
| 4497 | +}; | |
| 4498 | +#endif /* WL_POINTER_AXIS_RELATIVE_DIRECTION_ENUM */ | |
| 4499 | + | |
| 4500 | +/** | |
| 4501 | + * @ingroup iface_wl_pointer | |
| 4502 | + * @struct wl_pointer_listener | |
| 4503 | + */ | |
| 4504 | +struct wl_pointer_listener { | |
| 4505 | + /** | |
| 4506 | + * enter event | |
| 4507 | + * | |
| 4508 | + * Notification that this seat's pointer is focused on a certain | |
| 4509 | + * surface. | |
| 4510 | + * | |
| 4511 | + * When a seat's focus enters a surface, the pointer image is | |
| 4512 | + * undefined and a client should respond to this event by setting | |
| 4513 | + * an appropriate pointer image with the set_cursor request. | |
| 4514 | + * @param serial serial number of the enter event | |
| 4515 | + * @param surface surface entered by the pointer | |
| 4516 | + * @param surface_x surface-local x coordinate | |
| 4517 | + * @param surface_y surface-local y coordinate | |
| 4518 | + */ | |
| 4519 | + void (*enter)(void *data, | |
| 4520 | + struct wl_pointer *wl_pointer, | |
| 4521 | + uint32_t serial, | |
| 4522 | + struct wl_surface *surface, | |
| 4523 | + wl_fixed_t surface_x, | |
| 4524 | + wl_fixed_t surface_y); | |
| 4525 | + /** | |
| 4526 | + * leave event | |
| 4527 | + * | |
| 4528 | + * Notification that this seat's pointer is no longer focused on | |
| 4529 | + * a certain surface. | |
| 4530 | + * | |
| 4531 | + * The leave notification is sent before the enter notification for | |
| 4532 | + * the new focus. | |
| 4533 | + * @param serial serial number of the leave event | |
| 4534 | + * @param surface surface left by the pointer | |
| 4535 | + */ | |
| 4536 | + void (*leave)(void *data, | |
| 4537 | + struct wl_pointer *wl_pointer, | |
| 4538 | + uint32_t serial, | |
| 4539 | + struct wl_surface *surface); | |
| 4540 | + /** | |
| 4541 | + * pointer motion event | |
| 4542 | + * | |
| 4543 | + * Notification of pointer location change. The arguments | |
| 4544 | + * surface_x and surface_y are the location relative to the focused | |
| 4545 | + * surface. | |
| 4546 | + * @param time timestamp with millisecond granularity | |
| 4547 | + * @param surface_x surface-local x coordinate | |
| 4548 | + * @param surface_y surface-local y coordinate | |
| 4549 | + */ | |
| 4550 | + void (*motion)(void *data, | |
| 4551 | + struct wl_pointer *wl_pointer, | |
| 4552 | + uint32_t time, | |
| 4553 | + wl_fixed_t surface_x, | |
| 4554 | + wl_fixed_t surface_y); | |
| 4555 | + /** | |
| 4556 | + * pointer button event | |
| 4557 | + * | |
| 4558 | + * Mouse button click and release notifications. | |
| 4559 | + * | |
| 4560 | + * The location of the click is given by the last motion or enter | |
| 4561 | + * event. The time argument is a timestamp with millisecond | |
| 4562 | + * granularity, with an undefined base. | |
| 4563 | + * | |
| 4564 | + * The button is a button code as defined in the Linux kernel's | |
| 4565 | + * linux/input-event-codes.h header file, e.g. BTN_LEFT. | |
| 4566 | + * | |
| 4567 | + * Any 16-bit button code value is reserved for future additions to | |
| 4568 | + * the kernel's event code list. All other button codes above | |
| 4569 | + * 0xFFFF are currently undefined but may be used in future | |
| 4570 | + * versions of this protocol. | |
| 4571 | + * @param serial serial number of the button event | |
| 4572 | + * @param time timestamp with millisecond granularity | |
| 4573 | + * @param button button that produced the event | |
| 4574 | + * @param state physical state of the button | |
| 4575 | + */ | |
| 4576 | + void (*button)(void *data, | |
| 4577 | + struct wl_pointer *wl_pointer, | |
| 4578 | + uint32_t serial, | |
| 4579 | + uint32_t time, | |
| 4580 | + uint32_t button, | |
| 4581 | + uint32_t state); | |
| 4582 | + /** | |
| 4583 | + * axis event | |
| 4584 | + * | |
| 4585 | + * Scroll and other axis notifications. | |
| 4586 | + * | |
| 4587 | + * For scroll events (vertical and horizontal scroll axes), the | |
| 4588 | + * value parameter is the length of a vector along the specified | |
| 4589 | + * axis in a coordinate space identical to those of motion events, | |
| 4590 | + * representing a relative movement along the specified axis. | |
| 4591 | + * | |
| 4592 | + * For devices that support movements non-parallel to axes multiple | |
| 4593 | + * axis events will be emitted. | |
| 4594 | + * | |
| 4595 | + * When applicable, for example for touch pads, the server can | |
| 4596 | + * choose to emit scroll events where the motion vector is | |
| 4597 | + * equivalent to a motion event vector. | |
| 4598 | + * | |
| 4599 | + * When applicable, a client can transform its content relative to | |
| 4600 | + * the scroll distance. | |
| 4601 | + * @param time timestamp with millisecond granularity | |
| 4602 | + * @param axis axis type | |
| 4603 | + * @param value length of vector in surface-local coordinate space | |
| 4604 | + */ | |
| 4605 | + void (*axis)(void *data, | |
| 4606 | + struct wl_pointer *wl_pointer, | |
| 4607 | + uint32_t time, | |
| 4608 | + uint32_t axis, | |
| 4609 | + wl_fixed_t value); | |
| 4610 | + /** | |
| 4611 | + * end of a pointer event sequence | |
| 4612 | + * | |
| 4613 | + * Indicates the end of a set of events that logically belong | |
| 4614 | + * together. A client is expected to accumulate the data in all | |
| 4615 | + * events within the frame before proceeding. | |
| 4616 | + * | |
| 4617 | + * All wl_pointer events before a wl_pointer.frame event belong | |
| 4618 | + * logically together. For example, in a diagonal scroll motion the | |
| 4619 | + * compositor will send an optional wl_pointer.axis_source event, | |
| 4620 | + * two wl_pointer.axis events (horizontal and vertical) and finally | |
| 4621 | + * a wl_pointer.frame event. The client may use this information to | |
| 4622 | + * calculate a diagonal vector for scrolling. | |
| 4623 | + * | |
| 4624 | + * When multiple wl_pointer.axis events occur within the same | |
| 4625 | + * frame, the motion vector is the combined motion of all events. | |
| 4626 | + * When a wl_pointer.axis and a wl_pointer.axis_stop event occur | |
| 4627 | + * within the same frame, this indicates that axis movement in one | |
| 4628 | + * axis has stopped but continues in the other axis. When multiple | |
| 4629 | + * wl_pointer.axis_stop events occur within the same frame, this | |
| 4630 | + * indicates that these axes stopped in the same instance. | |
| 4631 | + * | |
| 4632 | + * A wl_pointer.frame event is sent for every logical event group, | |
| 4633 | + * even if the group only contains a single wl_pointer event. | |
| 4634 | + * Specifically, a client may get a sequence: motion, frame, | |
| 4635 | + * button, frame, axis, frame, axis_stop, frame. | |
| 4636 | + * | |
| 4637 | + * The wl_pointer.enter and wl_pointer.leave events are logical | |
| 4638 | + * events generated by the compositor and not the hardware. These | |
| 4639 | + * events are also grouped by a wl_pointer.frame. When a pointer | |
| 4640 | + * moves from one surface to another, a compositor should group the | |
| 4641 | + * wl_pointer.leave event within the same wl_pointer.frame. | |
| 4642 | + * However, a client must not rely on wl_pointer.leave and | |
| 4643 | + * wl_pointer.enter being in the same wl_pointer.frame. | |
| 4644 | + * Compositor-specific policies may require the wl_pointer.leave | |
| 4645 | + * and wl_pointer.enter event being split across multiple | |
| 4646 | + * wl_pointer.frame groups. | |
| 4647 | + * @since 5 | |
| 4648 | + */ | |
| 4649 | + void (*frame)(void *data, | |
| 4650 | + struct wl_pointer *wl_pointer); | |
| 4651 | + /** | |
| 4652 | + * axis source event | |
| 4653 | + * | |
| 4654 | + * Source information for scroll and other axes. | |
| 4655 | + * | |
| 4656 | + * This event does not occur on its own. It is sent before a | |
| 4657 | + * wl_pointer.frame event and carries the source information for | |
| 4658 | + * all events within that frame. | |
| 4659 | + * | |
| 4660 | + * The source specifies how this event was generated. If the source | |
| 4661 | + * is wl_pointer.axis_source.finger, a wl_pointer.axis_stop event | |
| 4662 | + * will be sent when the user lifts the finger off the device. | |
| 4663 | + * | |
| 4664 | + * If the source is wl_pointer.axis_source.wheel, | |
| 4665 | + * wl_pointer.axis_source.wheel_tilt or | |
| 4666 | + * wl_pointer.axis_source.continuous, a wl_pointer.axis_stop event | |
| 4667 | + * may or may not be sent. Whether a compositor sends an axis_stop | |
| 4668 | + * event for these sources is hardware-specific and | |
| 4669 | + * implementation-dependent; clients must not rely on receiving an | |
| 4670 | + * axis_stop event for these scroll sources and should treat scroll | |
| 4671 | + * sequences from these scroll sources as unterminated by default. | |
| 4672 | + * | |
| 4673 | + * This event is optional. If the source is unknown for a | |
| 4674 | + * particular axis event sequence, no event is sent. Only one | |
| 4675 | + * wl_pointer.axis_source event is permitted per frame. | |
| 4676 | + * | |
| 4677 | + * The order of wl_pointer.axis_discrete and wl_pointer.axis_source | |
| 4678 | + * is not guaranteed. | |
| 4679 | + * @param axis_source source of the axis event | |
| 4680 | + * @since 5 | |
| 4681 | + */ | |
| 4682 | + void (*axis_source)(void *data, | |
| 4683 | + struct wl_pointer *wl_pointer, | |
| 4684 | + uint32_t axis_source); | |
| 4685 | + /** | |
| 4686 | + * axis stop event | |
| 4687 | + * | |
| 4688 | + * Stop notification for scroll and other axes. | |
| 4689 | + * | |
| 4690 | + * For some wl_pointer.axis_source types, a wl_pointer.axis_stop | |
| 4691 | + * event is sent to notify a client that the axis sequence has | |
| 4692 | + * terminated. This enables the client to implement kinetic | |
| 4693 | + * scrolling. See the wl_pointer.axis_source documentation for | |
| 4694 | + * information on when this event may be generated. | |
| 4695 | + * | |
| 4696 | + * Any wl_pointer.axis events with the same axis_source after this | |
| 4697 | + * event should be considered as the start of a new axis motion. | |
| 4698 | + * | |
| 4699 | + * The timestamp is to be interpreted identical to the timestamp in | |
| 4700 | + * the wl_pointer.axis event. The timestamp value may be the same | |
| 4701 | + * as a preceding wl_pointer.axis event. | |
| 4702 | + * @param time timestamp with millisecond granularity | |
| 4703 | + * @param axis the axis stopped with this event | |
| 4704 | + * @since 5 | |
| 4705 | + */ | |
| 4706 | + void (*axis_stop)(void *data, | |
| 4707 | + struct wl_pointer *wl_pointer, | |
| 4708 | + uint32_t time, | |
| 4709 | + uint32_t axis); | |
| 4710 | + /** | |
| 4711 | + * axis click event | |
| 4712 | + * | |
| 4713 | + * Discrete step information for scroll and other axes. | |
| 4714 | + * | |
| 4715 | + * This event carries the axis value of the wl_pointer.axis event | |
| 4716 | + * in discrete steps (e.g. mouse wheel clicks). | |
| 4717 | + * | |
| 4718 | + * This event is deprecated with wl_pointer version 8 - this event | |
| 4719 | + * is not sent to clients supporting version 8 or later. | |
| 4720 | + * | |
| 4721 | + * This event does not occur on its own, it is coupled with a | |
| 4722 | + * wl_pointer.axis event that represents this axis value on a | |
| 4723 | + * continuous scale. The protocol guarantees that each | |
| 4724 | + * axis_discrete event is always followed by exactly one axis event | |
| 4725 | + * with the same axis number within the same wl_pointer.frame. Note | |
| 4726 | + * that the protocol allows for other events to occur between the | |
| 4727 | + * axis_discrete and its coupled axis event, including other | |
| 4728 | + * axis_discrete or axis events. A wl_pointer.frame must not | |
| 4729 | + * contain more than one axis_discrete event per axis type. | |
| 4730 | + * | |
| 4731 | + * This event is optional; continuous scrolling devices like | |
| 4732 | + * two-finger scrolling on touchpads do not have discrete steps and | |
| 4733 | + * do not generate this event. | |
| 4734 | + * | |
| 4735 | + * The discrete value carries the directional information. e.g. a | |
| 4736 | + * value of -2 is two steps towards the negative direction of this | |
| 4737 | + * axis. | |
| 4738 | + * | |
| 4739 | + * The axis number is identical to the axis number in the | |
| 4740 | + * associated axis event. | |
| 4741 | + * | |
| 4742 | + * The order of wl_pointer.axis_discrete and wl_pointer.axis_source | |
| 4743 | + * is not guaranteed. | |
| 4744 | + * @param axis axis type | |
| 4745 | + * @param discrete number of steps | |
| 4746 | + * @since 5 | |
| 4747 | + */ | |
| 4748 | + void (*axis_discrete)(void *data, | |
| 4749 | + struct wl_pointer *wl_pointer, | |
| 4750 | + uint32_t axis, | |
| 4751 | + int32_t discrete); | |
| 4752 | + /** | |
| 4753 | + * axis high-resolution scroll event | |
| 4754 | + * | |
| 4755 | + * Discrete high-resolution scroll information. | |
| 4756 | + * | |
| 4757 | + * This event carries high-resolution wheel scroll information, | |
| 4758 | + * with each multiple of 120 representing one logical scroll step | |
| 4759 | + * (a wheel detent). For example, an axis_value120 of 30 is one | |
| 4760 | + * quarter of a logical scroll step in the positive direction, a | |
| 4761 | + * value120 of -240 are two logical scroll steps in the negative | |
| 4762 | + * direction within the same hardware event. Clients that rely on | |
| 4763 | + * discrete scrolling should accumulate the value120 to multiples | |
| 4764 | + * of 120 before processing the event. | |
| 4765 | + * | |
| 4766 | + * The value120 must not be zero. | |
| 4767 | + * | |
| 4768 | + * This event replaces the wl_pointer.axis_discrete event in | |
| 4769 | + * clients supporting wl_pointer version 8 or later. | |
| 4770 | + * | |
| 4771 | + * Where a wl_pointer.axis_source event occurs in the same | |
| 4772 | + * wl_pointer.frame, the axis source applies to this event. | |
| 4773 | + * | |
| 4774 | + * The order of wl_pointer.axis_value120 and wl_pointer.axis_source | |
| 4775 | + * is not guaranteed. | |
| 4776 | + * @param axis axis type | |
| 4777 | + * @param value120 scroll distance as fraction of 120 | |
| 4778 | + * @since 8 | |
| 4779 | + */ | |
| 4780 | + void (*axis_value120)(void *data, | |
| 4781 | + struct wl_pointer *wl_pointer, | |
| 4782 | + uint32_t axis, | |
| 4783 | + int32_t value120); | |
| 4784 | + /** | |
| 4785 | + * axis relative physical direction event | |
| 4786 | + * | |
| 4787 | + * Relative directional information of the entity causing the | |
| 4788 | + * axis motion. | |
| 4789 | + * | |
| 4790 | + * For a wl_pointer.axis event, the | |
| 4791 | + * wl_pointer.axis_relative_direction event specifies the movement | |
| 4792 | + * direction of the entity causing the wl_pointer.axis event. For | |
| 4793 | + * example: - if a user's fingers on a touchpad move down and this | |
| 4794 | + * causes a wl_pointer.axis vertical_scroll down event, the | |
| 4795 | + * physical direction is 'identical' - if a user's fingers on a | |
| 4796 | + * touchpad move down and this causes a wl_pointer.axis | |
| 4797 | + * vertical_scroll up scroll up event ('natural scrolling'), the | |
| 4798 | + * physical direction is 'inverted'. | |
| 4799 | + * | |
| 4800 | + * A client may use this information to adjust scroll motion of | |
| 4801 | + * components. Specifically, enabling natural scrolling causes the | |
| 4802 | + * content to change direction compared to traditional scrolling. | |
| 4803 | + * Some widgets like volume control sliders should usually match | |
| 4804 | + * the physical direction regardless of whether natural scrolling | |
| 4805 | + * is active. This event enables clients to match the scroll | |
| 4806 | + * direction of a widget to the physical direction. | |
| 4807 | + * | |
| 4808 | + * This event does not occur on its own, it is coupled with a | |
| 4809 | + * wl_pointer.axis event that represents this axis value. The | |
| 4810 | + * protocol guarantees that each axis_relative_direction event is | |
| 4811 | + * always followed by exactly one axis event with the same axis | |
| 4812 | + * number within the same wl_pointer.frame. Note that the protocol | |
| 4813 | + * allows for other events to occur between the | |
| 4814 | + * axis_relative_direction and its coupled axis event. | |
| 4815 | + * | |
| 4816 | + * The axis number is identical to the axis number in the | |
| 4817 | + * associated axis event. | |
| 4818 | + * | |
| 4819 | + * The order of wl_pointer.axis_relative_direction, | |
| 4820 | + * wl_pointer.axis_discrete and wl_pointer.axis_source is not | |
| 4821 | + * guaranteed. | |
| 4822 | + * @param axis axis type | |
| 4823 | + * @param direction physical direction relative to axis motion | |
| 4824 | + * @since 9 | |
| 4825 | + */ | |
| 4826 | + void (*axis_relative_direction)(void *data, | |
| 4827 | + struct wl_pointer *wl_pointer, | |
| 4828 | + uint32_t axis, | |
| 4829 | + uint32_t direction); | |
| 4830 | +}; | |
| 4831 | + | |
| 4832 | +/** | |
| 4833 | + * @ingroup iface_wl_pointer | |
| 4834 | + */ | |
| 4835 | +static inline int | |
| 4836 | +wl_pointer_add_listener(struct wl_pointer *wl_pointer, | |
| 4837 | + const struct wl_pointer_listener *listener, void *data) | |
| 4838 | +{ | |
| 4839 | + return wl_proxy_add_listener((struct wl_proxy *) wl_pointer, | |
| 4840 | + (void (**)(void)) listener, data); | |
| 4841 | +} | |
| 4842 | + | |
| 4843 | +#define WL_POINTER_SET_CURSOR 0 | |
| 4844 | +#define WL_POINTER_RELEASE 1 | |
| 4845 | + | |
| 4846 | +/** | |
| 4847 | + * @ingroup iface_wl_pointer | |
| 4848 | + */ | |
| 4849 | +#define WL_POINTER_ENTER_SINCE_VERSION 1 | |
| 4850 | +/** | |
| 4851 | + * @ingroup iface_wl_pointer | |
| 4852 | + */ | |
| 4853 | +#define WL_POINTER_LEAVE_SINCE_VERSION 1 | |
| 4854 | +/** | |
| 4855 | + * @ingroup iface_wl_pointer | |
| 4856 | + */ | |
| 4857 | +#define WL_POINTER_MOTION_SINCE_VERSION 1 | |
| 4858 | +/** | |
| 4859 | + * @ingroup iface_wl_pointer | |
| 4860 | + */ | |
| 4861 | +#define WL_POINTER_BUTTON_SINCE_VERSION 1 | |
| 4862 | +/** | |
| 4863 | + * @ingroup iface_wl_pointer | |
| 4864 | + */ | |
| 4865 | +#define WL_POINTER_AXIS_SINCE_VERSION 1 | |
| 4866 | +/** | |
| 4867 | + * @ingroup iface_wl_pointer | |
| 4868 | + */ | |
| 4869 | +#define WL_POINTER_FRAME_SINCE_VERSION 5 | |
| 4870 | +/** | |
| 4871 | + * @ingroup iface_wl_pointer | |
| 4872 | + */ | |
| 4873 | +#define WL_POINTER_AXIS_SOURCE_SINCE_VERSION 5 | |
| 4874 | +/** | |
| 4875 | + * @ingroup iface_wl_pointer | |
| 4876 | + */ | |
| 4877 | +#define WL_POINTER_AXIS_STOP_SINCE_VERSION 5 | |
| 4878 | +/** | |
| 4879 | + * @ingroup iface_wl_pointer | |
| 4880 | + */ | |
| 4881 | +#define WL_POINTER_AXIS_DISCRETE_SINCE_VERSION 5 | |
| 4882 | +/** | |
| 4883 | + * @ingroup iface_wl_pointer | |
| 4884 | + */ | |
| 4885 | +#define WL_POINTER_AXIS_VALUE120_SINCE_VERSION 8 | |
| 4886 | +/** | |
| 4887 | + * @ingroup iface_wl_pointer | |
| 4888 | + */ | |
| 4889 | +#define WL_POINTER_AXIS_RELATIVE_DIRECTION_SINCE_VERSION 9 | |
| 4890 | + | |
| 4891 | +/** | |
| 4892 | + * @ingroup iface_wl_pointer | |
| 4893 | + */ | |
| 4894 | +#define WL_POINTER_SET_CURSOR_SINCE_VERSION 1 | |
| 4895 | +/** | |
| 4896 | + * @ingroup iface_wl_pointer | |
| 4897 | + */ | |
| 4898 | +#define WL_POINTER_RELEASE_SINCE_VERSION 3 | |
| 4899 | + | |
| 4900 | +/** @ingroup iface_wl_pointer */ | |
| 4901 | +static inline void | |
| 4902 | +wl_pointer_set_user_data(struct wl_pointer *wl_pointer, void *user_data) | |
| 4903 | +{ | |
| 4904 | + wl_proxy_set_user_data((struct wl_proxy *) wl_pointer, user_data); | |
| 4905 | +} | |
| 4906 | + | |
| 4907 | +/** @ingroup iface_wl_pointer */ | |
| 4908 | +static inline void * | |
| 4909 | +wl_pointer_get_user_data(struct wl_pointer *wl_pointer) | |
| 4910 | +{ | |
| 4911 | + return wl_proxy_get_user_data((struct wl_proxy *) wl_pointer); | |
| 4912 | +} | |
| 4913 | + | |
| 4914 | +static inline uint32_t | |
| 4915 | +wl_pointer_get_version(struct wl_pointer *wl_pointer) | |
| 4916 | +{ | |
| 4917 | + return wl_proxy_get_version((struct wl_proxy *) wl_pointer); | |
| 4918 | +} | |
| 4919 | + | |
| 4920 | +/** @ingroup iface_wl_pointer */ | |
| 4921 | +static inline void | |
| 4922 | +wl_pointer_destroy(struct wl_pointer *wl_pointer) | |
| 4923 | +{ | |
| 4924 | + wl_proxy_destroy((struct wl_proxy *) wl_pointer); | |
| 4925 | +} | |
| 4926 | + | |
| 4927 | +/** | |
| 4928 | + * @ingroup iface_wl_pointer | |
| 4929 | + * | |
| 4930 | + * Set the pointer surface, i.e., the surface that contains the | |
| 4931 | + * pointer image (cursor). This request gives the surface the role | |
| 4932 | + * of a cursor. If the surface already has another role, it raises | |
| 4933 | + * a protocol error. | |
| 4934 | + * | |
| 4935 | + * The cursor actually changes only if the pointer | |
| 4936 | + * focus for this device is one of the requesting client's surfaces | |
| 4937 | + * or the surface parameter is the current pointer surface. If | |
| 4938 | + * there was a previous surface set with this request it is | |
| 4939 | + * replaced. If surface is NULL, the pointer image is hidden. | |
| 4940 | + * | |
| 4941 | + * The parameters hotspot_x and hotspot_y define the position of | |
| 4942 | + * the pointer surface relative to the pointer location. Its | |
| 4943 | + * top-left corner is always at (x, y) - (hotspot_x, hotspot_y), | |
| 4944 | + * where (x, y) are the coordinates of the pointer location, in | |
| 4945 | + * surface-local coordinates. | |
| 4946 | + * | |
| 4947 | + * On surface.attach requests to the pointer surface, hotspot_x | |
| 4948 | + * and hotspot_y are decremented by the x and y parameters | |
| 4949 | + * passed to the request. Attach must be confirmed by | |
| 4950 | + * wl_surface.commit as usual. | |
| 4951 | + * | |
| 4952 | + * The hotspot can also be updated by passing the currently set | |
| 4953 | + * pointer surface to this request with new values for hotspot_x | |
| 4954 | + * and hotspot_y. | |
| 4955 | + * | |
| 4956 | + * The input region is ignored for wl_surfaces with the role of | |
| 4957 | + * a cursor. When the use as a cursor ends, the wl_surface is | |
| 4958 | + * unmapped. | |
| 4959 | + * | |
| 4960 | + * The serial parameter must match the latest wl_pointer.enter | |
| 4961 | + * serial number sent to the client. Otherwise the request will be | |
| 4962 | + * ignored. | |
| 4963 | + */ | |
| 4964 | +static inline void | |
| 4965 | +wl_pointer_set_cursor(struct wl_pointer *wl_pointer, uint32_t serial, struct wl_surface *surface, int32_t hotspot_x, int32_t hotspot_y) | |
| 4966 | +{ | |
| 4967 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_pointer, | |
| 4968 | + WL_POINTER_SET_CURSOR, NULL, wl_proxy_get_version((struct wl_proxy *) wl_pointer), 0, serial, surface, hotspot_x, hotspot_y); | |
| 4969 | +} | |
| 4970 | + | |
| 4971 | +/** | |
| 4972 | + * @ingroup iface_wl_pointer | |
| 4973 | + * | |
| 4974 | + * Using this request a client can tell the server that it is not going to | |
| 4975 | + * use the pointer object anymore. | |
| 4976 | + * | |
| 4977 | + * This request destroys the pointer proxy object, so clients must not call | |
| 4978 | + * wl_pointer_destroy() after using this request. | |
| 4979 | + */ | |
| 4980 | +static inline void | |
| 4981 | +wl_pointer_release(struct wl_pointer *wl_pointer) | |
| 4982 | +{ | |
| 4983 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_pointer, | |
| 4984 | + WL_POINTER_RELEASE, NULL, wl_proxy_get_version((struct wl_proxy *) wl_pointer), WL_MARSHAL_FLAG_DESTROY); | |
| 4985 | +} | |
| 4986 | + | |
| 4987 | +#ifndef WL_KEYBOARD_KEYMAP_FORMAT_ENUM | |
| 4988 | +#define WL_KEYBOARD_KEYMAP_FORMAT_ENUM | |
| 4989 | +/** | |
| 4990 | + * @ingroup iface_wl_keyboard | |
| 4991 | + * keyboard mapping format | |
| 4992 | + * | |
| 4993 | + * This specifies the format of the keymap provided to the | |
| 4994 | + * client with the wl_keyboard.keymap event. | |
| 4995 | + */ | |
| 4996 | +enum wl_keyboard_keymap_format { | |
| 4997 | + /** | |
| 4998 | + * no keymap; client must understand how to interpret the raw keycode | |
| 4999 | + */ | |
| 5000 | + WL_KEYBOARD_KEYMAP_FORMAT_NO_KEYMAP = 0, | |
| 5001 | + /** | |
| 5002 | + * libxkbcommon compatible, null-terminated string; to determine the xkb keycode, clients must add 8 to the key event keycode | |
| 5003 | + */ | |
| 5004 | + WL_KEYBOARD_KEYMAP_FORMAT_XKB_V1 = 1, | |
| 5005 | +}; | |
| 5006 | +#endif /* WL_KEYBOARD_KEYMAP_FORMAT_ENUM */ | |
| 5007 | + | |
| 5008 | +#ifndef WL_KEYBOARD_KEY_STATE_ENUM | |
| 5009 | +#define WL_KEYBOARD_KEY_STATE_ENUM | |
| 5010 | +/** | |
| 5011 | + * @ingroup iface_wl_keyboard | |
| 5012 | + * physical key state | |
| 5013 | + * | |
| 5014 | + * Describes the physical state of a key that produced the key event. | |
| 5015 | + */ | |
| 5016 | +enum wl_keyboard_key_state { | |
| 5017 | + /** | |
| 5018 | + * key is not pressed | |
| 5019 | + */ | |
| 5020 | + WL_KEYBOARD_KEY_STATE_RELEASED = 0, | |
| 5021 | + /** | |
| 5022 | + * key is pressed | |
| 5023 | + */ | |
| 5024 | + WL_KEYBOARD_KEY_STATE_PRESSED = 1, | |
| 5025 | +}; | |
| 5026 | +#endif /* WL_KEYBOARD_KEY_STATE_ENUM */ | |
| 5027 | + | |
| 5028 | +/** | |
| 5029 | + * @ingroup iface_wl_keyboard | |
| 5030 | + * @struct wl_keyboard_listener | |
| 5031 | + */ | |
| 5032 | +struct wl_keyboard_listener { | |
| 5033 | + /** | |
| 5034 | + * keyboard mapping | |
| 5035 | + * | |
| 5036 | + * This event provides a file descriptor to the client which can | |
| 5037 | + * be memory-mapped in read-only mode to provide a keyboard mapping | |
| 5038 | + * description. | |
| 5039 | + * | |
| 5040 | + * From version 7 onwards, the fd must be mapped with MAP_PRIVATE | |
| 5041 | + * by the recipient, as MAP_SHARED may fail. | |
| 5042 | + * @param format keymap format | |
| 5043 | + * @param fd keymap file descriptor | |
| 5044 | + * @param size keymap size, in bytes | |
| 5045 | + */ | |
| 5046 | + void (*keymap)(void *data, | |
| 5047 | + struct wl_keyboard *wl_keyboard, | |
| 5048 | + uint32_t format, | |
| 5049 | + int32_t fd, | |
| 5050 | + uint32_t size); | |
| 5051 | + /** | |
| 5052 | + * enter event | |
| 5053 | + * | |
| 5054 | + * Notification that this seat's keyboard focus is on a certain | |
| 5055 | + * surface. | |
| 5056 | + * | |
| 5057 | + * The compositor must send the wl_keyboard.modifiers event after | |
| 5058 | + * this event. | |
| 5059 | + * @param serial serial number of the enter event | |
| 5060 | + * @param surface surface gaining keyboard focus | |
| 5061 | + * @param keys the currently pressed keys | |
| 5062 | + */ | |
| 5063 | + void (*enter)(void *data, | |
| 5064 | + struct wl_keyboard *wl_keyboard, | |
| 5065 | + uint32_t serial, | |
| 5066 | + struct wl_surface *surface, | |
| 5067 | + struct wl_array *keys); | |
| 5068 | + /** | |
| 5069 | + * leave event | |
| 5070 | + * | |
| 5071 | + * Notification that this seat's keyboard focus is no longer on a | |
| 5072 | + * certain surface. | |
| 5073 | + * | |
| 5074 | + * The leave notification is sent before the enter notification for | |
| 5075 | + * the new focus. | |
| 5076 | + * | |
| 5077 | + * After this event client must assume that all keys, including | |
| 5078 | + * modifiers, are lifted and also it must stop key repeating if | |
| 5079 | + * there's some going on. | |
| 5080 | + * @param serial serial number of the leave event | |
| 5081 | + * @param surface surface that lost keyboard focus | |
| 5082 | + */ | |
| 5083 | + void (*leave)(void *data, | |
| 5084 | + struct wl_keyboard *wl_keyboard, | |
| 5085 | + uint32_t serial, | |
| 5086 | + struct wl_surface *surface); | |
| 5087 | + /** | |
| 5088 | + * key event | |
| 5089 | + * | |
| 5090 | + * A key was pressed or released. The time argument is a | |
| 5091 | + * timestamp with millisecond granularity, with an undefined base. | |
| 5092 | + * | |
| 5093 | + * The key is a platform-specific key code that can be interpreted | |
| 5094 | + * by feeding it to the keyboard mapping (see the keymap event). | |
| 5095 | + * | |
| 5096 | + * If this event produces a change in modifiers, then the resulting | |
| 5097 | + * wl_keyboard.modifiers event must be sent after this event. | |
| 5098 | + * @param serial serial number of the key event | |
| 5099 | + * @param time timestamp with millisecond granularity | |
| 5100 | + * @param key key that produced the event | |
| 5101 | + * @param state physical state of the key | |
| 5102 | + */ | |
| 5103 | + void (*key)(void *data, | |
| 5104 | + struct wl_keyboard *wl_keyboard, | |
| 5105 | + uint32_t serial, | |
| 5106 | + uint32_t time, | |
| 5107 | + uint32_t key, | |
| 5108 | + uint32_t state); | |
| 5109 | + /** | |
| 5110 | + * modifier and group state | |
| 5111 | + * | |
| 5112 | + * Notifies clients that the modifier and/or group state has | |
| 5113 | + * changed, and it should update its local state. | |
| 5114 | + * @param serial serial number of the modifiers event | |
| 5115 | + * @param mods_depressed depressed modifiers | |
| 5116 | + * @param mods_latched latched modifiers | |
| 5117 | + * @param mods_locked locked modifiers | |
| 5118 | + * @param group keyboard layout | |
| 5119 | + */ | |
| 5120 | + void (*modifiers)(void *data, | |
| 5121 | + struct wl_keyboard *wl_keyboard, | |
| 5122 | + uint32_t serial, | |
| 5123 | + uint32_t mods_depressed, | |
| 5124 | + uint32_t mods_latched, | |
| 5125 | + uint32_t mods_locked, | |
| 5126 | + uint32_t group); | |
| 5127 | + /** | |
| 5128 | + * repeat rate and delay | |
| 5129 | + * | |
| 5130 | + * Informs the client about the keyboard's repeat rate and delay. | |
| 5131 | + * | |
| 5132 | + * This event is sent as soon as the wl_keyboard object has been | |
| 5133 | + * created, and is guaranteed to be received by the client before | |
| 5134 | + * any key press event. | |
| 5135 | + * | |
| 5136 | + * Negative values for either rate or delay are illegal. A rate of | |
| 5137 | + * zero will disable any repeating (regardless of the value of | |
| 5138 | + * delay). | |
| 5139 | + * | |
| 5140 | + * This event can be sent later on as well with a new value if | |
| 5141 | + * necessary, so clients should continue listening for the event | |
| 5142 | + * past the creation of wl_keyboard. | |
| 5143 | + * @param rate the rate of repeating keys in characters per second | |
| 5144 | + * @param delay delay in milliseconds since key down until repeating starts | |
| 5145 | + * @since 4 | |
| 5146 | + */ | |
| 5147 | + void (*repeat_info)(void *data, | |
| 5148 | + struct wl_keyboard *wl_keyboard, | |
| 5149 | + int32_t rate, | |
| 5150 | + int32_t delay); | |
| 5151 | +}; | |
| 5152 | + | |
| 5153 | +/** | |
| 5154 | + * @ingroup iface_wl_keyboard | |
| 5155 | + */ | |
| 5156 | +static inline int | |
| 5157 | +wl_keyboard_add_listener(struct wl_keyboard *wl_keyboard, | |
| 5158 | + const struct wl_keyboard_listener *listener, void *data) | |
| 5159 | +{ | |
| 5160 | + return wl_proxy_add_listener((struct wl_proxy *) wl_keyboard, | |
| 5161 | + (void (**)(void)) listener, data); | |
| 5162 | +} | |
| 5163 | + | |
| 5164 | +#define WL_KEYBOARD_RELEASE 0 | |
| 5165 | + | |
| 5166 | +/** | |
| 5167 | + * @ingroup iface_wl_keyboard | |
| 5168 | + */ | |
| 5169 | +#define WL_KEYBOARD_KEYMAP_SINCE_VERSION 1 | |
| 5170 | +/** | |
| 5171 | + * @ingroup iface_wl_keyboard | |
| 5172 | + */ | |
| 5173 | +#define WL_KEYBOARD_ENTER_SINCE_VERSION 1 | |
| 5174 | +/** | |
| 5175 | + * @ingroup iface_wl_keyboard | |
| 5176 | + */ | |
| 5177 | +#define WL_KEYBOARD_LEAVE_SINCE_VERSION 1 | |
| 5178 | +/** | |
| 5179 | + * @ingroup iface_wl_keyboard | |
| 5180 | + */ | |
| 5181 | +#define WL_KEYBOARD_KEY_SINCE_VERSION 1 | |
| 5182 | +/** | |
| 5183 | + * @ingroup iface_wl_keyboard | |
| 5184 | + */ | |
| 5185 | +#define WL_KEYBOARD_MODIFIERS_SINCE_VERSION 1 | |
| 5186 | +/** | |
| 5187 | + * @ingroup iface_wl_keyboard | |
| 5188 | + */ | |
| 5189 | +#define WL_KEYBOARD_REPEAT_INFO_SINCE_VERSION 4 | |
| 5190 | + | |
| 5191 | +/** | |
| 5192 | + * @ingroup iface_wl_keyboard | |
| 5193 | + */ | |
| 5194 | +#define WL_KEYBOARD_RELEASE_SINCE_VERSION 3 | |
| 5195 | + | |
| 5196 | +/** @ingroup iface_wl_keyboard */ | |
| 5197 | +static inline void | |
| 5198 | +wl_keyboard_set_user_data(struct wl_keyboard *wl_keyboard, void *user_data) | |
| 5199 | +{ | |
| 5200 | + wl_proxy_set_user_data((struct wl_proxy *) wl_keyboard, user_data); | |
| 5201 | +} | |
| 5202 | + | |
| 5203 | +/** @ingroup iface_wl_keyboard */ | |
| 5204 | +static inline void * | |
| 5205 | +wl_keyboard_get_user_data(struct wl_keyboard *wl_keyboard) | |
| 5206 | +{ | |
| 5207 | + return wl_proxy_get_user_data((struct wl_proxy *) wl_keyboard); | |
| 5208 | +} | |
| 5209 | + | |
| 5210 | +static inline uint32_t | |
| 5211 | +wl_keyboard_get_version(struct wl_keyboard *wl_keyboard) | |
| 5212 | +{ | |
| 5213 | + return wl_proxy_get_version((struct wl_proxy *) wl_keyboard); | |
| 5214 | +} | |
| 5215 | + | |
| 5216 | +/** @ingroup iface_wl_keyboard */ | |
| 5217 | +static inline void | |
| 5218 | +wl_keyboard_destroy(struct wl_keyboard *wl_keyboard) | |
| 5219 | +{ | |
| 5220 | + wl_proxy_destroy((struct wl_proxy *) wl_keyboard); | |
| 5221 | +} | |
| 5222 | + | |
| 5223 | +/** | |
| 5224 | + * @ingroup iface_wl_keyboard | |
| 5225 | + */ | |
| 5226 | +static inline void | |
| 5227 | +wl_keyboard_release(struct wl_keyboard *wl_keyboard) | |
| 5228 | +{ | |
| 5229 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_keyboard, | |
| 5230 | + WL_KEYBOARD_RELEASE, NULL, wl_proxy_get_version((struct wl_proxy *) wl_keyboard), WL_MARSHAL_FLAG_DESTROY); | |
| 5231 | +} | |
| 5232 | + | |
| 5233 | +/** | |
| 5234 | + * @ingroup iface_wl_touch | |
| 5235 | + * @struct wl_touch_listener | |
| 5236 | + */ | |
| 5237 | +struct wl_touch_listener { | |
| 5238 | + /** | |
| 5239 | + * touch down event and beginning of a touch sequence | |
| 5240 | + * | |
| 5241 | + * A new touch point has appeared on the surface. This touch | |
| 5242 | + * point is assigned a unique ID. Future events from this touch | |
| 5243 | + * point reference this ID. The ID ceases to be valid after a touch | |
| 5244 | + * up event and may be reused in the future. | |
| 5245 | + * @param serial serial number of the touch down event | |
| 5246 | + * @param time timestamp with millisecond granularity | |
| 5247 | + * @param surface surface touched | |
| 5248 | + * @param id the unique ID of this touch point | |
| 5249 | + * @param x surface-local x coordinate | |
| 5250 | + * @param y surface-local y coordinate | |
| 5251 | + */ | |
| 5252 | + void (*down)(void *data, | |
| 5253 | + struct wl_touch *wl_touch, | |
| 5254 | + uint32_t serial, | |
| 5255 | + uint32_t time, | |
| 5256 | + struct wl_surface *surface, | |
| 5257 | + int32_t id, | |
| 5258 | + wl_fixed_t x, | |
| 5259 | + wl_fixed_t y); | |
| 5260 | + /** | |
| 5261 | + * end of a touch event sequence | |
| 5262 | + * | |
| 5263 | + * The touch point has disappeared. No further events will be | |
| 5264 | + * sent for this touch point and the touch point's ID is released | |
| 5265 | + * and may be reused in a future touch down event. | |
| 5266 | + * @param serial serial number of the touch up event | |
| 5267 | + * @param time timestamp with millisecond granularity | |
| 5268 | + * @param id the unique ID of this touch point | |
| 5269 | + */ | |
| 5270 | + void (*up)(void *data, | |
| 5271 | + struct wl_touch *wl_touch, | |
| 5272 | + uint32_t serial, | |
| 5273 | + uint32_t time, | |
| 5274 | + int32_t id); | |
| 5275 | + /** | |
| 5276 | + * update of touch point coordinates | |
| 5277 | + * | |
| 5278 | + * A touch point has changed coordinates. | |
| 5279 | + * @param time timestamp with millisecond granularity | |
| 5280 | + * @param id the unique ID of this touch point | |
| 5281 | + * @param x surface-local x coordinate | |
| 5282 | + * @param y surface-local y coordinate | |
| 5283 | + */ | |
| 5284 | + void (*motion)(void *data, | |
| 5285 | + struct wl_touch *wl_touch, | |
| 5286 | + uint32_t time, | |
| 5287 | + int32_t id, | |
| 5288 | + wl_fixed_t x, | |
| 5289 | + wl_fixed_t y); | |
| 5290 | + /** | |
| 5291 | + * end of touch frame event | |
| 5292 | + * | |
| 5293 | + * Indicates the end of a set of events that logically belong | |
| 5294 | + * together. A client is expected to accumulate the data in all | |
| 5295 | + * events within the frame before proceeding. | |
| 5296 | + * | |
| 5297 | + * A wl_touch.frame terminates at least one event but otherwise no | |
| 5298 | + * guarantee is provided about the set of events within a frame. A | |
| 5299 | + * client must assume that any state not updated in a frame is | |
| 5300 | + * unchanged from the previously known state. | |
| 5301 | + */ | |
| 5302 | + void (*frame)(void *data, | |
| 5303 | + struct wl_touch *wl_touch); | |
| 5304 | + /** | |
| 5305 | + * touch session cancelled | |
| 5306 | + * | |
| 5307 | + * Sent if the compositor decides the touch stream is a global | |
| 5308 | + * gesture. No further events are sent to the clients from that | |
| 5309 | + * particular gesture. Touch cancellation applies to all touch | |
| 5310 | + * points currently active on this client's surface. The client is | |
| 5311 | + * responsible for finalizing the touch points, future touch points | |
| 5312 | + * on this surface may reuse the touch point ID. | |
| 5313 | + */ | |
| 5314 | + void (*cancel)(void *data, | |
| 5315 | + struct wl_touch *wl_touch); | |
| 5316 | + /** | |
| 5317 | + * update shape of touch point | |
| 5318 | + * | |
| 5319 | + * Sent when a touchpoint has changed its shape. | |
| 5320 | + * | |
| 5321 | + * This event does not occur on its own. It is sent before a | |
| 5322 | + * wl_touch.frame event and carries the new shape information for | |
| 5323 | + * any previously reported, or new touch points of that frame. | |
| 5324 | + * | |
| 5325 | + * Other events describing the touch point such as wl_touch.down, | |
| 5326 | + * wl_touch.motion or wl_touch.orientation may be sent within the | |
| 5327 | + * same wl_touch.frame. A client should treat these events as a | |
| 5328 | + * single logical touch point update. The order of wl_touch.shape, | |
| 5329 | + * wl_touch.orientation and wl_touch.motion is not guaranteed. A | |
| 5330 | + * wl_touch.down event is guaranteed to occur before the first | |
| 5331 | + * wl_touch.shape event for this touch ID but both events may occur | |
| 5332 | + * within the same wl_touch.frame. | |
| 5333 | + * | |
| 5334 | + * A touchpoint shape is approximated by an ellipse through the | |
| 5335 | + * major and minor axis length. The major axis length describes the | |
| 5336 | + * longer diameter of the ellipse, while the minor axis length | |
| 5337 | + * describes the shorter diameter. Major and minor are orthogonal | |
| 5338 | + * and both are specified in surface-local coordinates. The center | |
| 5339 | + * of the ellipse is always at the touchpoint location as reported | |
| 5340 | + * by wl_touch.down or wl_touch.move. | |
| 5341 | + * | |
| 5342 | + * This event is only sent by the compositor if the touch device | |
| 5343 | + * supports shape reports. The client has to make reasonable | |
| 5344 | + * assumptions about the shape if it did not receive this event. | |
| 5345 | + * @param id the unique ID of this touch point | |
| 5346 | + * @param major length of the major axis in surface-local coordinates | |
| 5347 | + * @param minor length of the minor axis in surface-local coordinates | |
| 5348 | + * @since 6 | |
| 5349 | + */ | |
| 5350 | + void (*shape)(void *data, | |
| 5351 | + struct wl_touch *wl_touch, | |
| 5352 | + int32_t id, | |
| 5353 | + wl_fixed_t major, | |
| 5354 | + wl_fixed_t minor); | |
| 5355 | + /** | |
| 5356 | + * update orientation of touch point | |
| 5357 | + * | |
| 5358 | + * Sent when a touchpoint has changed its orientation. | |
| 5359 | + * | |
| 5360 | + * This event does not occur on its own. It is sent before a | |
| 5361 | + * wl_touch.frame event and carries the new shape information for | |
| 5362 | + * any previously reported, or new touch points of that frame. | |
| 5363 | + * | |
| 5364 | + * Other events describing the touch point such as wl_touch.down, | |
| 5365 | + * wl_touch.motion or wl_touch.shape may be sent within the same | |
| 5366 | + * wl_touch.frame. A client should treat these events as a single | |
| 5367 | + * logical touch point update. The order of wl_touch.shape, | |
| 5368 | + * wl_touch.orientation and wl_touch.motion is not guaranteed. A | |
| 5369 | + * wl_touch.down event is guaranteed to occur before the first | |
| 5370 | + * wl_touch.orientation event for this touch ID but both events may | |
| 5371 | + * occur within the same wl_touch.frame. | |
| 5372 | + * | |
| 5373 | + * The orientation describes the clockwise angle of a touchpoint's | |
| 5374 | + * major axis to the positive surface y-axis and is normalized to | |
| 5375 | + * the -180 to +180 degree range. The granularity of orientation | |
| 5376 | + * depends on the touch device, some devices only support binary | |
| 5377 | + * rotation values between 0 and 90 degrees. | |
| 5378 | + * | |
| 5379 | + * This event is only sent by the compositor if the touch device | |
| 5380 | + * supports orientation reports. | |
| 5381 | + * @param id the unique ID of this touch point | |
| 5382 | + * @param orientation angle between major axis and positive surface y-axis in degrees | |
| 5383 | + * @since 6 | |
| 5384 | + */ | |
| 5385 | + void (*orientation)(void *data, | |
| 5386 | + struct wl_touch *wl_touch, | |
| 5387 | + int32_t id, | |
| 5388 | + wl_fixed_t orientation); | |
| 5389 | +}; | |
| 5390 | + | |
| 5391 | +/** | |
| 5392 | + * @ingroup iface_wl_touch | |
| 5393 | + */ | |
| 5394 | +static inline int | |
| 5395 | +wl_touch_add_listener(struct wl_touch *wl_touch, | |
| 5396 | + const struct wl_touch_listener *listener, void *data) | |
| 5397 | +{ | |
| 5398 | + return wl_proxy_add_listener((struct wl_proxy *) wl_touch, | |
| 5399 | + (void (**)(void)) listener, data); | |
| 5400 | +} | |
| 5401 | + | |
| 5402 | +#define WL_TOUCH_RELEASE 0 | |
| 5403 | + | |
| 5404 | +/** | |
| 5405 | + * @ingroup iface_wl_touch | |
| 5406 | + */ | |
| 5407 | +#define WL_TOUCH_DOWN_SINCE_VERSION 1 | |
| 5408 | +/** | |
| 5409 | + * @ingroup iface_wl_touch | |
| 5410 | + */ | |
| 5411 | +#define WL_TOUCH_UP_SINCE_VERSION 1 | |
| 5412 | +/** | |
| 5413 | + * @ingroup iface_wl_touch | |
| 5414 | + */ | |
| 5415 | +#define WL_TOUCH_MOTION_SINCE_VERSION 1 | |
| 5416 | +/** | |
| 5417 | + * @ingroup iface_wl_touch | |
| 5418 | + */ | |
| 5419 | +#define WL_TOUCH_FRAME_SINCE_VERSION 1 | |
| 5420 | +/** | |
| 5421 | + * @ingroup iface_wl_touch | |
| 5422 | + */ | |
| 5423 | +#define WL_TOUCH_CANCEL_SINCE_VERSION 1 | |
| 5424 | +/** | |
| 5425 | + * @ingroup iface_wl_touch | |
| 5426 | + */ | |
| 5427 | +#define WL_TOUCH_SHAPE_SINCE_VERSION 6 | |
| 5428 | +/** | |
| 5429 | + * @ingroup iface_wl_touch | |
| 5430 | + */ | |
| 5431 | +#define WL_TOUCH_ORIENTATION_SINCE_VERSION 6 | |
| 5432 | + | |
| 5433 | +/** | |
| 5434 | + * @ingroup iface_wl_touch | |
| 5435 | + */ | |
| 5436 | +#define WL_TOUCH_RELEASE_SINCE_VERSION 3 | |
| 5437 | + | |
| 5438 | +/** @ingroup iface_wl_touch */ | |
| 5439 | +static inline void | |
| 5440 | +wl_touch_set_user_data(struct wl_touch *wl_touch, void *user_data) | |
| 5441 | +{ | |
| 5442 | + wl_proxy_set_user_data((struct wl_proxy *) wl_touch, user_data); | |
| 5443 | +} | |
| 5444 | + | |
| 5445 | +/** @ingroup iface_wl_touch */ | |
| 5446 | +static inline void * | |
| 5447 | +wl_touch_get_user_data(struct wl_touch *wl_touch) | |
| 5448 | +{ | |
| 5449 | + return wl_proxy_get_user_data((struct wl_proxy *) wl_touch); | |
| 5450 | +} | |
| 5451 | + | |
| 5452 | +static inline uint32_t | |
| 5453 | +wl_touch_get_version(struct wl_touch *wl_touch) | |
| 5454 | +{ | |
| 5455 | + return wl_proxy_get_version((struct wl_proxy *) wl_touch); | |
| 5456 | +} | |
| 5457 | + | |
| 5458 | +/** @ingroup iface_wl_touch */ | |
| 5459 | +static inline void | |
| 5460 | +wl_touch_destroy(struct wl_touch *wl_touch) | |
| 5461 | +{ | |
| 5462 | + wl_proxy_destroy((struct wl_proxy *) wl_touch); | |
| 5463 | +} | |
| 5464 | + | |
| 5465 | +/** | |
| 5466 | + * @ingroup iface_wl_touch | |
| 5467 | + */ | |
| 5468 | +static inline void | |
| 5469 | +wl_touch_release(struct wl_touch *wl_touch) | |
| 5470 | +{ | |
| 5471 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_touch, | |
| 5472 | + WL_TOUCH_RELEASE, NULL, wl_proxy_get_version((struct wl_proxy *) wl_touch), WL_MARSHAL_FLAG_DESTROY); | |
| 5473 | +} | |
| 5474 | + | |
| 5475 | +#ifndef WL_OUTPUT_SUBPIXEL_ENUM | |
| 5476 | +#define WL_OUTPUT_SUBPIXEL_ENUM | |
| 5477 | +/** | |
| 5478 | + * @ingroup iface_wl_output | |
| 5479 | + * subpixel geometry information | |
| 5480 | + * | |
| 5481 | + * This enumeration describes how the physical | |
| 5482 | + * pixels on an output are laid out. | |
| 5483 | + */ | |
| 5484 | +enum wl_output_subpixel { | |
| 5485 | + /** | |
| 5486 | + * unknown geometry | |
| 5487 | + */ | |
| 5488 | + WL_OUTPUT_SUBPIXEL_UNKNOWN = 0, | |
| 5489 | + /** | |
| 5490 | + * no geometry | |
| 5491 | + */ | |
| 5492 | + WL_OUTPUT_SUBPIXEL_NONE = 1, | |
| 5493 | + /** | |
| 5494 | + * horizontal RGB | |
| 5495 | + */ | |
| 5496 | + WL_OUTPUT_SUBPIXEL_HORIZONTAL_RGB = 2, | |
| 5497 | + /** | |
| 5498 | + * horizontal BGR | |
| 5499 | + */ | |
| 5500 | + WL_OUTPUT_SUBPIXEL_HORIZONTAL_BGR = 3, | |
| 5501 | + /** | |
| 5502 | + * vertical RGB | |
| 5503 | + */ | |
| 5504 | + WL_OUTPUT_SUBPIXEL_VERTICAL_RGB = 4, | |
| 5505 | + /** | |
| 5506 | + * vertical BGR | |
| 5507 | + */ | |
| 5508 | + WL_OUTPUT_SUBPIXEL_VERTICAL_BGR = 5, | |
| 5509 | +}; | |
| 5510 | +#endif /* WL_OUTPUT_SUBPIXEL_ENUM */ | |
| 5511 | + | |
| 5512 | +#ifndef WL_OUTPUT_TRANSFORM_ENUM | |
| 5513 | +#define WL_OUTPUT_TRANSFORM_ENUM | |
| 5514 | +/** | |
| 5515 | + * @ingroup iface_wl_output | |
| 5516 | + * transform from framebuffer to output | |
| 5517 | + * | |
| 5518 | + * This describes the transform that a compositor will apply to a | |
| 5519 | + * surface to compensate for the rotation or mirroring of an | |
| 5520 | + * output device. | |
| 5521 | + * | |
| 5522 | + * The flipped values correspond to an initial flip around a | |
| 5523 | + * vertical axis followed by rotation. | |
| 5524 | + * | |
| 5525 | + * The purpose is mainly to allow clients to render accordingly and | |
| 5526 | + * tell the compositor, so that for fullscreen surfaces, the | |
| 5527 | + * compositor will still be able to scan out directly from client | |
| 5528 | + * surfaces. | |
| 5529 | + */ | |
| 5530 | +enum wl_output_transform { | |
| 5531 | + /** | |
| 5532 | + * no transform | |
| 5533 | + */ | |
| 5534 | + WL_OUTPUT_TRANSFORM_NORMAL = 0, | |
| 5535 | + /** | |
| 5536 | + * 90 degrees counter-clockwise | |
| 5537 | + */ | |
| 5538 | + WL_OUTPUT_TRANSFORM_90 = 1, | |
| 5539 | + /** | |
| 5540 | + * 180 degrees counter-clockwise | |
| 5541 | + */ | |
| 5542 | + WL_OUTPUT_TRANSFORM_180 = 2, | |
| 5543 | + /** | |
| 5544 | + * 270 degrees counter-clockwise | |
| 5545 | + */ | |
| 5546 | + WL_OUTPUT_TRANSFORM_270 = 3, | |
| 5547 | + /** | |
| 5548 | + * 180 degree flip around a vertical axis | |
| 5549 | + */ | |
| 5550 | + WL_OUTPUT_TRANSFORM_FLIPPED = 4, | |
| 5551 | + /** | |
| 5552 | + * flip and rotate 90 degrees counter-clockwise | |
| 5553 | + */ | |
| 5554 | + WL_OUTPUT_TRANSFORM_FLIPPED_90 = 5, | |
| 5555 | + /** | |
| 5556 | + * flip and rotate 180 degrees counter-clockwise | |
| 5557 | + */ | |
| 5558 | + WL_OUTPUT_TRANSFORM_FLIPPED_180 = 6, | |
| 5559 | + /** | |
| 5560 | + * flip and rotate 270 degrees counter-clockwise | |
| 5561 | + */ | |
| 5562 | + WL_OUTPUT_TRANSFORM_FLIPPED_270 = 7, | |
| 5563 | +}; | |
| 5564 | +#endif /* WL_OUTPUT_TRANSFORM_ENUM */ | |
| 5565 | + | |
| 5566 | +#ifndef WL_OUTPUT_MODE_ENUM | |
| 5567 | +#define WL_OUTPUT_MODE_ENUM | |
| 5568 | +/** | |
| 5569 | + * @ingroup iface_wl_output | |
| 5570 | + * mode information | |
| 5571 | + * | |
| 5572 | + * These flags describe properties of an output mode. | |
| 5573 | + * They are used in the flags bitfield of the mode event. | |
| 5574 | + */ | |
| 5575 | +enum wl_output_mode { | |
| 5576 | + /** | |
| 5577 | + * indicates this is the current mode | |
| 5578 | + */ | |
| 5579 | + WL_OUTPUT_MODE_CURRENT = 0x1, | |
| 5580 | + /** | |
| 5581 | + * indicates this is the preferred mode | |
| 5582 | + */ | |
| 5583 | + WL_OUTPUT_MODE_PREFERRED = 0x2, | |
| 5584 | +}; | |
| 5585 | +#endif /* WL_OUTPUT_MODE_ENUM */ | |
| 5586 | + | |
| 5587 | +/** | |
| 5588 | + * @ingroup iface_wl_output | |
| 5589 | + * @struct wl_output_listener | |
| 5590 | + */ | |
| 5591 | +struct wl_output_listener { | |
| 5592 | + /** | |
| 5593 | + * properties of the output | |
| 5594 | + * | |
| 5595 | + * The geometry event describes geometric properties of the | |
| 5596 | + * output. The event is sent when binding to the output object and | |
| 5597 | + * whenever any of the properties change. | |
| 5598 | + * | |
| 5599 | + * The physical size can be set to zero if it doesn't make sense | |
| 5600 | + * for this output (e.g. for projectors or virtual outputs). | |
| 5601 | + * | |
| 5602 | + * The geometry event will be followed by a done event (starting | |
| 5603 | + * from version 2). | |
| 5604 | + * | |
| 5605 | + * Note: wl_output only advertises partial information about the | |
| 5606 | + * output position and identification. Some compositors, for | |
| 5607 | + * instance those not implementing a desktop-style output layout or | |
| 5608 | + * those exposing virtual outputs, might fake this information. | |
| 5609 | + * Instead of using x and y, clients should use | |
| 5610 | + * xdg_output.logical_position. Instead of using make and model, | |
| 5611 | + * clients should use name and description. | |
| 5612 | + * @param x x position within the global compositor space | |
| 5613 | + * @param y y position within the global compositor space | |
| 5614 | + * @param physical_width width in millimeters of the output | |
| 5615 | + * @param physical_height height in millimeters of the output | |
| 5616 | + * @param subpixel subpixel orientation of the output | |
| 5617 | + * @param make textual description of the manufacturer | |
| 5618 | + * @param model textual description of the model | |
| 5619 | + * @param transform transform that maps framebuffer to output | |
| 5620 | + */ | |
| 5621 | + void (*geometry)(void *data, | |
| 5622 | + struct wl_output *wl_output, | |
| 5623 | + int32_t x, | |
| 5624 | + int32_t y, | |
| 5625 | + int32_t physical_width, | |
| 5626 | + int32_t physical_height, | |
| 5627 | + int32_t subpixel, | |
| 5628 | + const char *make, | |
| 5629 | + const char *model, | |
| 5630 | + int32_t transform); | |
| 5631 | + /** | |
| 5632 | + * advertise available modes for the output | |
| 5633 | + * | |
| 5634 | + * The mode event describes an available mode for the output. | |
| 5635 | + * | |
| 5636 | + * The event is sent when binding to the output object and there | |
| 5637 | + * will always be one mode, the current mode. The event is sent | |
| 5638 | + * again if an output changes mode, for the mode that is now | |
| 5639 | + * current. In other words, the current mode is always the last | |
| 5640 | + * mode that was received with the current flag set. | |
| 5641 | + * | |
| 5642 | + * Non-current modes are deprecated. A compositor can decide to | |
| 5643 | + * only advertise the current mode and never send other modes. | |
| 5644 | + * Clients should not rely on non-current modes. | |
| 5645 | + * | |
| 5646 | + * The size of a mode is given in physical hardware units of the | |
| 5647 | + * output device. This is not necessarily the same as the output | |
| 5648 | + * size in the global compositor space. For instance, the output | |
| 5649 | + * may be scaled, as described in wl_output.scale, or transformed, | |
| 5650 | + * as described in wl_output.transform. Clients willing to retrieve | |
| 5651 | + * the output size in the global compositor space should use | |
| 5652 | + * xdg_output.logical_size instead. | |
| 5653 | + * | |
| 5654 | + * The vertical refresh rate can be set to zero if it doesn't make | |
| 5655 | + * sense for this output (e.g. for virtual outputs). | |
| 5656 | + * | |
| 5657 | + * The mode event will be followed by a done event (starting from | |
| 5658 | + * version 2). | |
| 5659 | + * | |
| 5660 | + * Clients should not use the refresh rate to schedule frames. | |
| 5661 | + * Instead, they should use the wl_surface.frame event or the | |
| 5662 | + * presentation-time protocol. | |
| 5663 | + * | |
| 5664 | + * Note: this information is not always meaningful for all outputs. | |
| 5665 | + * Some compositors, such as those exposing virtual outputs, might | |
| 5666 | + * fake the refresh rate or the size. | |
| 5667 | + * @param flags bitfield of mode flags | |
| 5668 | + * @param width width of the mode in hardware units | |
| 5669 | + * @param height height of the mode in hardware units | |
| 5670 | + * @param refresh vertical refresh rate in mHz | |
| 5671 | + */ | |
| 5672 | + void (*mode)(void *data, | |
| 5673 | + struct wl_output *wl_output, | |
| 5674 | + uint32_t flags, | |
| 5675 | + int32_t width, | |
| 5676 | + int32_t height, | |
| 5677 | + int32_t refresh); | |
| 5678 | + /** | |
| 5679 | + * sent all information about output | |
| 5680 | + * | |
| 5681 | + * This event is sent after all other properties have been sent | |
| 5682 | + * after binding to the output object and after any other property | |
| 5683 | + * changes done after that. This allows changes to the output | |
| 5684 | + * properties to be seen as atomic, even if they happen via | |
| 5685 | + * multiple events. | |
| 5686 | + * @since 2 | |
| 5687 | + */ | |
| 5688 | + void (*done)(void *data, | |
| 5689 | + struct wl_output *wl_output); | |
| 5690 | + /** | |
| 5691 | + * output scaling properties | |
| 5692 | + * | |
| 5693 | + * This event contains scaling geometry information that is not | |
| 5694 | + * in the geometry event. It may be sent after binding the output | |
| 5695 | + * object or if the output scale changes later. If it is not sent, | |
| 5696 | + * the client should assume a scale of 1. | |
| 5697 | + * | |
| 5698 | + * A scale larger than 1 means that the compositor will | |
| 5699 | + * automatically scale surface buffers by this amount when | |
| 5700 | + * rendering. This is used for very high resolution displays where | |
| 5701 | + * applications rendering at the native resolution would be too | |
| 5702 | + * small to be legible. | |
| 5703 | + * | |
| 5704 | + * It is intended that scaling aware clients track the current | |
| 5705 | + * output of a surface, and if it is on a scaled output it should | |
| 5706 | + * use wl_surface.set_buffer_scale with the scale of the output. | |
| 5707 | + * That way the compositor can avoid scaling the surface, and the | |
| 5708 | + * client can supply a higher detail image. | |
| 5709 | + * | |
| 5710 | + * The scale event will be followed by a done event. | |
| 5711 | + * @param factor scaling factor of output | |
| 5712 | + * @since 2 | |
| 5713 | + */ | |
| 5714 | + void (*scale)(void *data, | |
| 5715 | + struct wl_output *wl_output, | |
| 5716 | + int32_t factor); | |
| 5717 | + /** | |
| 5718 | + * name of this output | |
| 5719 | + * | |
| 5720 | + * Many compositors will assign user-friendly names to their | |
| 5721 | + * outputs, show them to the user, allow the user to refer to an | |
| 5722 | + * output, etc. The client may wish to know this name as well to | |
| 5723 | + * offer the user similar behaviors. | |
| 5724 | + * | |
| 5725 | + * The name is a UTF-8 string with no convention defined for its | |
| 5726 | + * contents. Each name is unique among all wl_output globals. The | |
| 5727 | + * name is only guaranteed to be unique for the compositor | |
| 5728 | + * instance. | |
| 5729 | + * | |
| 5730 | + * The same output name is used for all clients for a given | |
| 5731 | + * wl_output global. Thus, the name can be shared across processes | |
| 5732 | + * to refer to a specific wl_output global. | |
| 5733 | + * | |
| 5734 | + * The name is not guaranteed to be persistent across sessions, | |
| 5735 | + * thus cannot be used to reliably identify an output in e.g. | |
| 5736 | + * configuration files. | |
| 5737 | + * | |
| 5738 | + * Examples of names include 'HDMI-A-1', 'WL-1', 'X11-1', etc. | |
| 5739 | + * However, do not assume that the name is a reflection of an | |
| 5740 | + * underlying DRM connector, X11 connection, etc. | |
| 5741 | + * | |
| 5742 | + * The name event is sent after binding the output object. This | |
| 5743 | + * event is only sent once per output object, and the name does not | |
| 5744 | + * change over the lifetime of the wl_output global. | |
| 5745 | + * | |
| 5746 | + * Compositors may re-use the same output name if the wl_output | |
| 5747 | + * global is destroyed and re-created later. Compositors should | |
| 5748 | + * avoid re-using the same name if possible. | |
| 5749 | + * | |
| 5750 | + * The name event will be followed by a done event. | |
| 5751 | + * @param name output name | |
| 5752 | + * @since 4 | |
| 5753 | + */ | |
| 5754 | + void (*name)(void *data, | |
| 5755 | + struct wl_output *wl_output, | |
| 5756 | + const char *name); | |
| 5757 | + /** | |
| 5758 | + * human-readable description of this output | |
| 5759 | + * | |
| 5760 | + * Many compositors can produce human-readable descriptions of | |
| 5761 | + * their outputs. The client may wish to know this description as | |
| 5762 | + * well, e.g. for output selection purposes. | |
| 5763 | + * | |
| 5764 | + * The description is a UTF-8 string with no convention defined for | |
| 5765 | + * its contents. The description is not guaranteed to be unique | |
| 5766 | + * among all wl_output globals. Examples might include 'Foocorp 11" | |
| 5767 | + * Display' or 'Virtual X11 output via :1'. | |
| 5768 | + * | |
| 5769 | + * The description event is sent after binding the output object | |
| 5770 | + * and whenever the description changes. The description is | |
| 5771 | + * optional, and may not be sent at all. | |
| 5772 | + * | |
| 5773 | + * The description event will be followed by a done event. | |
| 5774 | + * @param description output description | |
| 5775 | + * @since 4 | |
| 5776 | + */ | |
| 5777 | + void (*description)(void *data, | |
| 5778 | + struct wl_output *wl_output, | |
| 5779 | + const char *description); | |
| 5780 | +}; | |
| 5781 | + | |
| 5782 | +/** | |
| 5783 | + * @ingroup iface_wl_output | |
| 5784 | + */ | |
| 5785 | +static inline int | |
| 5786 | +wl_output_add_listener(struct wl_output *wl_output, | |
| 5787 | + const struct wl_output_listener *listener, void *data) | |
| 5788 | +{ | |
| 5789 | + return wl_proxy_add_listener((struct wl_proxy *) wl_output, | |
| 5790 | + (void (**)(void)) listener, data); | |
| 5791 | +} | |
| 5792 | + | |
| 5793 | +#define WL_OUTPUT_RELEASE 0 | |
| 5794 | + | |
| 5795 | +/** | |
| 5796 | + * @ingroup iface_wl_output | |
| 5797 | + */ | |
| 5798 | +#define WL_OUTPUT_GEOMETRY_SINCE_VERSION 1 | |
| 5799 | +/** | |
| 5800 | + * @ingroup iface_wl_output | |
| 5801 | + */ | |
| 5802 | +#define WL_OUTPUT_MODE_SINCE_VERSION 1 | |
| 5803 | +/** | |
| 5804 | + * @ingroup iface_wl_output | |
| 5805 | + */ | |
| 5806 | +#define WL_OUTPUT_DONE_SINCE_VERSION 2 | |
| 5807 | +/** | |
| 5808 | + * @ingroup iface_wl_output | |
| 5809 | + */ | |
| 5810 | +#define WL_OUTPUT_SCALE_SINCE_VERSION 2 | |
| 5811 | +/** | |
| 5812 | + * @ingroup iface_wl_output | |
| 5813 | + */ | |
| 5814 | +#define WL_OUTPUT_NAME_SINCE_VERSION 4 | |
| 5815 | +/** | |
| 5816 | + * @ingroup iface_wl_output | |
| 5817 | + */ | |
| 5818 | +#define WL_OUTPUT_DESCRIPTION_SINCE_VERSION 4 | |
| 5819 | + | |
| 5820 | +/** | |
| 5821 | + * @ingroup iface_wl_output | |
| 5822 | + */ | |
| 5823 | +#define WL_OUTPUT_RELEASE_SINCE_VERSION 3 | |
| 5824 | + | |
| 5825 | +/** @ingroup iface_wl_output */ | |
| 5826 | +static inline void | |
| 5827 | +wl_output_set_user_data(struct wl_output *wl_output, void *user_data) | |
| 5828 | +{ | |
| 5829 | + wl_proxy_set_user_data((struct wl_proxy *) wl_output, user_data); | |
| 5830 | +} | |
| 5831 | + | |
| 5832 | +/** @ingroup iface_wl_output */ | |
| 5833 | +static inline void * | |
| 5834 | +wl_output_get_user_data(struct wl_output *wl_output) | |
| 5835 | +{ | |
| 5836 | + return wl_proxy_get_user_data((struct wl_proxy *) wl_output); | |
| 5837 | +} | |
| 5838 | + | |
| 5839 | +static inline uint32_t | |
| 5840 | +wl_output_get_version(struct wl_output *wl_output) | |
| 5841 | +{ | |
| 5842 | + return wl_proxy_get_version((struct wl_proxy *) wl_output); | |
| 5843 | +} | |
| 5844 | + | |
| 5845 | +/** @ingroup iface_wl_output */ | |
| 5846 | +static inline void | |
| 5847 | +wl_output_destroy(struct wl_output *wl_output) | |
| 5848 | +{ | |
| 5849 | + wl_proxy_destroy((struct wl_proxy *) wl_output); | |
| 5850 | +} | |
| 5851 | + | |
| 5852 | +/** | |
| 5853 | + * @ingroup iface_wl_output | |
| 5854 | + * | |
| 5855 | + * Using this request a client can tell the server that it is not going to | |
| 5856 | + * use the output object anymore. | |
| 5857 | + */ | |
| 5858 | +static inline void | |
| 5859 | +wl_output_release(struct wl_output *wl_output) | |
| 5860 | +{ | |
| 5861 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_output, | |
| 5862 | + WL_OUTPUT_RELEASE, NULL, wl_proxy_get_version((struct wl_proxy *) wl_output), WL_MARSHAL_FLAG_DESTROY); | |
| 5863 | +} | |
| 5864 | + | |
| 5865 | +#define WL_REGION_DESTROY 0 | |
| 5866 | +#define WL_REGION_ADD 1 | |
| 5867 | +#define WL_REGION_SUBTRACT 2 | |
| 5868 | + | |
| 5869 | + | |
| 5870 | +/** | |
| 5871 | + * @ingroup iface_wl_region | |
| 5872 | + */ | |
| 5873 | +#define WL_REGION_DESTROY_SINCE_VERSION 1 | |
| 5874 | +/** | |
| 5875 | + * @ingroup iface_wl_region | |
| 5876 | + */ | |
| 5877 | +#define WL_REGION_ADD_SINCE_VERSION 1 | |
| 5878 | +/** | |
| 5879 | + * @ingroup iface_wl_region | |
| 5880 | + */ | |
| 5881 | +#define WL_REGION_SUBTRACT_SINCE_VERSION 1 | |
| 5882 | + | |
| 5883 | +/** @ingroup iface_wl_region */ | |
| 5884 | +static inline void | |
| 5885 | +wl_region_set_user_data(struct wl_region *wl_region, void *user_data) | |
| 5886 | +{ | |
| 5887 | + wl_proxy_set_user_data((struct wl_proxy *) wl_region, user_data); | |
| 5888 | +} | |
| 5889 | + | |
| 5890 | +/** @ingroup iface_wl_region */ | |
| 5891 | +static inline void * | |
| 5892 | +wl_region_get_user_data(struct wl_region *wl_region) | |
| 5893 | +{ | |
| 5894 | + return wl_proxy_get_user_data((struct wl_proxy *) wl_region); | |
| 5895 | +} | |
| 5896 | + | |
| 5897 | +static inline uint32_t | |
| 5898 | +wl_region_get_version(struct wl_region *wl_region) | |
| 5899 | +{ | |
| 5900 | + return wl_proxy_get_version((struct wl_proxy *) wl_region); | |
| 5901 | +} | |
| 5902 | + | |
| 5903 | +/** | |
| 5904 | + * @ingroup iface_wl_region | |
| 5905 | + * | |
| 5906 | + * Destroy the region. This will invalidate the object ID. | |
| 5907 | + */ | |
| 5908 | +static inline void | |
| 5909 | +wl_region_destroy(struct wl_region *wl_region) | |
| 5910 | +{ | |
| 5911 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_region, | |
| 5912 | + WL_REGION_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) wl_region), WL_MARSHAL_FLAG_DESTROY); | |
| 5913 | +} | |
| 5914 | + | |
| 5915 | +/** | |
| 5916 | + * @ingroup iface_wl_region | |
| 5917 | + * | |
| 5918 | + * Add the specified rectangle to the region. | |
| 5919 | + */ | |
| 5920 | +static inline void | |
| 5921 | +wl_region_add(struct wl_region *wl_region, int32_t x, int32_t y, int32_t width, int32_t height) | |
| 5922 | +{ | |
| 5923 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_region, | |
| 5924 | + WL_REGION_ADD, NULL, wl_proxy_get_version((struct wl_proxy *) wl_region), 0, x, y, width, height); | |
| 5925 | +} | |
| 5926 | + | |
| 5927 | +/** | |
| 5928 | + * @ingroup iface_wl_region | |
| 5929 | + * | |
| 5930 | + * Subtract the specified rectangle from the region. | |
| 5931 | + */ | |
| 5932 | +static inline void | |
| 5933 | +wl_region_subtract(struct wl_region *wl_region, int32_t x, int32_t y, int32_t width, int32_t height) | |
| 5934 | +{ | |
| 5935 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_region, | |
| 5936 | + WL_REGION_SUBTRACT, NULL, wl_proxy_get_version((struct wl_proxy *) wl_region), 0, x, y, width, height); | |
| 5937 | +} | |
| 5938 | + | |
| 5939 | +#ifndef WL_SUBCOMPOSITOR_ERROR_ENUM | |
| 5940 | +#define WL_SUBCOMPOSITOR_ERROR_ENUM | |
| 5941 | +enum wl_subcompositor_error { | |
| 5942 | + /** | |
| 5943 | + * the to-be sub-surface is invalid | |
| 5944 | + */ | |
| 5945 | + WL_SUBCOMPOSITOR_ERROR_BAD_SURFACE = 0, | |
| 5946 | + /** | |
| 5947 | + * the to-be sub-surface parent is invalid | |
| 5948 | + */ | |
| 5949 | + WL_SUBCOMPOSITOR_ERROR_BAD_PARENT = 1, | |
| 5950 | +}; | |
| 5951 | +#endif /* WL_SUBCOMPOSITOR_ERROR_ENUM */ | |
| 5952 | + | |
| 5953 | +#define WL_SUBCOMPOSITOR_DESTROY 0 | |
| 5954 | +#define WL_SUBCOMPOSITOR_GET_SUBSURFACE 1 | |
| 5955 | + | |
| 5956 | + | |
| 5957 | +/** | |
| 5958 | + * @ingroup iface_wl_subcompositor | |
| 5959 | + */ | |
| 5960 | +#define WL_SUBCOMPOSITOR_DESTROY_SINCE_VERSION 1 | |
| 5961 | +/** | |
| 5962 | + * @ingroup iface_wl_subcompositor | |
| 5963 | + */ | |
| 5964 | +#define WL_SUBCOMPOSITOR_GET_SUBSURFACE_SINCE_VERSION 1 | |
| 5965 | + | |
| 5966 | +/** @ingroup iface_wl_subcompositor */ | |
| 5967 | +static inline void | |
| 5968 | +wl_subcompositor_set_user_data(struct wl_subcompositor *wl_subcompositor, void *user_data) | |
| 5969 | +{ | |
| 5970 | + wl_proxy_set_user_data((struct wl_proxy *) wl_subcompositor, user_data); | |
| 5971 | +} | |
| 5972 | + | |
| 5973 | +/** @ingroup iface_wl_subcompositor */ | |
| 5974 | +static inline void * | |
| 5975 | +wl_subcompositor_get_user_data(struct wl_subcompositor *wl_subcompositor) | |
| 5976 | +{ | |
| 5977 | + return wl_proxy_get_user_data((struct wl_proxy *) wl_subcompositor); | |
| 5978 | +} | |
| 5979 | + | |
| 5980 | +static inline uint32_t | |
| 5981 | +wl_subcompositor_get_version(struct wl_subcompositor *wl_subcompositor) | |
| 5982 | +{ | |
| 5983 | + return wl_proxy_get_version((struct wl_proxy *) wl_subcompositor); | |
| 5984 | +} | |
| 5985 | + | |
| 5986 | +/** | |
| 5987 | + * @ingroup iface_wl_subcompositor | |
| 5988 | + * | |
| 5989 | + * Informs the server that the client will not be using this | |
| 5990 | + * protocol object anymore. This does not affect any other | |
| 5991 | + * objects, wl_subsurface objects included. | |
| 5992 | + */ | |
| 5993 | +static inline void | |
| 5994 | +wl_subcompositor_destroy(struct wl_subcompositor *wl_subcompositor) | |
| 5995 | +{ | |
| 5996 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_subcompositor, | |
| 5997 | + WL_SUBCOMPOSITOR_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) wl_subcompositor), WL_MARSHAL_FLAG_DESTROY); | |
| 5998 | +} | |
| 5999 | + | |
| 6000 | +/** | |
| 6001 | + * @ingroup iface_wl_subcompositor | |
| 6002 | + * | |
| 6003 | + * Create a sub-surface interface for the given surface, and | |
| 6004 | + * associate it with the given parent surface. This turns a | |
| 6005 | + * plain wl_surface into a sub-surface. | |
| 6006 | + * | |
| 6007 | + * The to-be sub-surface must not already have another role, and it | |
| 6008 | + * must not have an existing wl_subsurface object. Otherwise the | |
| 6009 | + * bad_surface protocol error is raised. | |
| 6010 | + * | |
| 6011 | + * Adding sub-surfaces to a parent is a double-buffered operation on the | |
| 6012 | + * parent (see wl_surface.commit). The effect of adding a sub-surface | |
| 6013 | + * becomes visible on the next time the state of the parent surface is | |
| 6014 | + * applied. | |
| 6015 | + * | |
| 6016 | + * The parent surface must not be one of the child surface's descendants, | |
| 6017 | + * and the parent must be different from the child surface, otherwise the | |
| 6018 | + * bad_parent protocol error is raised. | |
| 6019 | + * | |
| 6020 | + * This request modifies the behaviour of wl_surface.commit request on | |
| 6021 | + * the sub-surface, see the documentation on wl_subsurface interface. | |
| 6022 | + */ | |
| 6023 | +static inline struct wl_subsurface * | |
| 6024 | +wl_subcompositor_get_subsurface(struct wl_subcompositor *wl_subcompositor, struct wl_surface *surface, struct wl_surface *parent) | |
| 6025 | +{ | |
| 6026 | + struct wl_proxy *id; | |
| 6027 | + | |
| 6028 | + id = wl_proxy_marshal_flags((struct wl_proxy *) wl_subcompositor, | |
| 6029 | + WL_SUBCOMPOSITOR_GET_SUBSURFACE, &wl_subsurface_interface, wl_proxy_get_version((struct wl_proxy *) wl_subcompositor), 0, NULL, surface, parent); | |
| 6030 | + | |
| 6031 | + return (struct wl_subsurface *) id; | |
| 6032 | +} | |
| 6033 | + | |
| 6034 | +#ifndef WL_SUBSURFACE_ERROR_ENUM | |
| 6035 | +#define WL_SUBSURFACE_ERROR_ENUM | |
| 6036 | +enum wl_subsurface_error { | |
| 6037 | + /** | |
| 6038 | + * wl_surface is not a sibling or the parent | |
| 6039 | + */ | |
| 6040 | + WL_SUBSURFACE_ERROR_BAD_SURFACE = 0, | |
| 6041 | +}; | |
| 6042 | +#endif /* WL_SUBSURFACE_ERROR_ENUM */ | |
| 6043 | + | |
| 6044 | +#define WL_SUBSURFACE_DESTROY 0 | |
| 6045 | +#define WL_SUBSURFACE_SET_POSITION 1 | |
| 6046 | +#define WL_SUBSURFACE_PLACE_ABOVE 2 | |
| 6047 | +#define WL_SUBSURFACE_PLACE_BELOW 3 | |
| 6048 | +#define WL_SUBSURFACE_SET_SYNC 4 | |
| 6049 | +#define WL_SUBSURFACE_SET_DESYNC 5 | |
| 6050 | + | |
| 6051 | + | |
| 6052 | +/** | |
| 6053 | + * @ingroup iface_wl_subsurface | |
| 6054 | + */ | |
| 6055 | +#define WL_SUBSURFACE_DESTROY_SINCE_VERSION 1 | |
| 6056 | +/** | |
| 6057 | + * @ingroup iface_wl_subsurface | |
| 6058 | + */ | |
| 6059 | +#define WL_SUBSURFACE_SET_POSITION_SINCE_VERSION 1 | |
| 6060 | +/** | |
| 6061 | + * @ingroup iface_wl_subsurface | |
| 6062 | + */ | |
| 6063 | +#define WL_SUBSURFACE_PLACE_ABOVE_SINCE_VERSION 1 | |
| 6064 | +/** | |
| 6065 | + * @ingroup iface_wl_subsurface | |
| 6066 | + */ | |
| 6067 | +#define WL_SUBSURFACE_PLACE_BELOW_SINCE_VERSION 1 | |
| 6068 | +/** | |
| 6069 | + * @ingroup iface_wl_subsurface | |
| 6070 | + */ | |
| 6071 | +#define WL_SUBSURFACE_SET_SYNC_SINCE_VERSION 1 | |
| 6072 | +/** | |
| 6073 | + * @ingroup iface_wl_subsurface | |
| 6074 | + */ | |
| 6075 | +#define WL_SUBSURFACE_SET_DESYNC_SINCE_VERSION 1 | |
| 6076 | + | |
| 6077 | +/** @ingroup iface_wl_subsurface */ | |
| 6078 | +static inline void | |
| 6079 | +wl_subsurface_set_user_data(struct wl_subsurface *wl_subsurface, void *user_data) | |
| 6080 | +{ | |
| 6081 | + wl_proxy_set_user_data((struct wl_proxy *) wl_subsurface, user_data); | |
| 6082 | +} | |
| 6083 | + | |
| 6084 | +/** @ingroup iface_wl_subsurface */ | |
| 6085 | +static inline void * | |
| 6086 | +wl_subsurface_get_user_data(struct wl_subsurface *wl_subsurface) | |
| 6087 | +{ | |
| 6088 | + return wl_proxy_get_user_data((struct wl_proxy *) wl_subsurface); | |
| 6089 | +} | |
| 6090 | + | |
| 6091 | +static inline uint32_t | |
| 6092 | +wl_subsurface_get_version(struct wl_subsurface *wl_subsurface) | |
| 6093 | +{ | |
| 6094 | + return wl_proxy_get_version((struct wl_proxy *) wl_subsurface); | |
| 6095 | +} | |
| 6096 | + | |
| 6097 | +/** | |
| 6098 | + * @ingroup iface_wl_subsurface | |
| 6099 | + * | |
| 6100 | + * The sub-surface interface is removed from the wl_surface object | |
| 6101 | + * that was turned into a sub-surface with a | |
| 6102 | + * wl_subcompositor.get_subsurface request. The wl_surface's association | |
| 6103 | + * to the parent is deleted. The wl_surface is unmapped immediately. | |
| 6104 | + */ | |
| 6105 | +static inline void | |
| 6106 | +wl_subsurface_destroy(struct wl_subsurface *wl_subsurface) | |
| 6107 | +{ | |
| 6108 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_subsurface, | |
| 6109 | + WL_SUBSURFACE_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) wl_subsurface), WL_MARSHAL_FLAG_DESTROY); | |
| 6110 | +} | |
| 6111 | + | |
| 6112 | +/** | |
| 6113 | + * @ingroup iface_wl_subsurface | |
| 6114 | + * | |
| 6115 | + * This schedules a sub-surface position change. | |
| 6116 | + * The sub-surface will be moved so that its origin (top left | |
| 6117 | + * corner pixel) will be at the location x, y of the parent surface | |
| 6118 | + * coordinate system. The coordinates are not restricted to the parent | |
| 6119 | + * surface area. Negative values are allowed. | |
| 6120 | + * | |
| 6121 | + * The scheduled coordinates will take effect whenever the state of the | |
| 6122 | + * parent surface is applied. When this happens depends on whether the | |
| 6123 | + * parent surface is in synchronized mode or not. See | |
| 6124 | + * wl_subsurface.set_sync and wl_subsurface.set_desync for details. | |
| 6125 | + * | |
| 6126 | + * If more than one set_position request is invoked by the client before | |
| 6127 | + * the commit of the parent surface, the position of a new request always | |
| 6128 | + * replaces the scheduled position from any previous request. | |
| 6129 | + * | |
| 6130 | + * The initial position is 0, 0. | |
| 6131 | + */ | |
| 6132 | +static inline void | |
| 6133 | +wl_subsurface_set_position(struct wl_subsurface *wl_subsurface, int32_t x, int32_t y) | |
| 6134 | +{ | |
| 6135 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_subsurface, | |
| 6136 | + WL_SUBSURFACE_SET_POSITION, NULL, wl_proxy_get_version((struct wl_proxy *) wl_subsurface), 0, x, y); | |
| 6137 | +} | |
| 6138 | + | |
| 6139 | +/** | |
| 6140 | + * @ingroup iface_wl_subsurface | |
| 6141 | + * | |
| 6142 | + * This sub-surface is taken from the stack, and put back just | |
| 6143 | + * above the reference surface, changing the z-order of the sub-surfaces. | |
| 6144 | + * The reference surface must be one of the sibling surfaces, or the | |
| 6145 | + * parent surface. Using any other surface, including this sub-surface, | |
| 6146 | + * will cause a protocol error. | |
| 6147 | + * | |
| 6148 | + * The z-order is double-buffered. Requests are handled in order and | |
| 6149 | + * applied immediately to a pending state. The final pending state is | |
| 6150 | + * copied to the active state the next time the state of the parent | |
| 6151 | + * surface is applied. When this happens depends on whether the parent | |
| 6152 | + * surface is in synchronized mode or not. See wl_subsurface.set_sync and | |
| 6153 | + * wl_subsurface.set_desync for details. | |
| 6154 | + * | |
| 6155 | + * A new sub-surface is initially added as the top-most in the stack | |
| 6156 | + * of its siblings and parent. | |
| 6157 | + */ | |
| 6158 | +static inline void | |
| 6159 | +wl_subsurface_place_above(struct wl_subsurface *wl_subsurface, struct wl_surface *sibling) | |
| 6160 | +{ | |
| 6161 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_subsurface, | |
| 6162 | + WL_SUBSURFACE_PLACE_ABOVE, NULL, wl_proxy_get_version((struct wl_proxy *) wl_subsurface), 0, sibling); | |
| 6163 | +} | |
| 6164 | + | |
| 6165 | +/** | |
| 6166 | + * @ingroup iface_wl_subsurface | |
| 6167 | + * | |
| 6168 | + * The sub-surface is placed just below the reference surface. | |
| 6169 | + * See wl_subsurface.place_above. | |
| 6170 | + */ | |
| 6171 | +static inline void | |
| 6172 | +wl_subsurface_place_below(struct wl_subsurface *wl_subsurface, struct wl_surface *sibling) | |
| 6173 | +{ | |
| 6174 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_subsurface, | |
| 6175 | + WL_SUBSURFACE_PLACE_BELOW, NULL, wl_proxy_get_version((struct wl_proxy *) wl_subsurface), 0, sibling); | |
| 6176 | +} | |
| 6177 | + | |
| 6178 | +/** | |
| 6179 | + * @ingroup iface_wl_subsurface | |
| 6180 | + * | |
| 6181 | + * Change the commit behaviour of the sub-surface to synchronized | |
| 6182 | + * mode, also described as the parent dependent mode. | |
| 6183 | + * | |
| 6184 | + * In synchronized mode, wl_surface.commit on a sub-surface will | |
| 6185 | + * accumulate the committed state in a cache, but the state will | |
| 6186 | + * not be applied and hence will not change the compositor output. | |
| 6187 | + * The cached state is applied to the sub-surface immediately after | |
| 6188 | + * the parent surface's state is applied. This ensures atomic | |
| 6189 | + * updates of the parent and all its synchronized sub-surfaces. | |
| 6190 | + * Applying the cached state will invalidate the cache, so further | |
| 6191 | + * parent surface commits do not (re-)apply old state. | |
| 6192 | + * | |
| 6193 | + * See wl_subsurface for the recursive effect of this mode. | |
| 6194 | + */ | |
| 6195 | +static inline void | |
| 6196 | +wl_subsurface_set_sync(struct wl_subsurface *wl_subsurface) | |
| 6197 | +{ | |
| 6198 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_subsurface, | |
| 6199 | + WL_SUBSURFACE_SET_SYNC, NULL, wl_proxy_get_version((struct wl_proxy *) wl_subsurface), 0); | |
| 6200 | +} | |
| 6201 | + | |
| 6202 | +/** | |
| 6203 | + * @ingroup iface_wl_subsurface | |
| 6204 | + * | |
| 6205 | + * Change the commit behaviour of the sub-surface to desynchronized | |
| 6206 | + * mode, also described as independent or freely running mode. | |
| 6207 | + * | |
| 6208 | + * In desynchronized mode, wl_surface.commit on a sub-surface will | |
| 6209 | + * apply the pending state directly, without caching, as happens | |
| 6210 | + * normally with a wl_surface. Calling wl_surface.commit on the | |
| 6211 | + * parent surface has no effect on the sub-surface's wl_surface | |
| 6212 | + * state. This mode allows a sub-surface to be updated on its own. | |
| 6213 | + * | |
| 6214 | + * If cached state exists when wl_surface.commit is called in | |
| 6215 | + * desynchronized mode, the pending state is added to the cached | |
| 6216 | + * state, and applied as a whole. This invalidates the cache. | |
| 6217 | + * | |
| 6218 | + * Note: even if a sub-surface is set to desynchronized, a parent | |
| 6219 | + * sub-surface may override it to behave as synchronized. For details, | |
| 6220 | + * see wl_subsurface. | |
| 6221 | + * | |
| 6222 | + * If a surface's parent surface behaves as desynchronized, then | |
| 6223 | + * the cached state is applied on set_desync. | |
| 6224 | + */ | |
| 6225 | +static inline void | |
| 6226 | +wl_subsurface_set_desync(struct wl_subsurface *wl_subsurface) | |
| 6227 | +{ | |
| 6228 | + wl_proxy_marshal_flags((struct wl_proxy *) wl_subsurface, | |
| 6229 | + WL_SUBSURFACE_SET_DESYNC, NULL, wl_proxy_get_version((struct wl_proxy *) wl_subsurface), 0); | |
| 6230 | +} | |
| 6231 | + | |
| 6232 | +#ifdef __cplusplus | |
| 6233 | +} | |
| 6234 | +#endif | |
| 6235 | + | |
| 6236 | +#endif |
+85 −0 raylib/external/glfw/src/xdg-activation-v1-client-protocol-code.h new file mode 100644 Large diff collapsed, click to expand
| @@ -0,0 +1,85 @@ | ||
| 1 | +/* Generated by wayland-scanner 1.26.0 */ | |
| 2 | + | |
| 3 | +/* | |
| 4 | + * Copyright �� 2020 Aleix Pol Gonzalez <aleixpol@kde.org> | |
| 5 | + * Copyright �� 2020 Carlos Garnacho <carlosg@gnome.org> | |
| 6 | + * | |
| 7 | + * Permission is hereby granted, free of charge, to any person obtaining a | |
| 8 | + * copy of this software and associated documentation files (the "Software"), | |
| 9 | + * to deal in the Software without restriction, including without limitation | |
| 10 | + * the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
| 11 | + * and/or sell copies of the Software, and to permit persons to whom the | |
| 12 | + * Software is furnished to do so, subject to the following conditions: | |
| 13 | + * | |
| 14 | + * The above copyright notice and this permission notice (including the next | |
| 15 | + * paragraph) shall be included in all copies or substantial portions of the | |
| 16 | + * Software. | |
| 17 | + * | |
| 18 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| 19 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| 20 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | |
| 21 | + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| 22 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
| 23 | + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | |
| 24 | + * DEALINGS IN THE SOFTWARE. | |
| 25 | + */ | |
| 26 | + | |
| 27 | +#include <stdbool.h> | |
| 28 | +#include <stdlib.h> | |
| 29 | +#include <stdint.h> | |
| 30 | +#include "wayland-util.h" | |
| 31 | + | |
| 32 | +#ifndef __has_attribute | |
| 33 | +# define __has_attribute(x) 0 /* Compatibility with non-clang compilers. */ | |
| 34 | +#endif | |
| 35 | + | |
| 36 | +#if (__has_attribute(visibility) || defined(__GNUC__) && __GNUC__ >= 4) | |
| 37 | +#define WL_PRIVATE __attribute__ ((visibility("hidden"))) | |
| 38 | +#else | |
| 39 | +#define WL_PRIVATE | |
| 40 | +#endif | |
| 41 | + | |
| 42 | +extern const struct wl_interface wl_seat_interface; | |
| 43 | +extern const struct wl_interface wl_surface_interface; | |
| 44 | +extern const struct wl_interface xdg_activation_token_v1_interface; | |
| 45 | + | |
| 46 | +static const struct wl_interface *xdg_activation_v1_types[] = { | |
| 47 | + NULL, | |
| 48 | + &xdg_activation_token_v1_interface, | |
| 49 | + NULL, | |
| 50 | + &wl_surface_interface, | |
| 51 | + NULL, | |
| 52 | + &wl_seat_interface, | |
| 53 | + &wl_surface_interface, | |
| 54 | +}; | |
| 55 | + | |
| 56 | +static const struct wl_message xdg_activation_v1_requests[] = { | |
| 57 | + { "destroy", "", xdg_activation_v1_types + 0 }, | |
| 58 | + { "get_activation_token", "n", xdg_activation_v1_types + 1 }, | |
| 59 | + { "activate", "so", xdg_activation_v1_types + 2 }, | |
| 60 | +}; | |
| 61 | + | |
| 62 | +WL_PRIVATE const struct wl_interface xdg_activation_v1_interface = { | |
| 63 | + "xdg_activation_v1", 1, | |
| 64 | + 3, xdg_activation_v1_requests, | |
| 65 | + 0, NULL, | |
| 66 | +}; | |
| 67 | + | |
| 68 | +static const struct wl_message xdg_activation_token_v1_requests[] = { | |
| 69 | + { "set_serial", "uo", xdg_activation_v1_types + 4 }, | |
| 70 | + { "set_app_id", "s", xdg_activation_v1_types + 0 }, | |
| 71 | + { "set_surface", "o", xdg_activation_v1_types + 6 }, | |
| 72 | + { "commit", "", xdg_activation_v1_types + 0 }, | |
| 73 | + { "destroy", "", xdg_activation_v1_types + 0 }, | |
| 74 | +}; | |
| 75 | + | |
| 76 | +static const struct wl_message xdg_activation_token_v1_events[] = { | |
| 77 | + { "done", "s", xdg_activation_v1_types + 0 }, | |
| 78 | +}; | |
| 79 | + | |
| 80 | +WL_PRIVATE const struct wl_interface xdg_activation_token_v1_interface = { | |
| 81 | + "xdg_activation_token_v1", 1, | |
| 82 | + 5, xdg_activation_token_v1_requests, | |
| 83 | + 1, xdg_activation_token_v1_events, | |
| 84 | +}; | |
| 85 | + |
+415 −0 raylib/external/glfw/src/xdg-activation-v1-client-protocol.h new file mode 100644 Large diff collapsed, click to expand
| @@ -0,0 +1,415 @@ | ||
| 1 | +/* Generated by wayland-scanner 1.26.0 */ | |
| 2 | + | |
| 3 | +#ifndef XDG_ACTIVATION_V1_CLIENT_PROTOCOL_H | |
| 4 | +#define XDG_ACTIVATION_V1_CLIENT_PROTOCOL_H | |
| 5 | + | |
| 6 | +#include <stdint.h> | |
| 7 | +#include <stddef.h> | |
| 8 | +#include "wayland-client.h" | |
| 9 | + | |
| 10 | +#ifdef __cplusplus | |
| 11 | +extern "C" { | |
| 12 | +#endif | |
| 13 | + | |
| 14 | +/** | |
| 15 | + * @page page_xdg_activation_v1 The xdg_activation_v1 protocol | |
| 16 | + * Protocol for requesting activation of surfaces | |
| 17 | + * | |
| 18 | + * @section page_desc_xdg_activation_v1 Description | |
| 19 | + * | |
| 20 | + * The way for a client to pass focus to another toplevel is as follows. | |
| 21 | + * | |
| 22 | + * The client that intends to activate another toplevel uses the | |
| 23 | + * xdg_activation_v1.get_activation_token request to get an activation token. | |
| 24 | + * This token is then forwarded to the client, which is supposed to activate | |
| 25 | + * one of its surfaces, through a separate band of communication. | |
| 26 | + * | |
| 27 | + * One established way of doing this is through the XDG_ACTIVATION_TOKEN | |
| 28 | + * environment variable of a newly launched child process. The child process | |
| 29 | + * should unset the environment variable again right after reading it out in | |
| 30 | + * order to avoid propagating it to other child processes. | |
| 31 | + * | |
| 32 | + * Another established way exists for Applications implementing the D-Bus | |
| 33 | + * interface org.freedesktop.Application, which should get their token under | |
| 34 | + * activation-token on their platform_data. | |
| 35 | + * | |
| 36 | + * In general activation tokens may be transferred across clients through | |
| 37 | + * means not described in this protocol. | |
| 38 | + * | |
| 39 | + * The client to be activated will then pass the token | |
| 40 | + * it received to the xdg_activation_v1.activate request. The compositor can | |
| 41 | + * then use this token to decide how to react to the activation request. | |
| 42 | + * | |
| 43 | + * The token the activating client gets may be ineffective either already at | |
| 44 | + * the time it receives it, for example if it was not focused, for focus | |
| 45 | + * stealing prevention. The activating client will have no way to discover | |
| 46 | + * the validity of the token, and may still forward it to the to be activated | |
| 47 | + * client. | |
| 48 | + * | |
| 49 | + * The created activation token may optionally get information attached to it | |
| 50 | + * that can be used by the compositor to identify the application that we | |
| 51 | + * intend to activate. This can for example be used to display a visual hint | |
| 52 | + * about what application is being started. | |
| 53 | + * | |
| 54 | + * Warning! The protocol described in this file is currently in the testing | |
| 55 | + * phase. Backward compatible changes may be added together with the | |
| 56 | + * corresponding interface version bump. Backward incompatible changes can | |
| 57 | + * only be done by creating a new major version of the extension. | |
| 58 | + * | |
| 59 | + * @section page_ifaces_xdg_activation_v1 Interfaces | |
| 60 | + * - @subpage page_iface_xdg_activation_v1 - interface for activating surfaces | |
| 61 | + * - @subpage page_iface_xdg_activation_token_v1 - an exported activation handle | |
| 62 | + * @section page_copyright_xdg_activation_v1 Copyright | |
| 63 | + * <pre> | |
| 64 | + * | |
| 65 | + * Copyright �� 2020 Aleix Pol Gonzalez <aleixpol@kde.org> | |
| 66 | + * Copyright �� 2020 Carlos Garnacho <carlosg@gnome.org> | |
| 67 | + * | |
| 68 | + * Permission is hereby granted, free of charge, to any person obtaining a | |
| 69 | + * copy of this software and associated documentation files (the "Software"), | |
| 70 | + * to deal in the Software without restriction, including without limitation | |
| 71 | + * the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
| 72 | + * and/or sell copies of the Software, and to permit persons to whom the | |
| 73 | + * Software is furnished to do so, subject to the following conditions: | |
| 74 | + * | |
| 75 | + * The above copyright notice and this permission notice (including the next | |
| 76 | + * paragraph) shall be included in all copies or substantial portions of the | |
| 77 | + * Software. | |
| 78 | + * | |
| 79 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| 80 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| 81 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | |
| 82 | + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| 83 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
| 84 | + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | |
| 85 | + * DEALINGS IN THE SOFTWARE. | |
| 86 | + * </pre> | |
| 87 | + */ | |
| 88 | +struct wl_seat; | |
| 89 | +struct wl_surface; | |
| 90 | +struct xdg_activation_token_v1; | |
| 91 | +struct xdg_activation_v1; | |
| 92 | + | |
| 93 | +#ifndef XDG_ACTIVATION_V1_INTERFACE | |
| 94 | +#define XDG_ACTIVATION_V1_INTERFACE | |
| 95 | +/** | |
| 96 | + * @page page_iface_xdg_activation_v1 xdg_activation_v1 | |
| 97 | + * @section page_iface_xdg_activation_v1_desc Description | |
| 98 | + * | |
| 99 | + * A global interface used for informing the compositor about applications | |
| 100 | + * being activated or started, or for applications to request to be | |
| 101 | + * activated. | |
| 102 | + * @section page_iface_xdg_activation_v1_api API | |
| 103 | + * See @ref iface_xdg_activation_v1. | |
| 104 | + */ | |
| 105 | +/** | |
| 106 | + * @defgroup iface_xdg_activation_v1 The xdg_activation_v1 interface | |
| 107 | + * | |
| 108 | + * A global interface used for informing the compositor about applications | |
| 109 | + * being activated or started, or for applications to request to be | |
| 110 | + * activated. | |
| 111 | + */ | |
| 112 | +extern const struct wl_interface xdg_activation_v1_interface; | |
| 113 | +#endif | |
| 114 | +#ifndef XDG_ACTIVATION_TOKEN_V1_INTERFACE | |
| 115 | +#define XDG_ACTIVATION_TOKEN_V1_INTERFACE | |
| 116 | +/** | |
| 117 | + * @page page_iface_xdg_activation_token_v1 xdg_activation_token_v1 | |
| 118 | + * @section page_iface_xdg_activation_token_v1_desc Description | |
| 119 | + * | |
| 120 | + * An object for setting up a token and receiving a token handle that can | |
| 121 | + * be passed as an activation token to another client. | |
| 122 | + * | |
| 123 | + * The object is created using the xdg_activation_v1.get_activation_token | |
| 124 | + * request. This object should then be populated with the app_id, surface | |
| 125 | + * and serial information and committed. The compositor shall then issue a | |
| 126 | + * done event with the token. In case the request's parameters are invalid, | |
| 127 | + * the compositor will provide an invalid token. | |
| 128 | + * @section page_iface_xdg_activation_token_v1_api API | |
| 129 | + * See @ref iface_xdg_activation_token_v1. | |
| 130 | + */ | |
| 131 | +/** | |
| 132 | + * @defgroup iface_xdg_activation_token_v1 The xdg_activation_token_v1 interface | |
| 133 | + * | |
| 134 | + * An object for setting up a token and receiving a token handle that can | |
| 135 | + * be passed as an activation token to another client. | |
| 136 | + * | |
| 137 | + * The object is created using the xdg_activation_v1.get_activation_token | |
| 138 | + * request. This object should then be populated with the app_id, surface | |
| 139 | + * and serial information and committed. The compositor shall then issue a | |
| 140 | + * done event with the token. In case the request's parameters are invalid, | |
| 141 | + * the compositor will provide an invalid token. | |
| 142 | + */ | |
| 143 | +extern const struct wl_interface xdg_activation_token_v1_interface; | |
| 144 | +#endif | |
| 145 | + | |
| 146 | +#define XDG_ACTIVATION_V1_DESTROY 0 | |
| 147 | +#define XDG_ACTIVATION_V1_GET_ACTIVATION_TOKEN 1 | |
| 148 | +#define XDG_ACTIVATION_V1_ACTIVATE 2 | |
| 149 | + | |
| 150 | + | |
| 151 | +/** | |
| 152 | + * @ingroup iface_xdg_activation_v1 | |
| 153 | + */ | |
| 154 | +#define XDG_ACTIVATION_V1_DESTROY_SINCE_VERSION 1 | |
| 155 | +/** | |
| 156 | + * @ingroup iface_xdg_activation_v1 | |
| 157 | + */ | |
| 158 | +#define XDG_ACTIVATION_V1_GET_ACTIVATION_TOKEN_SINCE_VERSION 1 | |
| 159 | +/** | |
| 160 | + * @ingroup iface_xdg_activation_v1 | |
| 161 | + */ | |
| 162 | +#define XDG_ACTIVATION_V1_ACTIVATE_SINCE_VERSION 1 | |
| 163 | + | |
| 164 | +/** @ingroup iface_xdg_activation_v1 */ | |
| 165 | +static inline void | |
| 166 | +xdg_activation_v1_set_user_data(struct xdg_activation_v1 *xdg_activation_v1, void *user_data) | |
| 167 | +{ | |
| 168 | + wl_proxy_set_user_data((struct wl_proxy *) xdg_activation_v1, user_data); | |
| 169 | +} | |
| 170 | + | |
| 171 | +/** @ingroup iface_xdg_activation_v1 */ | |
| 172 | +static inline void * | |
| 173 | +xdg_activation_v1_get_user_data(struct xdg_activation_v1 *xdg_activation_v1) | |
| 174 | +{ | |
| 175 | + return wl_proxy_get_user_data((struct wl_proxy *) xdg_activation_v1); | |
| 176 | +} | |
| 177 | + | |
| 178 | +static inline uint32_t | |
| 179 | +xdg_activation_v1_get_version(struct xdg_activation_v1 *xdg_activation_v1) | |
| 180 | +{ | |
| 181 | + return wl_proxy_get_version((struct wl_proxy *) xdg_activation_v1); | |
| 182 | +} | |
| 183 | + | |
| 184 | +/** | |
| 185 | + * @ingroup iface_xdg_activation_v1 | |
| 186 | + * | |
| 187 | + * Notify the compositor that the xdg_activation object will no longer be | |
| 188 | + * used. | |
| 189 | + * | |
| 190 | + * The child objects created via this interface are unaffected and should | |
| 191 | + * be destroyed separately. | |
| 192 | + */ | |
| 193 | +static inline void | |
| 194 | +xdg_activation_v1_destroy(struct xdg_activation_v1 *xdg_activation_v1) | |
| 195 | +{ | |
| 196 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_activation_v1, | |
| 197 | + XDG_ACTIVATION_V1_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_activation_v1), WL_MARSHAL_FLAG_DESTROY); | |
| 198 | +} | |
| 199 | + | |
| 200 | +/** | |
| 201 | + * @ingroup iface_xdg_activation_v1 | |
| 202 | + * | |
| 203 | + * Creates an xdg_activation_token_v1 object that will provide | |
| 204 | + * the initiating client with a unique token for this activation. This | |
| 205 | + * token should be offered to the clients to be activated. | |
| 206 | + */ | |
| 207 | +static inline struct xdg_activation_token_v1 * | |
| 208 | +xdg_activation_v1_get_activation_token(struct xdg_activation_v1 *xdg_activation_v1) | |
| 209 | +{ | |
| 210 | + struct wl_proxy *id; | |
| 211 | + | |
| 212 | + id = wl_proxy_marshal_flags((struct wl_proxy *) xdg_activation_v1, | |
| 213 | + XDG_ACTIVATION_V1_GET_ACTIVATION_TOKEN, &xdg_activation_token_v1_interface, wl_proxy_get_version((struct wl_proxy *) xdg_activation_v1), 0, NULL); | |
| 214 | + | |
| 215 | + return (struct xdg_activation_token_v1 *) id; | |
| 216 | +} | |
| 217 | + | |
| 218 | +/** | |
| 219 | + * @ingroup iface_xdg_activation_v1 | |
| 220 | + * | |
| 221 | + * Requests surface activation. It's up to the compositor to display | |
| 222 | + * this information as desired, for example by placing the surface above | |
| 223 | + * the rest. | |
| 224 | + * | |
| 225 | + * The compositor may know who requested this by checking the activation | |
| 226 | + * token and might decide not to follow through with the activation if it's | |
| 227 | + * considered unwanted. | |
| 228 | + * | |
| 229 | + * Compositors can ignore unknown activation tokens when an invalid | |
| 230 | + * token is passed. | |
| 231 | + */ | |
| 232 | +static inline void | |
| 233 | +xdg_activation_v1_activate(struct xdg_activation_v1 *xdg_activation_v1, const char *token, struct wl_surface *surface) | |
| 234 | +{ | |
| 235 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_activation_v1, | |
| 236 | + XDG_ACTIVATION_V1_ACTIVATE, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_activation_v1), 0, token, surface); | |
| 237 | +} | |
| 238 | + | |
| 239 | +#ifndef XDG_ACTIVATION_TOKEN_V1_ERROR_ENUM | |
| 240 | +#define XDG_ACTIVATION_TOKEN_V1_ERROR_ENUM | |
| 241 | +enum xdg_activation_token_v1_error { | |
| 242 | + /** | |
| 243 | + * The token has already been used previously | |
| 244 | + */ | |
| 245 | + XDG_ACTIVATION_TOKEN_V1_ERROR_ALREADY_USED = 0, | |
| 246 | +}; | |
| 247 | +#endif /* XDG_ACTIVATION_TOKEN_V1_ERROR_ENUM */ | |
| 248 | + | |
| 249 | +/** | |
| 250 | + * @ingroup iface_xdg_activation_token_v1 | |
| 251 | + * @struct xdg_activation_token_v1_listener | |
| 252 | + */ | |
| 253 | +struct xdg_activation_token_v1_listener { | |
| 254 | + /** | |
| 255 | + * the exported activation token | |
| 256 | + * | |
| 257 | + * The 'done' event contains the unique token of this activation | |
| 258 | + * request and notifies that the provider is done. | |
| 259 | + * @param token the exported activation token | |
| 260 | + */ | |
| 261 | + void (*done)(void *data, | |
| 262 | + struct xdg_activation_token_v1 *xdg_activation_token_v1, | |
| 263 | + const char *token); | |
| 264 | +}; | |
| 265 | + | |
| 266 | +/** | |
| 267 | + * @ingroup iface_xdg_activation_token_v1 | |
| 268 | + */ | |
| 269 | +static inline int | |
| 270 | +xdg_activation_token_v1_add_listener(struct xdg_activation_token_v1 *xdg_activation_token_v1, | |
| 271 | + const struct xdg_activation_token_v1_listener *listener, void *data) | |
| 272 | +{ | |
| 273 | + return wl_proxy_add_listener((struct wl_proxy *) xdg_activation_token_v1, | |
| 274 | + (void (**)(void)) listener, data); | |
| 275 | +} | |
| 276 | + | |
| 277 | +#define XDG_ACTIVATION_TOKEN_V1_SET_SERIAL 0 | |
| 278 | +#define XDG_ACTIVATION_TOKEN_V1_SET_APP_ID 1 | |
| 279 | +#define XDG_ACTIVATION_TOKEN_V1_SET_SURFACE 2 | |
| 280 | +#define XDG_ACTIVATION_TOKEN_V1_COMMIT 3 | |
| 281 | +#define XDG_ACTIVATION_TOKEN_V1_DESTROY 4 | |
| 282 | + | |
| 283 | +/** | |
| 284 | + * @ingroup iface_xdg_activation_token_v1 | |
| 285 | + */ | |
| 286 | +#define XDG_ACTIVATION_TOKEN_V1_DONE_SINCE_VERSION 1 | |
| 287 | + | |
| 288 | +/** | |
| 289 | + * @ingroup iface_xdg_activation_token_v1 | |
| 290 | + */ | |
| 291 | +#define XDG_ACTIVATION_TOKEN_V1_SET_SERIAL_SINCE_VERSION 1 | |
| 292 | +/** | |
| 293 | + * @ingroup iface_xdg_activation_token_v1 | |
| 294 | + */ | |
| 295 | +#define XDG_ACTIVATION_TOKEN_V1_SET_APP_ID_SINCE_VERSION 1 | |
| 296 | +/** | |
| 297 | + * @ingroup iface_xdg_activation_token_v1 | |
| 298 | + */ | |
| 299 | +#define XDG_ACTIVATION_TOKEN_V1_SET_SURFACE_SINCE_VERSION 1 | |
| 300 | +/** | |
| 301 | + * @ingroup iface_xdg_activation_token_v1 | |
| 302 | + */ | |
| 303 | +#define XDG_ACTIVATION_TOKEN_V1_COMMIT_SINCE_VERSION 1 | |
| 304 | +/** | |
| 305 | + * @ingroup iface_xdg_activation_token_v1 | |
| 306 | + */ | |
| 307 | +#define XDG_ACTIVATION_TOKEN_V1_DESTROY_SINCE_VERSION 1 | |
| 308 | + | |
| 309 | +/** @ingroup iface_xdg_activation_token_v1 */ | |
| 310 | +static inline void | |
| 311 | +xdg_activation_token_v1_set_user_data(struct xdg_activation_token_v1 *xdg_activation_token_v1, void *user_data) | |
| 312 | +{ | |
| 313 | + wl_proxy_set_user_data((struct wl_proxy *) xdg_activation_token_v1, user_data); | |
| 314 | +} | |
| 315 | + | |
| 316 | +/** @ingroup iface_xdg_activation_token_v1 */ | |
| 317 | +static inline void * | |
| 318 | +xdg_activation_token_v1_get_user_data(struct xdg_activation_token_v1 *xdg_activation_token_v1) | |
| 319 | +{ | |
| 320 | + return wl_proxy_get_user_data((struct wl_proxy *) xdg_activation_token_v1); | |
| 321 | +} | |
| 322 | + | |
| 323 | +static inline uint32_t | |
| 324 | +xdg_activation_token_v1_get_version(struct xdg_activation_token_v1 *xdg_activation_token_v1) | |
| 325 | +{ | |
| 326 | + return wl_proxy_get_version((struct wl_proxy *) xdg_activation_token_v1); | |
| 327 | +} | |
| 328 | + | |
| 329 | +/** | |
| 330 | + * @ingroup iface_xdg_activation_token_v1 | |
| 331 | + * | |
| 332 | + * Provides information about the seat and serial event that requested the | |
| 333 | + * token. | |
| 334 | + * | |
| 335 | + * The serial can come from an input or focus event. For instance, if a | |
| 336 | + * click triggers the launch of a third-party client, the launcher client | |
| 337 | + * should send a set_serial request with the serial and seat from the | |
| 338 | + * wl_pointer.button event. | |
| 339 | + * | |
| 340 | + * Some compositors might refuse to activate toplevels when the token | |
| 341 | + * doesn't have a valid and recent enough event serial. | |
| 342 | + * | |
| 343 | + * Must be sent before commit. This information is optional. | |
| 344 | + */ | |
| 345 | +static inline void | |
| 346 | +xdg_activation_token_v1_set_serial(struct xdg_activation_token_v1 *xdg_activation_token_v1, uint32_t serial, struct wl_seat *seat) | |
| 347 | +{ | |
| 348 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_activation_token_v1, | |
| 349 | + XDG_ACTIVATION_TOKEN_V1_SET_SERIAL, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_activation_token_v1), 0, serial, seat); | |
| 350 | +} | |
| 351 | + | |
| 352 | +/** | |
| 353 | + * @ingroup iface_xdg_activation_token_v1 | |
| 354 | + * | |
| 355 | + * The requesting client can specify an app_id to associate the token | |
| 356 | + * being created with it. | |
| 357 | + * | |
| 358 | + * Must be sent before commit. This information is optional. | |
| 359 | + */ | |
| 360 | +static inline void | |
| 361 | +xdg_activation_token_v1_set_app_id(struct xdg_activation_token_v1 *xdg_activation_token_v1, const char *app_id) | |
| 362 | +{ | |
| 363 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_activation_token_v1, | |
| 364 | + XDG_ACTIVATION_TOKEN_V1_SET_APP_ID, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_activation_token_v1), 0, app_id); | |
| 365 | +} | |
| 366 | + | |
| 367 | +/** | |
| 368 | + * @ingroup iface_xdg_activation_token_v1 | |
| 369 | + * | |
| 370 | + * This request sets the surface requesting the activation. Note, this is | |
| 371 | + * different from the surface that will be activated. | |
| 372 | + * | |
| 373 | + * Some compositors might refuse to activate toplevels when the token | |
| 374 | + * doesn't have a requesting surface. | |
| 375 | + * | |
| 376 | + * Must be sent before commit. This information is optional. | |
| 377 | + */ | |
| 378 | +static inline void | |
| 379 | +xdg_activation_token_v1_set_surface(struct xdg_activation_token_v1 *xdg_activation_token_v1, struct wl_surface *surface) | |
| 380 | +{ | |
| 381 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_activation_token_v1, | |
| 382 | + XDG_ACTIVATION_TOKEN_V1_SET_SURFACE, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_activation_token_v1), 0, surface); | |
| 383 | +} | |
| 384 | + | |
| 385 | +/** | |
| 386 | + * @ingroup iface_xdg_activation_token_v1 | |
| 387 | + * | |
| 388 | + * Requests an activation token based on the different parameters that | |
| 389 | + * have been offered through set_serial, set_surface and set_app_id. | |
| 390 | + */ | |
| 391 | +static inline void | |
| 392 | +xdg_activation_token_v1_commit(struct xdg_activation_token_v1 *xdg_activation_token_v1) | |
| 393 | +{ | |
| 394 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_activation_token_v1, | |
| 395 | + XDG_ACTIVATION_TOKEN_V1_COMMIT, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_activation_token_v1), 0); | |
| 396 | +} | |
| 397 | + | |
| 398 | +/** | |
| 399 | + * @ingroup iface_xdg_activation_token_v1 | |
| 400 | + * | |
| 401 | + * Notify the compositor that the xdg_activation_token_v1 object will no | |
| 402 | + * longer be used. The received token stays valid. | |
| 403 | + */ | |
| 404 | +static inline void | |
| 405 | +xdg_activation_token_v1_destroy(struct xdg_activation_token_v1 *xdg_activation_token_v1) | |
| 406 | +{ | |
| 407 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_activation_token_v1, | |
| 408 | + XDG_ACTIVATION_TOKEN_V1_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_activation_token_v1), WL_MARSHAL_FLAG_DESTROY); | |
| 409 | +} | |
| 410 | + | |
| 411 | +#ifdef __cplusplus | |
| 412 | +} | |
| 413 | +#endif | |
| 414 | + | |
| 415 | +#endif |
+76 −0 raylib/external/glfw/src/xdg-decoration-unstable-v1-client-protocol-code.h new file mode 100644 Large diff collapsed, click to expand
| @@ -0,0 +1,76 @@ | ||
| 1 | +/* Generated by wayland-scanner 1.26.0 */ | |
| 2 | + | |
| 3 | +/* | |
| 4 | + * Copyright �� 2018 Simon Ser | |
| 5 | + * | |
| 6 | + * Permission is hereby granted, free of charge, to any person obtaining a | |
| 7 | + * copy of this software and associated documentation files (the "Software"), | |
| 8 | + * to deal in the Software without restriction, including without limitation | |
| 9 | + * the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
| 10 | + * and/or sell copies of the Software, and to permit persons to whom the | |
| 11 | + * Software is furnished to do so, subject to the following conditions: | |
| 12 | + * | |
| 13 | + * The above copyright notice and this permission notice (including the next | |
| 14 | + * paragraph) shall be included in all copies or substantial portions of the | |
| 15 | + * Software. | |
| 16 | + * | |
| 17 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| 18 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| 19 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | |
| 20 | + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| 21 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
| 22 | + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | |
| 23 | + * DEALINGS IN THE SOFTWARE. | |
| 24 | + */ | |
| 25 | + | |
| 26 | +#include <stdbool.h> | |
| 27 | +#include <stdlib.h> | |
| 28 | +#include <stdint.h> | |
| 29 | +#include "wayland-util.h" | |
| 30 | + | |
| 31 | +#ifndef __has_attribute | |
| 32 | +# define __has_attribute(x) 0 /* Compatibility with non-clang compilers. */ | |
| 33 | +#endif | |
| 34 | + | |
| 35 | +#if (__has_attribute(visibility) || defined(__GNUC__) && __GNUC__ >= 4) | |
| 36 | +#define WL_PRIVATE __attribute__ ((visibility("hidden"))) | |
| 37 | +#else | |
| 38 | +#define WL_PRIVATE | |
| 39 | +#endif | |
| 40 | + | |
| 41 | +extern const struct wl_interface xdg_toplevel_interface; | |
| 42 | +extern const struct wl_interface zxdg_toplevel_decoration_v1_interface; | |
| 43 | + | |
| 44 | +static const struct wl_interface *xdg_decoration_unstable_v1_types[] = { | |
| 45 | + NULL, | |
| 46 | + &zxdg_toplevel_decoration_v1_interface, | |
| 47 | + &xdg_toplevel_interface, | |
| 48 | +}; | |
| 49 | + | |
| 50 | +static const struct wl_message zxdg_decoration_manager_v1_requests[] = { | |
| 51 | + { "destroy", "", xdg_decoration_unstable_v1_types + 0 }, | |
| 52 | + { "get_toplevel_decoration", "no", xdg_decoration_unstable_v1_types + 1 }, | |
| 53 | +}; | |
| 54 | + | |
| 55 | +WL_PRIVATE const struct wl_interface zxdg_decoration_manager_v1_interface = { | |
| 56 | + "zxdg_decoration_manager_v1", 1, | |
| 57 | + 2, zxdg_decoration_manager_v1_requests, | |
| 58 | + 0, NULL, | |
| 59 | +}; | |
| 60 | + | |
| 61 | +static const struct wl_message zxdg_toplevel_decoration_v1_requests[] = { | |
| 62 | + { "destroy", "", xdg_decoration_unstable_v1_types + 0 }, | |
| 63 | + { "set_mode", "u", xdg_decoration_unstable_v1_types + 0 }, | |
| 64 | + { "unset_mode", "", xdg_decoration_unstable_v1_types + 0 }, | |
| 65 | +}; | |
| 66 | + | |
| 67 | +static const struct wl_message zxdg_toplevel_decoration_v1_events[] = { | |
| 68 | + { "configure", "u", xdg_decoration_unstable_v1_types + 0 }, | |
| 69 | +}; | |
| 70 | + | |
| 71 | +WL_PRIVATE const struct wl_interface zxdg_toplevel_decoration_v1_interface = { | |
| 72 | + "zxdg_toplevel_decoration_v1", 1, | |
| 73 | + 3, zxdg_toplevel_decoration_v1_requests, | |
| 74 | + 1, zxdg_toplevel_decoration_v1_events, | |
| 75 | +}; | |
| 76 | + |
+378 −0 raylib/external/glfw/src/xdg-decoration-unstable-v1-client-protocol.h new file mode 100644 Large diff collapsed, click to expand
| @@ -0,0 +1,378 @@ | ||
| 1 | +/* Generated by wayland-scanner 1.26.0 */ | |
| 2 | + | |
| 3 | +#ifndef XDG_DECORATION_UNSTABLE_V1_CLIENT_PROTOCOL_H | |
| 4 | +#define XDG_DECORATION_UNSTABLE_V1_CLIENT_PROTOCOL_H | |
| 5 | + | |
| 6 | +#include <stdint.h> | |
| 7 | +#include <stddef.h> | |
| 8 | +#include "wayland-client.h" | |
| 9 | + | |
| 10 | +#ifdef __cplusplus | |
| 11 | +extern "C" { | |
| 12 | +#endif | |
| 13 | + | |
| 14 | +/** | |
| 15 | + * @page page_xdg_decoration_unstable_v1 The xdg_decoration_unstable_v1 protocol | |
| 16 | + * @section page_ifaces_xdg_decoration_unstable_v1 Interfaces | |
| 17 | + * - @subpage page_iface_zxdg_decoration_manager_v1 - window decoration manager | |
| 18 | + * - @subpage page_iface_zxdg_toplevel_decoration_v1 - decoration object for a toplevel surface | |
| 19 | + * @section page_copyright_xdg_decoration_unstable_v1 Copyright | |
| 20 | + * <pre> | |
| 21 | + * | |
| 22 | + * Copyright �� 2018 Simon Ser | |
| 23 | + * | |
| 24 | + * Permission is hereby granted, free of charge, to any person obtaining a | |
| 25 | + * copy of this software and associated documentation files (the "Software"), | |
| 26 | + * to deal in the Software without restriction, including without limitation | |
| 27 | + * the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
| 28 | + * and/or sell copies of the Software, and to permit persons to whom the | |
| 29 | + * Software is furnished to do so, subject to the following conditions: | |
| 30 | + * | |
| 31 | + * The above copyright notice and this permission notice (including the next | |
| 32 | + * paragraph) shall be included in all copies or substantial portions of the | |
| 33 | + * Software. | |
| 34 | + * | |
| 35 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| 36 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| 37 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | |
| 38 | + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| 39 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
| 40 | + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | |
| 41 | + * DEALINGS IN THE SOFTWARE. | |
| 42 | + * </pre> | |
| 43 | + */ | |
| 44 | +struct xdg_toplevel; | |
| 45 | +struct zxdg_decoration_manager_v1; | |
| 46 | +struct zxdg_toplevel_decoration_v1; | |
| 47 | + | |
| 48 | +#ifndef ZXDG_DECORATION_MANAGER_V1_INTERFACE | |
| 49 | +#define ZXDG_DECORATION_MANAGER_V1_INTERFACE | |
| 50 | +/** | |
| 51 | + * @page page_iface_zxdg_decoration_manager_v1 zxdg_decoration_manager_v1 | |
| 52 | + * @section page_iface_zxdg_decoration_manager_v1_desc Description | |
| 53 | + * | |
| 54 | + * This interface allows a compositor to announce support for server-side | |
| 55 | + * decorations. | |
| 56 | + * | |
| 57 | + * A window decoration is a set of window controls as deemed appropriate by | |
| 58 | + * the party managing them, such as user interface components used to move, | |
| 59 | + * resize and change a window's state. | |
| 60 | + * | |
| 61 | + * A client can use this protocol to request being decorated by a supporting | |
| 62 | + * compositor. | |
| 63 | + * | |
| 64 | + * If compositor and client do not negotiate the use of a server-side | |
| 65 | + * decoration using this protocol, clients continue to self-decorate as they | |
| 66 | + * see fit. | |
| 67 | + * | |
| 68 | + * Warning! The protocol described in this file is experimental and | |
| 69 | + * backward incompatible changes may be made. Backward compatible changes | |
| 70 | + * may be added together with the corresponding interface version bump. | |
| 71 | + * Backward incompatible changes are done by bumping the version number in | |
| 72 | + * the protocol and interface names and resetting the interface version. | |
| 73 | + * Once the protocol is to be declared stable, the 'z' prefix and the | |
| 74 | + * version number in the protocol and interface names are removed and the | |
| 75 | + * interface version number is reset. | |
| 76 | + * @section page_iface_zxdg_decoration_manager_v1_api API | |
| 77 | + * See @ref iface_zxdg_decoration_manager_v1. | |
| 78 | + */ | |
| 79 | +/** | |
| 80 | + * @defgroup iface_zxdg_decoration_manager_v1 The zxdg_decoration_manager_v1 interface | |
| 81 | + * | |
| 82 | + * This interface allows a compositor to announce support for server-side | |
| 83 | + * decorations. | |
| 84 | + * | |
| 85 | + * A window decoration is a set of window controls as deemed appropriate by | |
| 86 | + * the party managing them, such as user interface components used to move, | |
| 87 | + * resize and change a window's state. | |
| 88 | + * | |
| 89 | + * A client can use this protocol to request being decorated by a supporting | |
| 90 | + * compositor. | |
| 91 | + * | |
| 92 | + * If compositor and client do not negotiate the use of a server-side | |
| 93 | + * decoration using this protocol, clients continue to self-decorate as they | |
| 94 | + * see fit. | |
| 95 | + * | |
| 96 | + * Warning! The protocol described in this file is experimental and | |
| 97 | + * backward incompatible changes may be made. Backward compatible changes | |
| 98 | + * may be added together with the corresponding interface version bump. | |
| 99 | + * Backward incompatible changes are done by bumping the version number in | |
| 100 | + * the protocol and interface names and resetting the interface version. | |
| 101 | + * Once the protocol is to be declared stable, the 'z' prefix and the | |
| 102 | + * version number in the protocol and interface names are removed and the | |
| 103 | + * interface version number is reset. | |
| 104 | + */ | |
| 105 | +extern const struct wl_interface zxdg_decoration_manager_v1_interface; | |
| 106 | +#endif | |
| 107 | +#ifndef ZXDG_TOPLEVEL_DECORATION_V1_INTERFACE | |
| 108 | +#define ZXDG_TOPLEVEL_DECORATION_V1_INTERFACE | |
| 109 | +/** | |
| 110 | + * @page page_iface_zxdg_toplevel_decoration_v1 zxdg_toplevel_decoration_v1 | |
| 111 | + * @section page_iface_zxdg_toplevel_decoration_v1_desc Description | |
| 112 | + * | |
| 113 | + * The decoration object allows the compositor to toggle server-side window | |
| 114 | + * decorations for a toplevel surface. The client can request to switch to | |
| 115 | + * another mode. | |
| 116 | + * | |
| 117 | + * The xdg_toplevel_decoration object must be destroyed before its | |
| 118 | + * xdg_toplevel. | |
| 119 | + * @section page_iface_zxdg_toplevel_decoration_v1_api API | |
| 120 | + * See @ref iface_zxdg_toplevel_decoration_v1. | |
| 121 | + */ | |
| 122 | +/** | |
| 123 | + * @defgroup iface_zxdg_toplevel_decoration_v1 The zxdg_toplevel_decoration_v1 interface | |
| 124 | + * | |
| 125 | + * The decoration object allows the compositor to toggle server-side window | |
| 126 | + * decorations for a toplevel surface. The client can request to switch to | |
| 127 | + * another mode. | |
| 128 | + * | |
| 129 | + * The xdg_toplevel_decoration object must be destroyed before its | |
| 130 | + * xdg_toplevel. | |
| 131 | + */ | |
| 132 | +extern const struct wl_interface zxdg_toplevel_decoration_v1_interface; | |
| 133 | +#endif | |
| 134 | + | |
| 135 | +#define ZXDG_DECORATION_MANAGER_V1_DESTROY 0 | |
| 136 | +#define ZXDG_DECORATION_MANAGER_V1_GET_TOPLEVEL_DECORATION 1 | |
| 137 | + | |
| 138 | + | |
| 139 | +/** | |
| 140 | + * @ingroup iface_zxdg_decoration_manager_v1 | |
| 141 | + */ | |
| 142 | +#define ZXDG_DECORATION_MANAGER_V1_DESTROY_SINCE_VERSION 1 | |
| 143 | +/** | |
| 144 | + * @ingroup iface_zxdg_decoration_manager_v1 | |
| 145 | + */ | |
| 146 | +#define ZXDG_DECORATION_MANAGER_V1_GET_TOPLEVEL_DECORATION_SINCE_VERSION 1 | |
| 147 | + | |
| 148 | +/** @ingroup iface_zxdg_decoration_manager_v1 */ | |
| 149 | +static inline void | |
| 150 | +zxdg_decoration_manager_v1_set_user_data(struct zxdg_decoration_manager_v1 *zxdg_decoration_manager_v1, void *user_data) | |
| 151 | +{ | |
| 152 | + wl_proxy_set_user_data((struct wl_proxy *) zxdg_decoration_manager_v1, user_data); | |
| 153 | +} | |
| 154 | + | |
| 155 | +/** @ingroup iface_zxdg_decoration_manager_v1 */ | |
| 156 | +static inline void * | |
| 157 | +zxdg_decoration_manager_v1_get_user_data(struct zxdg_decoration_manager_v1 *zxdg_decoration_manager_v1) | |
| 158 | +{ | |
| 159 | + return wl_proxy_get_user_data((struct wl_proxy *) zxdg_decoration_manager_v1); | |
| 160 | +} | |
| 161 | + | |
| 162 | +static inline uint32_t | |
| 163 | +zxdg_decoration_manager_v1_get_version(struct zxdg_decoration_manager_v1 *zxdg_decoration_manager_v1) | |
| 164 | +{ | |
| 165 | + return wl_proxy_get_version((struct wl_proxy *) zxdg_decoration_manager_v1); | |
| 166 | +} | |
| 167 | + | |
| 168 | +/** | |
| 169 | + * @ingroup iface_zxdg_decoration_manager_v1 | |
| 170 | + * | |
| 171 | + * Destroy the decoration manager. This doesn't destroy objects created | |
| 172 | + * with the manager. | |
| 173 | + */ | |
| 174 | +static inline void | |
| 175 | +zxdg_decoration_manager_v1_destroy(struct zxdg_decoration_manager_v1 *zxdg_decoration_manager_v1) | |
| 176 | +{ | |
| 177 | + wl_proxy_marshal_flags((struct wl_proxy *) zxdg_decoration_manager_v1, | |
| 178 | + ZXDG_DECORATION_MANAGER_V1_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) zxdg_decoration_manager_v1), WL_MARSHAL_FLAG_DESTROY); | |
| 179 | +} | |
| 180 | + | |
| 181 | +/** | |
| 182 | + * @ingroup iface_zxdg_decoration_manager_v1 | |
| 183 | + * | |
| 184 | + * Create a new decoration object associated with the given toplevel. | |
| 185 | + * | |
| 186 | + * Creating an xdg_toplevel_decoration from an xdg_toplevel which has a | |
| 187 | + * buffer attached or committed is a client error, and any attempts by a | |
| 188 | + * client to attach or manipulate a buffer prior to the first | |
| 189 | + * xdg_toplevel_decoration.configure event must also be treated as | |
| 190 | + * errors. | |
| 191 | + */ | |
| 192 | +static inline struct zxdg_toplevel_decoration_v1 * | |
| 193 | +zxdg_decoration_manager_v1_get_toplevel_decoration(struct zxdg_decoration_manager_v1 *zxdg_decoration_manager_v1, struct xdg_toplevel *toplevel) | |
| 194 | +{ | |
| 195 | + struct wl_proxy *id; | |
| 196 | + | |
| 197 | + id = wl_proxy_marshal_flags((struct wl_proxy *) zxdg_decoration_manager_v1, | |
| 198 | + ZXDG_DECORATION_MANAGER_V1_GET_TOPLEVEL_DECORATION, &zxdg_toplevel_decoration_v1_interface, wl_proxy_get_version((struct wl_proxy *) zxdg_decoration_manager_v1), 0, NULL, toplevel); | |
| 199 | + | |
| 200 | + return (struct zxdg_toplevel_decoration_v1 *) id; | |
| 201 | +} | |
| 202 | + | |
| 203 | +#ifndef ZXDG_TOPLEVEL_DECORATION_V1_ERROR_ENUM | |
| 204 | +#define ZXDG_TOPLEVEL_DECORATION_V1_ERROR_ENUM | |
| 205 | +enum zxdg_toplevel_decoration_v1_error { | |
| 206 | + /** | |
| 207 | + * xdg_toplevel has a buffer attached before configure | |
| 208 | + */ | |
| 209 | + ZXDG_TOPLEVEL_DECORATION_V1_ERROR_UNCONFIGURED_BUFFER = 0, | |
| 210 | + /** | |
| 211 | + * xdg_toplevel already has a decoration object | |
| 212 | + */ | |
| 213 | + ZXDG_TOPLEVEL_DECORATION_V1_ERROR_ALREADY_CONSTRUCTED = 1, | |
| 214 | + /** | |
| 215 | + * xdg_toplevel destroyed before the decoration object | |
| 216 | + */ | |
| 217 | + ZXDG_TOPLEVEL_DECORATION_V1_ERROR_ORPHANED = 2, | |
| 218 | +}; | |
| 219 | +#endif /* ZXDG_TOPLEVEL_DECORATION_V1_ERROR_ENUM */ | |
| 220 | + | |
| 221 | +#ifndef ZXDG_TOPLEVEL_DECORATION_V1_MODE_ENUM | |
| 222 | +#define ZXDG_TOPLEVEL_DECORATION_V1_MODE_ENUM | |
| 223 | +/** | |
| 224 | + * @ingroup iface_zxdg_toplevel_decoration_v1 | |
| 225 | + * window decoration modes | |
| 226 | + * | |
| 227 | + * These values describe window decoration modes. | |
| 228 | + */ | |
| 229 | +enum zxdg_toplevel_decoration_v1_mode { | |
| 230 | + /** | |
| 231 | + * no server-side window decoration | |
| 232 | + */ | |
| 233 | + ZXDG_TOPLEVEL_DECORATION_V1_MODE_CLIENT_SIDE = 1, | |
| 234 | + /** | |
| 235 | + * server-side window decoration | |
| 236 | + */ | |
| 237 | + ZXDG_TOPLEVEL_DECORATION_V1_MODE_SERVER_SIDE = 2, | |
| 238 | +}; | |
| 239 | +#endif /* ZXDG_TOPLEVEL_DECORATION_V1_MODE_ENUM */ | |
| 240 | + | |
| 241 | +/** | |
| 242 | + * @ingroup iface_zxdg_toplevel_decoration_v1 | |
| 243 | + * @struct zxdg_toplevel_decoration_v1_listener | |
| 244 | + */ | |
| 245 | +struct zxdg_toplevel_decoration_v1_listener { | |
| 246 | + /** | |
| 247 | + * suggest a surface change | |
| 248 | + * | |
| 249 | + * The configure event asks the client to change its decoration | |
| 250 | + * mode. The configured state should not be applied immediately. | |
| 251 | + * Clients must send an ack_configure in response to this event. | |
| 252 | + * See xdg_surface.configure and xdg_surface.ack_configure for | |
| 253 | + * details. | |
| 254 | + * | |
| 255 | + * A configure event can be sent at any time. The specified mode | |
| 256 | + * must be obeyed by the client. | |
| 257 | + * @param mode the decoration mode | |
| 258 | + */ | |
| 259 | + void (*configure)(void *data, | |
| 260 | + struct zxdg_toplevel_decoration_v1 *zxdg_toplevel_decoration_v1, | |
| 261 | + uint32_t mode); | |
| 262 | +}; | |
| 263 | + | |
| 264 | +/** | |
| 265 | + * @ingroup iface_zxdg_toplevel_decoration_v1 | |
| 266 | + */ | |
| 267 | +static inline int | |
| 268 | +zxdg_toplevel_decoration_v1_add_listener(struct zxdg_toplevel_decoration_v1 *zxdg_toplevel_decoration_v1, | |
| 269 | + const struct zxdg_toplevel_decoration_v1_listener *listener, void *data) | |
| 270 | +{ | |
| 271 | + return wl_proxy_add_listener((struct wl_proxy *) zxdg_toplevel_decoration_v1, | |
| 272 | + (void (**)(void)) listener, data); | |
| 273 | +} | |
| 274 | + | |
| 275 | +#define ZXDG_TOPLEVEL_DECORATION_V1_DESTROY 0 | |
| 276 | +#define ZXDG_TOPLEVEL_DECORATION_V1_SET_MODE 1 | |
| 277 | +#define ZXDG_TOPLEVEL_DECORATION_V1_UNSET_MODE 2 | |
| 278 | + | |
| 279 | +/** | |
| 280 | + * @ingroup iface_zxdg_toplevel_decoration_v1 | |
| 281 | + */ | |
| 282 | +#define ZXDG_TOPLEVEL_DECORATION_V1_CONFIGURE_SINCE_VERSION 1 | |
| 283 | + | |
| 284 | +/** | |
| 285 | + * @ingroup iface_zxdg_toplevel_decoration_v1 | |
| 286 | + */ | |
| 287 | +#define ZXDG_TOPLEVEL_DECORATION_V1_DESTROY_SINCE_VERSION 1 | |
| 288 | +/** | |
| 289 | + * @ingroup iface_zxdg_toplevel_decoration_v1 | |
| 290 | + */ | |
| 291 | +#define ZXDG_TOPLEVEL_DECORATION_V1_SET_MODE_SINCE_VERSION 1 | |
| 292 | +/** | |
| 293 | + * @ingroup iface_zxdg_toplevel_decoration_v1 | |
| 294 | + */ | |
| 295 | +#define ZXDG_TOPLEVEL_DECORATION_V1_UNSET_MODE_SINCE_VERSION 1 | |
| 296 | + | |
| 297 | +/** @ingroup iface_zxdg_toplevel_decoration_v1 */ | |
| 298 | +static inline void | |
| 299 | +zxdg_toplevel_decoration_v1_set_user_data(struct zxdg_toplevel_decoration_v1 *zxdg_toplevel_decoration_v1, void *user_data) | |
| 300 | +{ | |
| 301 | + wl_proxy_set_user_data((struct wl_proxy *) zxdg_toplevel_decoration_v1, user_data); | |
| 302 | +} | |
| 303 | + | |
| 304 | +/** @ingroup iface_zxdg_toplevel_decoration_v1 */ | |
| 305 | +static inline void * | |
| 306 | +zxdg_toplevel_decoration_v1_get_user_data(struct zxdg_toplevel_decoration_v1 *zxdg_toplevel_decoration_v1) | |
| 307 | +{ | |
| 308 | + return wl_proxy_get_user_data((struct wl_proxy *) zxdg_toplevel_decoration_v1); | |
| 309 | +} | |
| 310 | + | |
| 311 | +static inline uint32_t | |
| 312 | +zxdg_toplevel_decoration_v1_get_version(struct zxdg_toplevel_decoration_v1 *zxdg_toplevel_decoration_v1) | |
| 313 | +{ | |
| 314 | + return wl_proxy_get_version((struct wl_proxy *) zxdg_toplevel_decoration_v1); | |
| 315 | +} | |
| 316 | + | |
| 317 | +/** | |
| 318 | + * @ingroup iface_zxdg_toplevel_decoration_v1 | |
| 319 | + * | |
| 320 | + * Switch back to a mode without any server-side decorations at the next | |
| 321 | + * commit. | |
| 322 | + */ | |
| 323 | +static inline void | |
| 324 | +zxdg_toplevel_decoration_v1_destroy(struct zxdg_toplevel_decoration_v1 *zxdg_toplevel_decoration_v1) | |
| 325 | +{ | |
| 326 | + wl_proxy_marshal_flags((struct wl_proxy *) zxdg_toplevel_decoration_v1, | |
| 327 | + ZXDG_TOPLEVEL_DECORATION_V1_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) zxdg_toplevel_decoration_v1), WL_MARSHAL_FLAG_DESTROY); | |
| 328 | +} | |
| 329 | + | |
| 330 | +/** | |
| 331 | + * @ingroup iface_zxdg_toplevel_decoration_v1 | |
| 332 | + * | |
| 333 | + * Set the toplevel surface decoration mode. This informs the compositor | |
| 334 | + * that the client prefers the provided decoration mode. | |
| 335 | + * | |
| 336 | + * After requesting a decoration mode, the compositor will respond by | |
| 337 | + * emitting an xdg_surface.configure event. The client should then update | |
| 338 | + * its content, drawing it without decorations if the received mode is | |
| 339 | + * server-side decorations. The client must also acknowledge the configure | |
| 340 | + * when committing the new content (see xdg_surface.ack_configure). | |
| 341 | + * | |
| 342 | + * The compositor can decide not to use the client's mode and enforce a | |
| 343 | + * different mode instead. | |
| 344 | + * | |
| 345 | + * Clients whose decoration mode depend on the xdg_toplevel state may send | |
| 346 | + * a set_mode request in response to an xdg_surface.configure event and wait | |
| 347 | + * for the next xdg_surface.configure event to prevent unwanted state. | |
| 348 | + * Such clients are responsible for preventing configure loops and must | |
| 349 | + * make sure not to send multiple successive set_mode requests with the | |
| 350 | + * same decoration mode. | |
| 351 | + */ | |
| 352 | +static inline void | |
| 353 | +zxdg_toplevel_decoration_v1_set_mode(struct zxdg_toplevel_decoration_v1 *zxdg_toplevel_decoration_v1, uint32_t mode) | |
| 354 | +{ | |
| 355 | + wl_proxy_marshal_flags((struct wl_proxy *) zxdg_toplevel_decoration_v1, | |
| 356 | + ZXDG_TOPLEVEL_DECORATION_V1_SET_MODE, NULL, wl_proxy_get_version((struct wl_proxy *) zxdg_toplevel_decoration_v1), 0, mode); | |
| 357 | +} | |
| 358 | + | |
| 359 | +/** | |
| 360 | + * @ingroup iface_zxdg_toplevel_decoration_v1 | |
| 361 | + * | |
| 362 | + * Unset the toplevel surface decoration mode. This informs the compositor | |
| 363 | + * that the client doesn't prefer a particular decoration mode. | |
| 364 | + * | |
| 365 | + * This request has the same semantics as set_mode. | |
| 366 | + */ | |
| 367 | +static inline void | |
| 368 | +zxdg_toplevel_decoration_v1_unset_mode(struct zxdg_toplevel_decoration_v1 *zxdg_toplevel_decoration_v1) | |
| 369 | +{ | |
| 370 | + wl_proxy_marshal_flags((struct wl_proxy *) zxdg_toplevel_decoration_v1, | |
| 371 | + ZXDG_TOPLEVEL_DECORATION_V1_UNSET_MODE, NULL, wl_proxy_get_version((struct wl_proxy *) zxdg_toplevel_decoration_v1), 0); | |
| 372 | +} | |
| 373 | + | |
| 374 | +#ifdef __cplusplus | |
| 375 | +} | |
| 376 | +#endif | |
| 377 | + | |
| 378 | +#endif |
+184 −0 raylib/external/glfw/src/xdg-shell-client-protocol-code.h new file mode 100644 Large diff collapsed, click to expand
| @@ -0,0 +1,184 @@ | ||
| 1 | +/* Generated by wayland-scanner 1.26.0 */ | |
| 2 | + | |
| 3 | +/* | |
| 4 | + * Copyright �� 2008-2013 Kristian H��gsberg | |
| 5 | + * Copyright �� 2013 Rafael Antognolli | |
| 6 | + * Copyright �� 2013 Jasper St. Pierre | |
| 7 | + * Copyright �� 2010-2013 Intel Corporation | |
| 8 | + * Copyright �� 2015-2017 Samsung Electronics Co., Ltd | |
| 9 | + * Copyright �� 2015-2017 Red Hat Inc. | |
| 10 | + * | |
| 11 | + * Permission is hereby granted, free of charge, to any person obtaining a | |
| 12 | + * copy of this software and associated documentation files (the "Software"), | |
| 13 | + * to deal in the Software without restriction, including without limitation | |
| 14 | + * the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
| 15 | + * and/or sell copies of the Software, and to permit persons to whom the | |
| 16 | + * Software is furnished to do so, subject to the following conditions: | |
| 17 | + * | |
| 18 | + * The above copyright notice and this permission notice (including the next | |
| 19 | + * paragraph) shall be included in all copies or substantial portions of the | |
| 20 | + * Software. | |
| 21 | + * | |
| 22 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| 23 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| 24 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | |
| 25 | + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| 26 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
| 27 | + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | |
| 28 | + * DEALINGS IN THE SOFTWARE. | |
| 29 | + */ | |
| 30 | + | |
| 31 | +#include <stdbool.h> | |
| 32 | +#include <stdlib.h> | |
| 33 | +#include <stdint.h> | |
| 34 | +#include "wayland-util.h" | |
| 35 | + | |
| 36 | +#ifndef __has_attribute | |
| 37 | +# define __has_attribute(x) 0 /* Compatibility with non-clang compilers. */ | |
| 38 | +#endif | |
| 39 | + | |
| 40 | +#if (__has_attribute(visibility) || defined(__GNUC__) && __GNUC__ >= 4) | |
| 41 | +#define WL_PRIVATE __attribute__ ((visibility("hidden"))) | |
| 42 | +#else | |
| 43 | +#define WL_PRIVATE | |
| 44 | +#endif | |
| 45 | + | |
| 46 | +extern const struct wl_interface wl_output_interface; | |
| 47 | +extern const struct wl_interface wl_seat_interface; | |
| 48 | +extern const struct wl_interface wl_surface_interface; | |
| 49 | +extern const struct wl_interface xdg_popup_interface; | |
| 50 | +extern const struct wl_interface xdg_positioner_interface; | |
| 51 | +extern const struct wl_interface xdg_surface_interface; | |
| 52 | +extern const struct wl_interface xdg_toplevel_interface; | |
| 53 | + | |
| 54 | +static const struct wl_interface *xdg_shell_types[] = { | |
| 55 | + NULL, | |
| 56 | + NULL, | |
| 57 | + NULL, | |
| 58 | + NULL, | |
| 59 | + &xdg_positioner_interface, | |
| 60 | + &xdg_surface_interface, | |
| 61 | + &wl_surface_interface, | |
| 62 | + &xdg_toplevel_interface, | |
| 63 | + &xdg_popup_interface, | |
| 64 | + &xdg_surface_interface, | |
| 65 | + &xdg_positioner_interface, | |
| 66 | + &xdg_toplevel_interface, | |
| 67 | + &wl_seat_interface, | |
| 68 | + NULL, | |
| 69 | + NULL, | |
| 70 | + NULL, | |
| 71 | + &wl_seat_interface, | |
| 72 | + NULL, | |
| 73 | + &wl_seat_interface, | |
| 74 | + NULL, | |
| 75 | + NULL, | |
| 76 | + &wl_output_interface, | |
| 77 | + &wl_seat_interface, | |
| 78 | + NULL, | |
| 79 | + &xdg_positioner_interface, | |
| 80 | + NULL, | |
| 81 | +}; | |
| 82 | + | |
| 83 | +static const struct wl_message xdg_wm_base_requests[] = { | |
| 84 | + { "destroy", "", xdg_shell_types + 0 }, | |
| 85 | + { "create_positioner", "n", xdg_shell_types + 4 }, | |
| 86 | + { "get_xdg_surface", "no", xdg_shell_types + 5 }, | |
| 87 | + { "pong", "u", xdg_shell_types + 0 }, | |
| 88 | +}; | |
| 89 | + | |
| 90 | +static const struct wl_message xdg_wm_base_events[] = { | |
| 91 | + { "ping", "u", xdg_shell_types + 0 }, | |
| 92 | +}; | |
| 93 | + | |
| 94 | +WL_PRIVATE const struct wl_interface xdg_wm_base_interface = { | |
| 95 | + "xdg_wm_base", 6, | |
| 96 | + 4, xdg_wm_base_requests, | |
| 97 | + 1, xdg_wm_base_events, | |
| 98 | +}; | |
| 99 | + | |
| 100 | +static const struct wl_message xdg_positioner_requests[] = { | |
| 101 | + { "destroy", "", xdg_shell_types + 0 }, | |
| 102 | + { "set_size", "ii", xdg_shell_types + 0 }, | |
| 103 | + { "set_anchor_rect", "iiii", xdg_shell_types + 0 }, | |
| 104 | + { "set_anchor", "u", xdg_shell_types + 0 }, | |
| 105 | + { "set_gravity", "u", xdg_shell_types + 0 }, | |
| 106 | + { "set_constraint_adjustment", "u", xdg_shell_types + 0 }, | |
| 107 | + { "set_offset", "ii", xdg_shell_types + 0 }, | |
| 108 | + { "set_reactive", "3", xdg_shell_types + 0 }, | |
| 109 | + { "set_parent_size", "3ii", xdg_shell_types + 0 }, | |
| 110 | + { "set_parent_configure", "3u", xdg_shell_types + 0 }, | |
| 111 | +}; | |
| 112 | + | |
| 113 | +WL_PRIVATE const struct wl_interface xdg_positioner_interface = { | |
| 114 | + "xdg_positioner", 6, | |
| 115 | + 10, xdg_positioner_requests, | |
| 116 | + 0, NULL, | |
| 117 | +}; | |
| 118 | + | |
| 119 | +static const struct wl_message xdg_surface_requests[] = { | |
| 120 | + { "destroy", "", xdg_shell_types + 0 }, | |
| 121 | + { "get_toplevel", "n", xdg_shell_types + 7 }, | |
| 122 | + { "get_popup", "n?oo", xdg_shell_types + 8 }, | |
| 123 | + { "set_window_geometry", "iiii", xdg_shell_types + 0 }, | |
| 124 | + { "ack_configure", "u", xdg_shell_types + 0 }, | |
| 125 | +}; | |
| 126 | + | |
| 127 | +static const struct wl_message xdg_surface_events[] = { | |
| 128 | + { "configure", "u", xdg_shell_types + 0 }, | |
| 129 | +}; | |
| 130 | + | |
| 131 | +WL_PRIVATE const struct wl_interface xdg_surface_interface = { | |
| 132 | + "xdg_surface", 6, | |
| 133 | + 5, xdg_surface_requests, | |
| 134 | + 1, xdg_surface_events, | |
| 135 | +}; | |
| 136 | + | |
| 137 | +static const struct wl_message xdg_toplevel_requests[] = { | |
| 138 | + { "destroy", "", xdg_shell_types + 0 }, | |
| 139 | + { "set_parent", "?o", xdg_shell_types + 11 }, | |
| 140 | + { "set_title", "s", xdg_shell_types + 0 }, | |
| 141 | + { "set_app_id", "s", xdg_shell_types + 0 }, | |
| 142 | + { "show_window_menu", "ouii", xdg_shell_types + 12 }, | |
| 143 | + { "move", "ou", xdg_shell_types + 16 }, | |
| 144 | + { "resize", "ouu", xdg_shell_types + 18 }, | |
| 145 | + { "set_max_size", "ii", xdg_shell_types + 0 }, | |
| 146 | + { "set_min_size", "ii", xdg_shell_types + 0 }, | |
| 147 | + { "set_maximized", "", xdg_shell_types + 0 }, | |
| 148 | + { "unset_maximized", "", xdg_shell_types + 0 }, | |
| 149 | + { "set_fullscreen", "?o", xdg_shell_types + 21 }, | |
| 150 | + { "unset_fullscreen", "", xdg_shell_types + 0 }, | |
| 151 | + { "set_minimized", "", xdg_shell_types + 0 }, | |
| 152 | +}; | |
| 153 | + | |
| 154 | +static const struct wl_message xdg_toplevel_events[] = { | |
| 155 | + { "configure", "iia", xdg_shell_types + 0 }, | |
| 156 | + { "close", "", xdg_shell_types + 0 }, | |
| 157 | + { "configure_bounds", "4ii", xdg_shell_types + 0 }, | |
| 158 | + { "wm_capabilities", "5a", xdg_shell_types + 0 }, | |
| 159 | +}; | |
| 160 | + | |
| 161 | +WL_PRIVATE const struct wl_interface xdg_toplevel_interface = { | |
| 162 | + "xdg_toplevel", 6, | |
| 163 | + 14, xdg_toplevel_requests, | |
| 164 | + 4, xdg_toplevel_events, | |
| 165 | +}; | |
| 166 | + | |
| 167 | +static const struct wl_message xdg_popup_requests[] = { | |
| 168 | + { "destroy", "", xdg_shell_types + 0 }, | |
| 169 | + { "grab", "ou", xdg_shell_types + 22 }, | |
| 170 | + { "reposition", "3ou", xdg_shell_types + 24 }, | |
| 171 | +}; | |
| 172 | + | |
| 173 | +static const struct wl_message xdg_popup_events[] = { | |
| 174 | + { "configure", "iiii", xdg_shell_types + 0 }, | |
| 175 | + { "popup_done", "", xdg_shell_types + 0 }, | |
| 176 | + { "repositioned", "3u", xdg_shell_types + 0 }, | |
| 177 | +}; | |
| 178 | + | |
| 179 | +WL_PRIVATE const struct wl_interface xdg_popup_interface = { | |
| 180 | + "xdg_popup", 6, | |
| 181 | + 3, xdg_popup_requests, | |
| 182 | + 3, xdg_popup_events, | |
| 183 | +}; | |
| 184 | + |
+2307 −0 raylib/external/glfw/src/xdg-shell-client-protocol.h new file mode 100644 Large diff collapsed, click to expand
| @@ -0,0 +1,2307 @@ | ||
| 1 | +/* Generated by wayland-scanner 1.26.0 */ | |
| 2 | + | |
| 3 | +#ifndef XDG_SHELL_CLIENT_PROTOCOL_H | |
| 4 | +#define XDG_SHELL_CLIENT_PROTOCOL_H | |
| 5 | + | |
| 6 | +#include <stdint.h> | |
| 7 | +#include <stddef.h> | |
| 8 | +#include "wayland-client.h" | |
| 9 | + | |
| 10 | +#ifdef __cplusplus | |
| 11 | +extern "C" { | |
| 12 | +#endif | |
| 13 | + | |
| 14 | +/** | |
| 15 | + * @page page_xdg_shell The xdg_shell protocol | |
| 16 | + * @section page_ifaces_xdg_shell Interfaces | |
| 17 | + * - @subpage page_iface_xdg_wm_base - create desktop-style surfaces | |
| 18 | + * - @subpage page_iface_xdg_positioner - child surface positioner | |
| 19 | + * - @subpage page_iface_xdg_surface - desktop user interface surface base interface | |
| 20 | + * - @subpage page_iface_xdg_toplevel - toplevel surface | |
| 21 | + * - @subpage page_iface_xdg_popup - short-lived, popup surfaces for menus | |
| 22 | + * @section page_copyright_xdg_shell Copyright | |
| 23 | + * <pre> | |
| 24 | + * | |
| 25 | + * Copyright �� 2008-2013 Kristian H��gsberg | |
| 26 | + * Copyright �� 2013 Rafael Antognolli | |
| 27 | + * Copyright �� 2013 Jasper St. Pierre | |
| 28 | + * Copyright �� 2010-2013 Intel Corporation | |
| 29 | + * Copyright �� 2015-2017 Samsung Electronics Co., Ltd | |
| 30 | + * Copyright �� 2015-2017 Red Hat Inc. | |
| 31 | + * | |
| 32 | + * Permission is hereby granted, free of charge, to any person obtaining a | |
| 33 | + * copy of this software and associated documentation files (the "Software"), | |
| 34 | + * to deal in the Software without restriction, including without limitation | |
| 35 | + * the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
| 36 | + * and/or sell copies of the Software, and to permit persons to whom the | |
| 37 | + * Software is furnished to do so, subject to the following conditions: | |
| 38 | + * | |
| 39 | + * The above copyright notice and this permission notice (including the next | |
| 40 | + * paragraph) shall be included in all copies or substantial portions of the | |
| 41 | + * Software. | |
| 42 | + * | |
| 43 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| 44 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| 45 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | |
| 46 | + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| 47 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
| 48 | + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | |
| 49 | + * DEALINGS IN THE SOFTWARE. | |
| 50 | + * </pre> | |
| 51 | + */ | |
| 52 | +struct wl_output; | |
| 53 | +struct wl_seat; | |
| 54 | +struct wl_surface; | |
| 55 | +struct xdg_popup; | |
| 56 | +struct xdg_positioner; | |
| 57 | +struct xdg_surface; | |
| 58 | +struct xdg_toplevel; | |
| 59 | +struct xdg_wm_base; | |
| 60 | + | |
| 61 | +#ifndef XDG_WM_BASE_INTERFACE | |
| 62 | +#define XDG_WM_BASE_INTERFACE | |
| 63 | +/** | |
| 64 | + * @page page_iface_xdg_wm_base xdg_wm_base | |
| 65 | + * @section page_iface_xdg_wm_base_desc Description | |
| 66 | + * | |
| 67 | + * The xdg_wm_base interface is exposed as a global object enabling clients | |
| 68 | + * to turn their wl_surfaces into windows in a desktop environment. It | |
| 69 | + * defines the basic functionality needed for clients and the compositor to | |
| 70 | + * create windows that can be dragged, resized, maximized, etc, as well as | |
| 71 | + * creating transient windows such as popup menus. | |
| 72 | + * @section page_iface_xdg_wm_base_api API | |
| 73 | + * See @ref iface_xdg_wm_base. | |
| 74 | + */ | |
| 75 | +/** | |
| 76 | + * @defgroup iface_xdg_wm_base The xdg_wm_base interface | |
| 77 | + * | |
| 78 | + * The xdg_wm_base interface is exposed as a global object enabling clients | |
| 79 | + * to turn their wl_surfaces into windows in a desktop environment. It | |
| 80 | + * defines the basic functionality needed for clients and the compositor to | |
| 81 | + * create windows that can be dragged, resized, maximized, etc, as well as | |
| 82 | + * creating transient windows such as popup menus. | |
| 83 | + */ | |
| 84 | +extern const struct wl_interface xdg_wm_base_interface; | |
| 85 | +#endif | |
| 86 | +#ifndef XDG_POSITIONER_INTERFACE | |
| 87 | +#define XDG_POSITIONER_INTERFACE | |
| 88 | +/** | |
| 89 | + * @page page_iface_xdg_positioner xdg_positioner | |
| 90 | + * @section page_iface_xdg_positioner_desc Description | |
| 91 | + * | |
| 92 | + * The xdg_positioner provides a collection of rules for the placement of a | |
| 93 | + * child surface relative to a parent surface. Rules can be defined to ensure | |
| 94 | + * the child surface remains within the visible area's borders, and to | |
| 95 | + * specify how the child surface changes its position, such as sliding along | |
| 96 | + * an axis, or flipping around a rectangle. These positioner-created rules are | |
| 97 | + * constrained by the requirement that a child surface must intersect with or | |
| 98 | + * be at least partially adjacent to its parent surface. | |
| 99 | + * | |
| 100 | + * See the various requests for details about possible rules. | |
| 101 | + * | |
| 102 | + * At the time of the request, the compositor makes a copy of the rules | |
| 103 | + * specified by the xdg_positioner. Thus, after the request is complete the | |
| 104 | + * xdg_positioner object can be destroyed or reused; further changes to the | |
| 105 | + * object will have no effect on previous usages. | |
| 106 | + * | |
| 107 | + * For an xdg_positioner object to be considered complete, it must have a | |
| 108 | + * non-zero size set by set_size, and a non-zero anchor rectangle set by | |
| 109 | + * set_anchor_rect. Passing an incomplete xdg_positioner object when | |
| 110 | + * positioning a surface raises an invalid_positioner error. | |
| 111 | + * @section page_iface_xdg_positioner_api API | |
| 112 | + * See @ref iface_xdg_positioner. | |
| 113 | + */ | |
| 114 | +/** | |
| 115 | + * @defgroup iface_xdg_positioner The xdg_positioner interface | |
| 116 | + * | |
| 117 | + * The xdg_positioner provides a collection of rules for the placement of a | |
| 118 | + * child surface relative to a parent surface. Rules can be defined to ensure | |
| 119 | + * the child surface remains within the visible area's borders, and to | |
| 120 | + * specify how the child surface changes its position, such as sliding along | |
| 121 | + * an axis, or flipping around a rectangle. These positioner-created rules are | |
| 122 | + * constrained by the requirement that a child surface must intersect with or | |
| 123 | + * be at least partially adjacent to its parent surface. | |
| 124 | + * | |
| 125 | + * See the various requests for details about possible rules. | |
| 126 | + * | |
| 127 | + * At the time of the request, the compositor makes a copy of the rules | |
| 128 | + * specified by the xdg_positioner. Thus, after the request is complete the | |
| 129 | + * xdg_positioner object can be destroyed or reused; further changes to the | |
| 130 | + * object will have no effect on previous usages. | |
| 131 | + * | |
| 132 | + * For an xdg_positioner object to be considered complete, it must have a | |
| 133 | + * non-zero size set by set_size, and a non-zero anchor rectangle set by | |
| 134 | + * set_anchor_rect. Passing an incomplete xdg_positioner object when | |
| 135 | + * positioning a surface raises an invalid_positioner error. | |
| 136 | + */ | |
| 137 | +extern const struct wl_interface xdg_positioner_interface; | |
| 138 | +#endif | |
| 139 | +#ifndef XDG_SURFACE_INTERFACE | |
| 140 | +#define XDG_SURFACE_INTERFACE | |
| 141 | +/** | |
| 142 | + * @page page_iface_xdg_surface xdg_surface | |
| 143 | + * @section page_iface_xdg_surface_desc Description | |
| 144 | + * | |
| 145 | + * An interface that may be implemented by a wl_surface, for | |
| 146 | + * implementations that provide a desktop-style user interface. | |
| 147 | + * | |
| 148 | + * It provides a base set of functionality required to construct user | |
| 149 | + * interface elements requiring management by the compositor, such as | |
| 150 | + * toplevel windows, menus, etc. The types of functionality are split into | |
| 151 | + * xdg_surface roles. | |
| 152 | + * | |
| 153 | + * Creating an xdg_surface does not set the role for a wl_surface. In order | |
| 154 | + * to map an xdg_surface, the client must create a role-specific object | |
| 155 | + * using, e.g., get_toplevel, get_popup. The wl_surface for any given | |
| 156 | + * xdg_surface can have at most one role, and may not be assigned any role | |
| 157 | + * not based on xdg_surface. | |
| 158 | + * | |
| 159 | + * A role must be assigned before any other requests are made to the | |
| 160 | + * xdg_surface object. | |
| 161 | + * | |
| 162 | + * The client must call wl_surface.commit on the corresponding wl_surface | |
| 163 | + * for the xdg_surface state to take effect. | |
| 164 | + * | |
| 165 | + * Creating an xdg_surface from a wl_surface which has a buffer attached or | |
| 166 | + * committed is a client error, and any attempts by a client to attach or | |
| 167 | + * manipulate a buffer prior to the first xdg_surface.configure call must | |
| 168 | + * also be treated as errors. | |
| 169 | + * | |
| 170 | + * After creating a role-specific object and setting it up, the client must | |
| 171 | + * perform an initial commit without any buffer attached. The compositor | |
| 172 | + * will reply with initial wl_surface state such as | |
| 173 | + * wl_surface.preferred_buffer_scale followed by an xdg_surface.configure | |
| 174 | + * event. The client must acknowledge it and is then allowed to attach a | |
| 175 | + * buffer to map the surface. | |
| 176 | + * | |
| 177 | + * Mapping an xdg_surface-based role surface is defined as making it | |
| 178 | + * possible for the surface to be shown by the compositor. Note that | |
| 179 | + * a mapped surface is not guaranteed to be visible once it is mapped. | |
| 180 | + * | |
| 181 | + * For an xdg_surface to be mapped by the compositor, the following | |
| 182 | + * conditions must be met: | |
| 183 | + * (1) the client has assigned an xdg_surface-based role to the surface | |
| 184 | + * (2) the client has set and committed the xdg_surface state and the | |
| 185 | + * role-dependent state to the surface | |
| 186 | + * (3) the client has committed a buffer to the surface | |
| 187 | + * | |
| 188 | + * A newly-unmapped surface is considered to have met condition (1) out | |
| 189 | + * of the 3 required conditions for mapping a surface if its role surface | |
| 190 | + * has not been destroyed, i.e. the client must perform the initial commit | |
| 191 | + * again before attaching a buffer. | |
| 192 | + * @section page_iface_xdg_surface_api API | |
| 193 | + * See @ref iface_xdg_surface. | |
| 194 | + */ | |
| 195 | +/** | |
| 196 | + * @defgroup iface_xdg_surface The xdg_surface interface | |
| 197 | + * | |
| 198 | + * An interface that may be implemented by a wl_surface, for | |
| 199 | + * implementations that provide a desktop-style user interface. | |
| 200 | + * | |
| 201 | + * It provides a base set of functionality required to construct user | |
| 202 | + * interface elements requiring management by the compositor, such as | |
| 203 | + * toplevel windows, menus, etc. The types of functionality are split into | |
| 204 | + * xdg_surface roles. | |
| 205 | + * | |
| 206 | + * Creating an xdg_surface does not set the role for a wl_surface. In order | |
| 207 | + * to map an xdg_surface, the client must create a role-specific object | |
| 208 | + * using, e.g., get_toplevel, get_popup. The wl_surface for any given | |
| 209 | + * xdg_surface can have at most one role, and may not be assigned any role | |
| 210 | + * not based on xdg_surface. | |
| 211 | + * | |
| 212 | + * A role must be assigned before any other requests are made to the | |
| 213 | + * xdg_surface object. | |
| 214 | + * | |
| 215 | + * The client must call wl_surface.commit on the corresponding wl_surface | |
| 216 | + * for the xdg_surface state to take effect. | |
| 217 | + * | |
| 218 | + * Creating an xdg_surface from a wl_surface which has a buffer attached or | |
| 219 | + * committed is a client error, and any attempts by a client to attach or | |
| 220 | + * manipulate a buffer prior to the first xdg_surface.configure call must | |
| 221 | + * also be treated as errors. | |
| 222 | + * | |
| 223 | + * After creating a role-specific object and setting it up, the client must | |
| 224 | + * perform an initial commit without any buffer attached. The compositor | |
| 225 | + * will reply with initial wl_surface state such as | |
| 226 | + * wl_surface.preferred_buffer_scale followed by an xdg_surface.configure | |
| 227 | + * event. The client must acknowledge it and is then allowed to attach a | |
| 228 | + * buffer to map the surface. | |
| 229 | + * | |
| 230 | + * Mapping an xdg_surface-based role surface is defined as making it | |
| 231 | + * possible for the surface to be shown by the compositor. Note that | |
| 232 | + * a mapped surface is not guaranteed to be visible once it is mapped. | |
| 233 | + * | |
| 234 | + * For an xdg_surface to be mapped by the compositor, the following | |
| 235 | + * conditions must be met: | |
| 236 | + * (1) the client has assigned an xdg_surface-based role to the surface | |
| 237 | + * (2) the client has set and committed the xdg_surface state and the | |
| 238 | + * role-dependent state to the surface | |
| 239 | + * (3) the client has committed a buffer to the surface | |
| 240 | + * | |
| 241 | + * A newly-unmapped surface is considered to have met condition (1) out | |
| 242 | + * of the 3 required conditions for mapping a surface if its role surface | |
| 243 | + * has not been destroyed, i.e. the client must perform the initial commit | |
| 244 | + * again before attaching a buffer. | |
| 245 | + */ | |
| 246 | +extern const struct wl_interface xdg_surface_interface; | |
| 247 | +#endif | |
| 248 | +#ifndef XDG_TOPLEVEL_INTERFACE | |
| 249 | +#define XDG_TOPLEVEL_INTERFACE | |
| 250 | +/** | |
| 251 | + * @page page_iface_xdg_toplevel xdg_toplevel | |
| 252 | + * @section page_iface_xdg_toplevel_desc Description | |
| 253 | + * | |
| 254 | + * This interface defines an xdg_surface role which allows a surface to, | |
| 255 | + * among other things, set window-like properties such as maximize, | |
| 256 | + * fullscreen, and minimize, set application-specific metadata like title and | |
| 257 | + * id, and well as trigger user interactive operations such as interactive | |
| 258 | + * resize and move. | |
| 259 | + * | |
| 260 | + * Unmapping an xdg_toplevel means that the surface cannot be shown | |
| 261 | + * by the compositor until it is explicitly mapped again. | |
| 262 | + * All active operations (e.g., move, resize) are canceled and all | |
| 263 | + * attributes (e.g. title, state, stacking, ...) are discarded for | |
| 264 | + * an xdg_toplevel surface when it is unmapped. The xdg_toplevel returns to | |
| 265 | + * the state it had right after xdg_surface.get_toplevel. The client | |
| 266 | + * can re-map the toplevel by perfoming a commit without any buffer | |
| 267 | + * attached, waiting for a configure event and handling it as usual (see | |
| 268 | + * xdg_surface description). | |
| 269 | + * | |
| 270 | + * Attaching a null buffer to a toplevel unmaps the surface. | |
| 271 | + * @section page_iface_xdg_toplevel_api API | |
| 272 | + * See @ref iface_xdg_toplevel. | |
| 273 | + */ | |
| 274 | +/** | |
| 275 | + * @defgroup iface_xdg_toplevel The xdg_toplevel interface | |
| 276 | + * | |
| 277 | + * This interface defines an xdg_surface role which allows a surface to, | |
| 278 | + * among other things, set window-like properties such as maximize, | |
| 279 | + * fullscreen, and minimize, set application-specific metadata like title and | |
| 280 | + * id, and well as trigger user interactive operations such as interactive | |
| 281 | + * resize and move. | |
| 282 | + * | |
| 283 | + * Unmapping an xdg_toplevel means that the surface cannot be shown | |
| 284 | + * by the compositor until it is explicitly mapped again. | |
| 285 | + * All active operations (e.g., move, resize) are canceled and all | |
| 286 | + * attributes (e.g. title, state, stacking, ...) are discarded for | |
| 287 | + * an xdg_toplevel surface when it is unmapped. The xdg_toplevel returns to | |
| 288 | + * the state it had right after xdg_surface.get_toplevel. The client | |
| 289 | + * can re-map the toplevel by perfoming a commit without any buffer | |
| 290 | + * attached, waiting for a configure event and handling it as usual (see | |
| 291 | + * xdg_surface description). | |
| 292 | + * | |
| 293 | + * Attaching a null buffer to a toplevel unmaps the surface. | |
| 294 | + */ | |
| 295 | +extern const struct wl_interface xdg_toplevel_interface; | |
| 296 | +#endif | |
| 297 | +#ifndef XDG_POPUP_INTERFACE | |
| 298 | +#define XDG_POPUP_INTERFACE | |
| 299 | +/** | |
| 300 | + * @page page_iface_xdg_popup xdg_popup | |
| 301 | + * @section page_iface_xdg_popup_desc Description | |
| 302 | + * | |
| 303 | + * A popup surface is a short-lived, temporary surface. It can be used to | |
| 304 | + * implement for example menus, popovers, tooltips and other similar user | |
| 305 | + * interface concepts. | |
| 306 | + * | |
| 307 | + * A popup can be made to take an explicit grab. See xdg_popup.grab for | |
| 308 | + * details. | |
| 309 | + * | |
| 310 | + * When the popup is dismissed, a popup_done event will be sent out, and at | |
| 311 | + * the same time the surface will be unmapped. See the xdg_popup.popup_done | |
| 312 | + * event for details. | |
| 313 | + * | |
| 314 | + * Explicitly destroying the xdg_popup object will also dismiss the popup and | |
| 315 | + * unmap the surface. Clients that want to dismiss the popup when another | |
| 316 | + * surface of their own is clicked should dismiss the popup using the destroy | |
| 317 | + * request. | |
| 318 | + * | |
| 319 | + * A newly created xdg_popup will be stacked on top of all previously created | |
| 320 | + * xdg_popup surfaces associated with the same xdg_toplevel. | |
| 321 | + * | |
| 322 | + * The parent of an xdg_popup must be mapped (see the xdg_surface | |
| 323 | + * description) before the xdg_popup itself. | |
| 324 | + * | |
| 325 | + * The client must call wl_surface.commit on the corresponding wl_surface | |
| 326 | + * for the xdg_popup state to take effect. | |
| 327 | + * @section page_iface_xdg_popup_api API | |
| 328 | + * See @ref iface_xdg_popup. | |
| 329 | + */ | |
| 330 | +/** | |
| 331 | + * @defgroup iface_xdg_popup The xdg_popup interface | |
| 332 | + * | |
| 333 | + * A popup surface is a short-lived, temporary surface. It can be used to | |
| 334 | + * implement for example menus, popovers, tooltips and other similar user | |
| 335 | + * interface concepts. | |
| 336 | + * | |
| 337 | + * A popup can be made to take an explicit grab. See xdg_popup.grab for | |
| 338 | + * details. | |
| 339 | + * | |
| 340 | + * When the popup is dismissed, a popup_done event will be sent out, and at | |
| 341 | + * the same time the surface will be unmapped. See the xdg_popup.popup_done | |
| 342 | + * event for details. | |
| 343 | + * | |
| 344 | + * Explicitly destroying the xdg_popup object will also dismiss the popup and | |
| 345 | + * unmap the surface. Clients that want to dismiss the popup when another | |
| 346 | + * surface of their own is clicked should dismiss the popup using the destroy | |
| 347 | + * request. | |
| 348 | + * | |
| 349 | + * A newly created xdg_popup will be stacked on top of all previously created | |
| 350 | + * xdg_popup surfaces associated with the same xdg_toplevel. | |
| 351 | + * | |
| 352 | + * The parent of an xdg_popup must be mapped (see the xdg_surface | |
| 353 | + * description) before the xdg_popup itself. | |
| 354 | + * | |
| 355 | + * The client must call wl_surface.commit on the corresponding wl_surface | |
| 356 | + * for the xdg_popup state to take effect. | |
| 357 | + */ | |
| 358 | +extern const struct wl_interface xdg_popup_interface; | |
| 359 | +#endif | |
| 360 | + | |
| 361 | +#ifndef XDG_WM_BASE_ERROR_ENUM | |
| 362 | +#define XDG_WM_BASE_ERROR_ENUM | |
| 363 | +enum xdg_wm_base_error { | |
| 364 | + /** | |
| 365 | + * given wl_surface has another role | |
| 366 | + */ | |
| 367 | + XDG_WM_BASE_ERROR_ROLE = 0, | |
| 368 | + /** | |
| 369 | + * xdg_wm_base was destroyed before children | |
| 370 | + */ | |
| 371 | + XDG_WM_BASE_ERROR_DEFUNCT_SURFACES = 1, | |
| 372 | + /** | |
| 373 | + * the client tried to map or destroy a non-topmost popup | |
| 374 | + */ | |
| 375 | + XDG_WM_BASE_ERROR_NOT_THE_TOPMOST_POPUP = 2, | |
| 376 | + /** | |
| 377 | + * the client specified an invalid popup parent surface | |
| 378 | + */ | |
| 379 | + XDG_WM_BASE_ERROR_INVALID_POPUP_PARENT = 3, | |
| 380 | + /** | |
| 381 | + * the client provided an invalid surface state | |
| 382 | + */ | |
| 383 | + XDG_WM_BASE_ERROR_INVALID_SURFACE_STATE = 4, | |
| 384 | + /** | |
| 385 | + * the client provided an invalid positioner | |
| 386 | + */ | |
| 387 | + XDG_WM_BASE_ERROR_INVALID_POSITIONER = 5, | |
| 388 | + /** | |
| 389 | + * the client didn���t respond to a ping event in time | |
| 390 | + */ | |
| 391 | + XDG_WM_BASE_ERROR_UNRESPONSIVE = 6, | |
| 392 | +}; | |
| 393 | +#endif /* XDG_WM_BASE_ERROR_ENUM */ | |
| 394 | + | |
| 395 | +/** | |
| 396 | + * @ingroup iface_xdg_wm_base | |
| 397 | + * @struct xdg_wm_base_listener | |
| 398 | + */ | |
| 399 | +struct xdg_wm_base_listener { | |
| 400 | + /** | |
| 401 | + * check if the client is alive | |
| 402 | + * | |
| 403 | + * The ping event asks the client if it's still alive. Pass the | |
| 404 | + * serial specified in the event back to the compositor by sending | |
| 405 | + * a "pong" request back with the specified serial. See | |
| 406 | + * xdg_wm_base.pong. | |
| 407 | + * | |
| 408 | + * Compositors can use this to determine if the client is still | |
| 409 | + * alive. It's unspecified what will happen if the client doesn't | |
| 410 | + * respond to the ping request, or in what timeframe. Clients | |
| 411 | + * should try to respond in a reasonable amount of time. The | |
| 412 | + * ���unresponsive��� error is provided for compositors that wish | |
| 413 | + * to disconnect unresponsive clients. | |
| 414 | + * | |
| 415 | + * A compositor is free to ping in any way it wants, but a client | |
| 416 | + * must always respond to any xdg_wm_base object it created. | |
| 417 | + * @param serial pass this to the pong request | |
| 418 | + */ | |
| 419 | + void (*ping)(void *data, | |
| 420 | + struct xdg_wm_base *xdg_wm_base, | |
| 421 | + uint32_t serial); | |
| 422 | +}; | |
| 423 | + | |
| 424 | +/** | |
| 425 | + * @ingroup iface_xdg_wm_base | |
| 426 | + */ | |
| 427 | +static inline int | |
| 428 | +xdg_wm_base_add_listener(struct xdg_wm_base *xdg_wm_base, | |
| 429 | + const struct xdg_wm_base_listener *listener, void *data) | |
| 430 | +{ | |
| 431 | + return wl_proxy_add_listener((struct wl_proxy *) xdg_wm_base, | |
| 432 | + (void (**)(void)) listener, data); | |
| 433 | +} | |
| 434 | + | |
| 435 | +#define XDG_WM_BASE_DESTROY 0 | |
| 436 | +#define XDG_WM_BASE_CREATE_POSITIONER 1 | |
| 437 | +#define XDG_WM_BASE_GET_XDG_SURFACE 2 | |
| 438 | +#define XDG_WM_BASE_PONG 3 | |
| 439 | + | |
| 440 | +/** | |
| 441 | + * @ingroup iface_xdg_wm_base | |
| 442 | + */ | |
| 443 | +#define XDG_WM_BASE_PING_SINCE_VERSION 1 | |
| 444 | + | |
| 445 | +/** | |
| 446 | + * @ingroup iface_xdg_wm_base | |
| 447 | + */ | |
| 448 | +#define XDG_WM_BASE_DESTROY_SINCE_VERSION 1 | |
| 449 | +/** | |
| 450 | + * @ingroup iface_xdg_wm_base | |
| 451 | + */ | |
| 452 | +#define XDG_WM_BASE_CREATE_POSITIONER_SINCE_VERSION 1 | |
| 453 | +/** | |
| 454 | + * @ingroup iface_xdg_wm_base | |
| 455 | + */ | |
| 456 | +#define XDG_WM_BASE_GET_XDG_SURFACE_SINCE_VERSION 1 | |
| 457 | +/** | |
| 458 | + * @ingroup iface_xdg_wm_base | |
| 459 | + */ | |
| 460 | +#define XDG_WM_BASE_PONG_SINCE_VERSION 1 | |
| 461 | + | |
| 462 | +/** @ingroup iface_xdg_wm_base */ | |
| 463 | +static inline void | |
| 464 | +xdg_wm_base_set_user_data(struct xdg_wm_base *xdg_wm_base, void *user_data) | |
| 465 | +{ | |
| 466 | + wl_proxy_set_user_data((struct wl_proxy *) xdg_wm_base, user_data); | |
| 467 | +} | |
| 468 | + | |
| 469 | +/** @ingroup iface_xdg_wm_base */ | |
| 470 | +static inline void * | |
| 471 | +xdg_wm_base_get_user_data(struct xdg_wm_base *xdg_wm_base) | |
| 472 | +{ | |
| 473 | + return wl_proxy_get_user_data((struct wl_proxy *) xdg_wm_base); | |
| 474 | +} | |
| 475 | + | |
| 476 | +static inline uint32_t | |
| 477 | +xdg_wm_base_get_version(struct xdg_wm_base *xdg_wm_base) | |
| 478 | +{ | |
| 479 | + return wl_proxy_get_version((struct wl_proxy *) xdg_wm_base); | |
| 480 | +} | |
| 481 | + | |
| 482 | +/** | |
| 483 | + * @ingroup iface_xdg_wm_base | |
| 484 | + * | |
| 485 | + * Destroy this xdg_wm_base object. | |
| 486 | + * | |
| 487 | + * Destroying a bound xdg_wm_base object while there are surfaces | |
| 488 | + * still alive created by this xdg_wm_base object instance is illegal | |
| 489 | + * and will result in a defunct_surfaces error. | |
| 490 | + */ | |
| 491 | +static inline void | |
| 492 | +xdg_wm_base_destroy(struct xdg_wm_base *xdg_wm_base) | |
| 493 | +{ | |
| 494 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_wm_base, | |
| 495 | + XDG_WM_BASE_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_wm_base), WL_MARSHAL_FLAG_DESTROY); | |
| 496 | +} | |
| 497 | + | |
| 498 | +/** | |
| 499 | + * @ingroup iface_xdg_wm_base | |
| 500 | + * | |
| 501 | + * Create a positioner object. A positioner object is used to position | |
| 502 | + * surfaces relative to some parent surface. See the interface description | |
| 503 | + * and xdg_surface.get_popup for details. | |
| 504 | + */ | |
| 505 | +static inline struct xdg_positioner * | |
| 506 | +xdg_wm_base_create_positioner(struct xdg_wm_base *xdg_wm_base) | |
| 507 | +{ | |
| 508 | + struct wl_proxy *id; | |
| 509 | + | |
| 510 | + id = wl_proxy_marshal_flags((struct wl_proxy *) xdg_wm_base, | |
| 511 | + XDG_WM_BASE_CREATE_POSITIONER, &xdg_positioner_interface, wl_proxy_get_version((struct wl_proxy *) xdg_wm_base), 0, NULL); | |
| 512 | + | |
| 513 | + return (struct xdg_positioner *) id; | |
| 514 | +} | |
| 515 | + | |
| 516 | +/** | |
| 517 | + * @ingroup iface_xdg_wm_base | |
| 518 | + * | |
| 519 | + * This creates an xdg_surface for the given surface. While xdg_surface | |
| 520 | + * itself is not a role, the corresponding surface may only be assigned | |
| 521 | + * a role extending xdg_surface, such as xdg_toplevel or xdg_popup. It is | |
| 522 | + * illegal to create an xdg_surface for a wl_surface which already has an | |
| 523 | + * assigned role and this will result in a role error. | |
| 524 | + * | |
| 525 | + * This creates an xdg_surface for the given surface. An xdg_surface is | |
| 526 | + * used as basis to define a role to a given surface, such as xdg_toplevel | |
| 527 | + * or xdg_popup. It also manages functionality shared between xdg_surface | |
| 528 | + * based surface roles. | |
| 529 | + * | |
| 530 | + * See the documentation of xdg_surface for more details about what an | |
| 531 | + * xdg_surface is and how it is used. | |
| 532 | + */ | |
| 533 | +static inline struct xdg_surface * | |
| 534 | +xdg_wm_base_get_xdg_surface(struct xdg_wm_base *xdg_wm_base, struct wl_surface *surface) | |
| 535 | +{ | |
| 536 | + struct wl_proxy *id; | |
| 537 | + | |
| 538 | + id = wl_proxy_marshal_flags((struct wl_proxy *) xdg_wm_base, | |
| 539 | + XDG_WM_BASE_GET_XDG_SURFACE, &xdg_surface_interface, wl_proxy_get_version((struct wl_proxy *) xdg_wm_base), 0, NULL, surface); | |
| 540 | + | |
| 541 | + return (struct xdg_surface *) id; | |
| 542 | +} | |
| 543 | + | |
| 544 | +/** | |
| 545 | + * @ingroup iface_xdg_wm_base | |
| 546 | + * | |
| 547 | + * A client must respond to a ping event with a pong request or | |
| 548 | + * the client may be deemed unresponsive. See xdg_wm_base.ping | |
| 549 | + * and xdg_wm_base.error.unresponsive. | |
| 550 | + */ | |
| 551 | +static inline void | |
| 552 | +xdg_wm_base_pong(struct xdg_wm_base *xdg_wm_base, uint32_t serial) | |
| 553 | +{ | |
| 554 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_wm_base, | |
| 555 | + XDG_WM_BASE_PONG, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_wm_base), 0, serial); | |
| 556 | +} | |
| 557 | + | |
| 558 | +#ifndef XDG_POSITIONER_ERROR_ENUM | |
| 559 | +#define XDG_POSITIONER_ERROR_ENUM | |
| 560 | +enum xdg_positioner_error { | |
| 561 | + /** | |
| 562 | + * invalid input provided | |
| 563 | + */ | |
| 564 | + XDG_POSITIONER_ERROR_INVALID_INPUT = 0, | |
| 565 | +}; | |
| 566 | +#endif /* XDG_POSITIONER_ERROR_ENUM */ | |
| 567 | + | |
| 568 | +#ifndef XDG_POSITIONER_ANCHOR_ENUM | |
| 569 | +#define XDG_POSITIONER_ANCHOR_ENUM | |
| 570 | +enum xdg_positioner_anchor { | |
| 571 | + XDG_POSITIONER_ANCHOR_NONE = 0, | |
| 572 | + XDG_POSITIONER_ANCHOR_TOP = 1, | |
| 573 | + XDG_POSITIONER_ANCHOR_BOTTOM = 2, | |
| 574 | + XDG_POSITIONER_ANCHOR_LEFT = 3, | |
| 575 | + XDG_POSITIONER_ANCHOR_RIGHT = 4, | |
| 576 | + XDG_POSITIONER_ANCHOR_TOP_LEFT = 5, | |
| 577 | + XDG_POSITIONER_ANCHOR_BOTTOM_LEFT = 6, | |
| 578 | + XDG_POSITIONER_ANCHOR_TOP_RIGHT = 7, | |
| 579 | + XDG_POSITIONER_ANCHOR_BOTTOM_RIGHT = 8, | |
| 580 | +}; | |
| 581 | +#endif /* XDG_POSITIONER_ANCHOR_ENUM */ | |
| 582 | + | |
| 583 | +#ifndef XDG_POSITIONER_GRAVITY_ENUM | |
| 584 | +#define XDG_POSITIONER_GRAVITY_ENUM | |
| 585 | +enum xdg_positioner_gravity { | |
| 586 | + XDG_POSITIONER_GRAVITY_NONE = 0, | |
| 587 | + XDG_POSITIONER_GRAVITY_TOP = 1, | |
| 588 | + XDG_POSITIONER_GRAVITY_BOTTOM = 2, | |
| 589 | + XDG_POSITIONER_GRAVITY_LEFT = 3, | |
| 590 | + XDG_POSITIONER_GRAVITY_RIGHT = 4, | |
| 591 | + XDG_POSITIONER_GRAVITY_TOP_LEFT = 5, | |
| 592 | + XDG_POSITIONER_GRAVITY_BOTTOM_LEFT = 6, | |
| 593 | + XDG_POSITIONER_GRAVITY_TOP_RIGHT = 7, | |
| 594 | + XDG_POSITIONER_GRAVITY_BOTTOM_RIGHT = 8, | |
| 595 | +}; | |
| 596 | +#endif /* XDG_POSITIONER_GRAVITY_ENUM */ | |
| 597 | + | |
| 598 | +#ifndef XDG_POSITIONER_CONSTRAINT_ADJUSTMENT_ENUM | |
| 599 | +#define XDG_POSITIONER_CONSTRAINT_ADJUSTMENT_ENUM | |
| 600 | +/** | |
| 601 | + * @ingroup iface_xdg_positioner | |
| 602 | + * constraint adjustments | |
| 603 | + * | |
| 604 | + * The constraint adjustment value define ways the compositor will adjust | |
| 605 | + * the position of the surface, if the unadjusted position would result | |
| 606 | + * in the surface being partly constrained. | |
| 607 | + * | |
| 608 | + * Whether a surface is considered 'constrained' is left to the compositor | |
| 609 | + * to determine. For example, the surface may be partly outside the | |
| 610 | + * compositor's defined 'work area', thus necessitating the child surface's | |
| 611 | + * position be adjusted until it is entirely inside the work area. | |
| 612 | + * | |
| 613 | + * The adjustments can be combined, according to a defined precedence: 1) | |
| 614 | + * Flip, 2) Slide, 3) Resize. | |
| 615 | + */ | |
| 616 | +enum xdg_positioner_constraint_adjustment { | |
| 617 | + /** | |
| 618 | + * don't move the child surface when constrained | |
| 619 | + * | |
| 620 | + * Don't alter the surface position even if it is constrained on | |
| 621 | + * some axis, for example partially outside the edge of an output. | |
| 622 | + */ | |
| 623 | + XDG_POSITIONER_CONSTRAINT_ADJUSTMENT_NONE = 0, | |
| 624 | + /** | |
| 625 | + * move along the x axis until unconstrained | |
| 626 | + * | |
| 627 | + * Slide the surface along the x axis until it is no longer | |
| 628 | + * constrained. | |
| 629 | + * | |
| 630 | + * First try to slide towards the direction of the gravity on the x | |
| 631 | + * axis until either the edge in the opposite direction of the | |
| 632 | + * gravity is unconstrained or the edge in the direction of the | |
| 633 | + * gravity is constrained. | |
| 634 | + * | |
| 635 | + * Then try to slide towards the opposite direction of the gravity | |
| 636 | + * on the x axis until either the edge in the direction of the | |
| 637 | + * gravity is unconstrained or the edge in the opposite direction | |
| 638 | + * of the gravity is constrained. | |
| 639 | + */ | |
| 640 | + XDG_POSITIONER_CONSTRAINT_ADJUSTMENT_SLIDE_X = 1, | |
| 641 | + /** | |
| 642 | + * move along the y axis until unconstrained | |
| 643 | + * | |
| 644 | + * Slide the surface along the y axis until it is no longer | |
| 645 | + * constrained. | |
| 646 | + * | |
| 647 | + * First try to slide towards the direction of the gravity on the y | |
| 648 | + * axis until either the edge in the opposite direction of the | |
| 649 | + * gravity is unconstrained or the edge in the direction of the | |
| 650 | + * gravity is constrained. | |
| 651 | + * | |
| 652 | + * Then try to slide towards the opposite direction of the gravity | |
| 653 | + * on the y axis until either the edge in the direction of the | |
| 654 | + * gravity is unconstrained or the edge in the opposite direction | |
| 655 | + * of the gravity is constrained. | |
| 656 | + */ | |
| 657 | + XDG_POSITIONER_CONSTRAINT_ADJUSTMENT_SLIDE_Y = 2, | |
| 658 | + /** | |
| 659 | + * invert the anchor and gravity on the x axis | |
| 660 | + * | |
| 661 | + * Invert the anchor and gravity on the x axis if the surface is | |
| 662 | + * constrained on the x axis. For example, if the left edge of the | |
| 663 | + * surface is constrained, the gravity is 'left' and the anchor is | |
| 664 | + * 'left', change the gravity to 'right' and the anchor to 'right'. | |
| 665 | + * | |
| 666 | + * If the adjusted position also ends up being constrained, the | |
| 667 | + * resulting position of the flip_x adjustment will be the one | |
| 668 | + * before the adjustment. | |
| 669 | + */ | |
| 670 | + XDG_POSITIONER_CONSTRAINT_ADJUSTMENT_FLIP_X = 4, | |
| 671 | + /** | |
| 672 | + * invert the anchor and gravity on the y axis | |
| 673 | + * | |
| 674 | + * Invert the anchor and gravity on the y axis if the surface is | |
| 675 | + * constrained on the y axis. For example, if the bottom edge of | |
| 676 | + * the surface is constrained, the gravity is 'bottom' and the | |
| 677 | + * anchor is 'bottom', change the gravity to 'top' and the anchor | |
| 678 | + * to 'top'. | |
| 679 | + * | |
| 680 | + * The adjusted position is calculated given the original anchor | |
| 681 | + * rectangle and offset, but with the new flipped anchor and | |
| 682 | + * gravity values. | |
| 683 | + * | |
| 684 | + * If the adjusted position also ends up being constrained, the | |
| 685 | + * resulting position of the flip_y adjustment will be the one | |
| 686 | + * before the adjustment. | |
| 687 | + */ | |
| 688 | + XDG_POSITIONER_CONSTRAINT_ADJUSTMENT_FLIP_Y = 8, | |
| 689 | + /** | |
| 690 | + * horizontally resize the surface | |
| 691 | + * | |
| 692 | + * Resize the surface horizontally so that it is completely | |
| 693 | + * unconstrained. | |
| 694 | + */ | |
| 695 | + XDG_POSITIONER_CONSTRAINT_ADJUSTMENT_RESIZE_X = 16, | |
| 696 | + /** | |
| 697 | + * vertically resize the surface | |
| 698 | + * | |
| 699 | + * Resize the surface vertically so that it is completely | |
| 700 | + * unconstrained. | |
| 701 | + */ | |
| 702 | + XDG_POSITIONER_CONSTRAINT_ADJUSTMENT_RESIZE_Y = 32, | |
| 703 | +}; | |
| 704 | +#endif /* XDG_POSITIONER_CONSTRAINT_ADJUSTMENT_ENUM */ | |
| 705 | + | |
| 706 | +#define XDG_POSITIONER_DESTROY 0 | |
| 707 | +#define XDG_POSITIONER_SET_SIZE 1 | |
| 708 | +#define XDG_POSITIONER_SET_ANCHOR_RECT 2 | |
| 709 | +#define XDG_POSITIONER_SET_ANCHOR 3 | |
| 710 | +#define XDG_POSITIONER_SET_GRAVITY 4 | |
| 711 | +#define XDG_POSITIONER_SET_CONSTRAINT_ADJUSTMENT 5 | |
| 712 | +#define XDG_POSITIONER_SET_OFFSET 6 | |
| 713 | +#define XDG_POSITIONER_SET_REACTIVE 7 | |
| 714 | +#define XDG_POSITIONER_SET_PARENT_SIZE 8 | |
| 715 | +#define XDG_POSITIONER_SET_PARENT_CONFIGURE 9 | |
| 716 | + | |
| 717 | + | |
| 718 | +/** | |
| 719 | + * @ingroup iface_xdg_positioner | |
| 720 | + */ | |
| 721 | +#define XDG_POSITIONER_DESTROY_SINCE_VERSION 1 | |
| 722 | +/** | |
| 723 | + * @ingroup iface_xdg_positioner | |
| 724 | + */ | |
| 725 | +#define XDG_POSITIONER_SET_SIZE_SINCE_VERSION 1 | |
| 726 | +/** | |
| 727 | + * @ingroup iface_xdg_positioner | |
| 728 | + */ | |
| 729 | +#define XDG_POSITIONER_SET_ANCHOR_RECT_SINCE_VERSION 1 | |
| 730 | +/** | |
| 731 | + * @ingroup iface_xdg_positioner | |
| 732 | + */ | |
| 733 | +#define XDG_POSITIONER_SET_ANCHOR_SINCE_VERSION 1 | |
| 734 | +/** | |
| 735 | + * @ingroup iface_xdg_positioner | |
| 736 | + */ | |
| 737 | +#define XDG_POSITIONER_SET_GRAVITY_SINCE_VERSION 1 | |
| 738 | +/** | |
| 739 | + * @ingroup iface_xdg_positioner | |
| 740 | + */ | |
| 741 | +#define XDG_POSITIONER_SET_CONSTRAINT_ADJUSTMENT_SINCE_VERSION 1 | |
| 742 | +/** | |
| 743 | + * @ingroup iface_xdg_positioner | |
| 744 | + */ | |
| 745 | +#define XDG_POSITIONER_SET_OFFSET_SINCE_VERSION 1 | |
| 746 | +/** | |
| 747 | + * @ingroup iface_xdg_positioner | |
| 748 | + */ | |
| 749 | +#define XDG_POSITIONER_SET_REACTIVE_SINCE_VERSION 3 | |
| 750 | +/** | |
| 751 | + * @ingroup iface_xdg_positioner | |
| 752 | + */ | |
| 753 | +#define XDG_POSITIONER_SET_PARENT_SIZE_SINCE_VERSION 3 | |
| 754 | +/** | |
| 755 | + * @ingroup iface_xdg_positioner | |
| 756 | + */ | |
| 757 | +#define XDG_POSITIONER_SET_PARENT_CONFIGURE_SINCE_VERSION 3 | |
| 758 | + | |
| 759 | +/** @ingroup iface_xdg_positioner */ | |
| 760 | +static inline void | |
| 761 | +xdg_positioner_set_user_data(struct xdg_positioner *xdg_positioner, void *user_data) | |
| 762 | +{ | |
| 763 | + wl_proxy_set_user_data((struct wl_proxy *) xdg_positioner, user_data); | |
| 764 | +} | |
| 765 | + | |
| 766 | +/** @ingroup iface_xdg_positioner */ | |
| 767 | +static inline void * | |
| 768 | +xdg_positioner_get_user_data(struct xdg_positioner *xdg_positioner) | |
| 769 | +{ | |
| 770 | + return wl_proxy_get_user_data((struct wl_proxy *) xdg_positioner); | |
| 771 | +} | |
| 772 | + | |
| 773 | +static inline uint32_t | |
| 774 | +xdg_positioner_get_version(struct xdg_positioner *xdg_positioner) | |
| 775 | +{ | |
| 776 | + return wl_proxy_get_version((struct wl_proxy *) xdg_positioner); | |
| 777 | +} | |
| 778 | + | |
| 779 | +/** | |
| 780 | + * @ingroup iface_xdg_positioner | |
| 781 | + * | |
| 782 | + * Notify the compositor that the xdg_positioner will no longer be used. | |
| 783 | + */ | |
| 784 | +static inline void | |
| 785 | +xdg_positioner_destroy(struct xdg_positioner *xdg_positioner) | |
| 786 | +{ | |
| 787 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_positioner, | |
| 788 | + XDG_POSITIONER_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_positioner), WL_MARSHAL_FLAG_DESTROY); | |
| 789 | +} | |
| 790 | + | |
| 791 | +/** | |
| 792 | + * @ingroup iface_xdg_positioner | |
| 793 | + * | |
| 794 | + * Set the size of the surface that is to be positioned with the positioner | |
| 795 | + * object. The size is in surface-local coordinates and corresponds to the | |
| 796 | + * window geometry. See xdg_surface.set_window_geometry. | |
| 797 | + * | |
| 798 | + * If a zero or negative size is set the invalid_input error is raised. | |
| 799 | + */ | |
| 800 | +static inline void | |
| 801 | +xdg_positioner_set_size(struct xdg_positioner *xdg_positioner, int32_t width, int32_t height) | |
| 802 | +{ | |
| 803 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_positioner, | |
| 804 | + XDG_POSITIONER_SET_SIZE, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_positioner), 0, width, height); | |
| 805 | +} | |
| 806 | + | |
| 807 | +/** | |
| 808 | + * @ingroup iface_xdg_positioner | |
| 809 | + * | |
| 810 | + * Specify the anchor rectangle within the parent surface that the child | |
| 811 | + * surface will be placed relative to. The rectangle is relative to the | |
| 812 | + * window geometry as defined by xdg_surface.set_window_geometry of the | |
| 813 | + * parent surface. | |
| 814 | + * | |
| 815 | + * When the xdg_positioner object is used to position a child surface, the | |
| 816 | + * anchor rectangle may not extend outside the window geometry of the | |
| 817 | + * positioned child's parent surface. | |
| 818 | + * | |
| 819 | + * If a negative size is set the invalid_input error is raised. | |
| 820 | + */ | |
| 821 | +static inline void | |
| 822 | +xdg_positioner_set_anchor_rect(struct xdg_positioner *xdg_positioner, int32_t x, int32_t y, int32_t width, int32_t height) | |
| 823 | +{ | |
| 824 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_positioner, | |
| 825 | + XDG_POSITIONER_SET_ANCHOR_RECT, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_positioner), 0, x, y, width, height); | |
| 826 | +} | |
| 827 | + | |
| 828 | +/** | |
| 829 | + * @ingroup iface_xdg_positioner | |
| 830 | + * | |
| 831 | + * Defines the anchor point for the anchor rectangle. The specified anchor | |
| 832 | + * is used derive an anchor point that the child surface will be | |
| 833 | + * positioned relative to. If a corner anchor is set (e.g. 'top_left' or | |
| 834 | + * 'bottom_right'), the anchor point will be at the specified corner; | |
| 835 | + * otherwise, the derived anchor point will be centered on the specified | |
| 836 | + * edge, or in the center of the anchor rectangle if no edge is specified. | |
| 837 | + */ | |
| 838 | +static inline void | |
| 839 | +xdg_positioner_set_anchor(struct xdg_positioner *xdg_positioner, uint32_t anchor) | |
| 840 | +{ | |
| 841 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_positioner, | |
| 842 | + XDG_POSITIONER_SET_ANCHOR, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_positioner), 0, anchor); | |
| 843 | +} | |
| 844 | + | |
| 845 | +/** | |
| 846 | + * @ingroup iface_xdg_positioner | |
| 847 | + * | |
| 848 | + * Defines in what direction a surface should be positioned, relative to | |
| 849 | + * the anchor point of the parent surface. If a corner gravity is | |
| 850 | + * specified (e.g. 'bottom_right' or 'top_left'), then the child surface | |
| 851 | + * will be placed towards the specified gravity; otherwise, the child | |
| 852 | + * surface will be centered over the anchor point on any axis that had no | |
| 853 | + * gravity specified. If the gravity is not in the ���gravity��� enum, an | |
| 854 | + * invalid_input error is raised. | |
| 855 | + */ | |
| 856 | +static inline void | |
| 857 | +xdg_positioner_set_gravity(struct xdg_positioner *xdg_positioner, uint32_t gravity) | |
| 858 | +{ | |
| 859 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_positioner, | |
| 860 | + XDG_POSITIONER_SET_GRAVITY, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_positioner), 0, gravity); | |
| 861 | +} | |
| 862 | + | |
| 863 | +/** | |
| 864 | + * @ingroup iface_xdg_positioner | |
| 865 | + * | |
| 866 | + * Specify how the window should be positioned if the originally intended | |
| 867 | + * position caused the surface to be constrained, meaning at least | |
| 868 | + * partially outside positioning boundaries set by the compositor. The | |
| 869 | + * adjustment is set by constructing a bitmask describing the adjustment to | |
| 870 | + * be made when the surface is constrained on that axis. | |
| 871 | + * | |
| 872 | + * If no bit for one axis is set, the compositor will assume that the child | |
| 873 | + * surface should not change its position on that axis when constrained. | |
| 874 | + * | |
| 875 | + * If more than one bit for one axis is set, the order of how adjustments | |
| 876 | + * are applied is specified in the corresponding adjustment descriptions. | |
| 877 | + * | |
| 878 | + * The default adjustment is none. | |
| 879 | + */ | |
| 880 | +static inline void | |
| 881 | +xdg_positioner_set_constraint_adjustment(struct xdg_positioner *xdg_positioner, uint32_t constraint_adjustment) | |
| 882 | +{ | |
| 883 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_positioner, | |
| 884 | + XDG_POSITIONER_SET_CONSTRAINT_ADJUSTMENT, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_positioner), 0, constraint_adjustment); | |
| 885 | +} | |
| 886 | + | |
| 887 | +/** | |
| 888 | + * @ingroup iface_xdg_positioner | |
| 889 | + * | |
| 890 | + * Specify the surface position offset relative to the position of the | |
| 891 | + * anchor on the anchor rectangle and the anchor on the surface. For | |
| 892 | + * example if the anchor of the anchor rectangle is at (x, y), the surface | |
| 893 | + * has the gravity bottom|right, and the offset is (ox, oy), the calculated | |
| 894 | + * surface position will be (x + ox, y + oy). The offset position of the | |
| 895 | + * surface is the one used for constraint testing. See | |
| 896 | + * set_constraint_adjustment. | |
| 897 | + * | |
| 898 | + * An example use case is placing a popup menu on top of a user interface | |
| 899 | + * element, while aligning the user interface element of the parent surface | |
| 900 | + * with some user interface element placed somewhere in the popup surface. | |
| 901 | + */ | |
| 902 | +static inline void | |
| 903 | +xdg_positioner_set_offset(struct xdg_positioner *xdg_positioner, int32_t x, int32_t y) | |
| 904 | +{ | |
| 905 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_positioner, | |
| 906 | + XDG_POSITIONER_SET_OFFSET, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_positioner), 0, x, y); | |
| 907 | +} | |
| 908 | + | |
| 909 | +/** | |
| 910 | + * @ingroup iface_xdg_positioner | |
| 911 | + * | |
| 912 | + * When set reactive, the surface is reconstrained if the conditions used | |
| 913 | + * for constraining changed, e.g. the parent window moved. | |
| 914 | + * | |
| 915 | + * If the conditions changed and the popup was reconstrained, an | |
| 916 | + * xdg_popup.configure event is sent with updated geometry, followed by an | |
| 917 | + * xdg_surface.configure event. | |
| 918 | + */ | |
| 919 | +static inline void | |
| 920 | +xdg_positioner_set_reactive(struct xdg_positioner *xdg_positioner) | |
| 921 | +{ | |
| 922 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_positioner, | |
| 923 | + XDG_POSITIONER_SET_REACTIVE, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_positioner), 0); | |
| 924 | +} | |
| 925 | + | |
| 926 | +/** | |
| 927 | + * @ingroup iface_xdg_positioner | |
| 928 | + * | |
| 929 | + * Set the parent window geometry the compositor should use when | |
| 930 | + * positioning the popup. The compositor may use this information to | |
| 931 | + * determine the future state the popup should be constrained using. If | |
| 932 | + * this doesn't match the dimension of the parent the popup is eventually | |
| 933 | + * positioned against, the behavior is undefined. | |
| 934 | + * | |
| 935 | + * The arguments are given in the surface-local coordinate space. | |
| 936 | + */ | |
| 937 | +static inline void | |
| 938 | +xdg_positioner_set_parent_size(struct xdg_positioner *xdg_positioner, int32_t parent_width, int32_t parent_height) | |
| 939 | +{ | |
| 940 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_positioner, | |
| 941 | + XDG_POSITIONER_SET_PARENT_SIZE, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_positioner), 0, parent_width, parent_height); | |
| 942 | +} | |
| 943 | + | |
| 944 | +/** | |
| 945 | + * @ingroup iface_xdg_positioner | |
| 946 | + * | |
| 947 | + * Set the serial of an xdg_surface.configure event this positioner will be | |
| 948 | + * used in response to. The compositor may use this information together | |
| 949 | + * with set_parent_size to determine what future state the popup should be | |
| 950 | + * constrained using. | |
| 951 | + */ | |
| 952 | +static inline void | |
| 953 | +xdg_positioner_set_parent_configure(struct xdg_positioner *xdg_positioner, uint32_t serial) | |
| 954 | +{ | |
| 955 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_positioner, | |
| 956 | + XDG_POSITIONER_SET_PARENT_CONFIGURE, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_positioner), 0, serial); | |
| 957 | +} | |
| 958 | + | |
| 959 | +#ifndef XDG_SURFACE_ERROR_ENUM | |
| 960 | +#define XDG_SURFACE_ERROR_ENUM | |
| 961 | +enum xdg_surface_error { | |
| 962 | + /** | |
| 963 | + * Surface was not fully constructed | |
| 964 | + */ | |
| 965 | + XDG_SURFACE_ERROR_NOT_CONSTRUCTED = 1, | |
| 966 | + /** | |
| 967 | + * Surface was already constructed | |
| 968 | + */ | |
| 969 | + XDG_SURFACE_ERROR_ALREADY_CONSTRUCTED = 2, | |
| 970 | + /** | |
| 971 | + * Attaching a buffer to an unconfigured surface | |
| 972 | + */ | |
| 973 | + XDG_SURFACE_ERROR_UNCONFIGURED_BUFFER = 3, | |
| 974 | + /** | |
| 975 | + * Invalid serial number when acking a configure event | |
| 976 | + */ | |
| 977 | + XDG_SURFACE_ERROR_INVALID_SERIAL = 4, | |
| 978 | + /** | |
| 979 | + * Width or height was zero or negative | |
| 980 | + */ | |
| 981 | + XDG_SURFACE_ERROR_INVALID_SIZE = 5, | |
| 982 | + /** | |
| 983 | + * Surface was destroyed before its role object | |
| 984 | + */ | |
| 985 | + XDG_SURFACE_ERROR_DEFUNCT_ROLE_OBJECT = 6, | |
| 986 | +}; | |
| 987 | +#endif /* XDG_SURFACE_ERROR_ENUM */ | |
| 988 | + | |
| 989 | +/** | |
| 990 | + * @ingroup iface_xdg_surface | |
| 991 | + * @struct xdg_surface_listener | |
| 992 | + */ | |
| 993 | +struct xdg_surface_listener { | |
| 994 | + /** | |
| 995 | + * suggest a surface change | |
| 996 | + * | |
| 997 | + * The configure event marks the end of a configure sequence. A | |
| 998 | + * configure sequence is a set of one or more events configuring | |
| 999 | + * the state of the xdg_surface, including the final | |
| 1000 | + * xdg_surface.configure event. | |
| 1001 | + * | |
| 1002 | + * Where applicable, xdg_surface surface roles will during a | |
| 1003 | + * configure sequence extend this event as a latched state sent as | |
| 1004 | + * events before the xdg_surface.configure event. Such events | |
| 1005 | + * should be considered to make up a set of atomically applied | |
| 1006 | + * configuration states, where the xdg_surface.configure commits | |
| 1007 | + * the accumulated state. | |
| 1008 | + * | |
| 1009 | + * Clients should arrange their surface for the new states, and | |
| 1010 | + * then send an ack_configure request with the serial sent in this | |
| 1011 | + * configure event at some point before committing the new surface. | |
| 1012 | + * | |
| 1013 | + * If the client receives multiple configure events before it can | |
| 1014 | + * respond to one, it is free to discard all but the last event it | |
| 1015 | + * received. | |
| 1016 | + * @param serial serial of the configure event | |
| 1017 | + */ | |
| 1018 | + void (*configure)(void *data, | |
| 1019 | + struct xdg_surface *xdg_surface, | |
| 1020 | + uint32_t serial); | |
| 1021 | +}; | |
| 1022 | + | |
| 1023 | +/** | |
| 1024 | + * @ingroup iface_xdg_surface | |
| 1025 | + */ | |
| 1026 | +static inline int | |
| 1027 | +xdg_surface_add_listener(struct xdg_surface *xdg_surface, | |
| 1028 | + const struct xdg_surface_listener *listener, void *data) | |
| 1029 | +{ | |
| 1030 | + return wl_proxy_add_listener((struct wl_proxy *) xdg_surface, | |
| 1031 | + (void (**)(void)) listener, data); | |
| 1032 | +} | |
| 1033 | + | |
| 1034 | +#define XDG_SURFACE_DESTROY 0 | |
| 1035 | +#define XDG_SURFACE_GET_TOPLEVEL 1 | |
| 1036 | +#define XDG_SURFACE_GET_POPUP 2 | |
| 1037 | +#define XDG_SURFACE_SET_WINDOW_GEOMETRY 3 | |
| 1038 | +#define XDG_SURFACE_ACK_CONFIGURE 4 | |
| 1039 | + | |
| 1040 | +/** | |
| 1041 | + * @ingroup iface_xdg_surface | |
| 1042 | + */ | |
| 1043 | +#define XDG_SURFACE_CONFIGURE_SINCE_VERSION 1 | |
| 1044 | + | |
| 1045 | +/** | |
| 1046 | + * @ingroup iface_xdg_surface | |
| 1047 | + */ | |
| 1048 | +#define XDG_SURFACE_DESTROY_SINCE_VERSION 1 | |
| 1049 | +/** | |
| 1050 | + * @ingroup iface_xdg_surface | |
| 1051 | + */ | |
| 1052 | +#define XDG_SURFACE_GET_TOPLEVEL_SINCE_VERSION 1 | |
| 1053 | +/** | |
| 1054 | + * @ingroup iface_xdg_surface | |
| 1055 | + */ | |
| 1056 | +#define XDG_SURFACE_GET_POPUP_SINCE_VERSION 1 | |
| 1057 | +/** | |
| 1058 | + * @ingroup iface_xdg_surface | |
| 1059 | + */ | |
| 1060 | +#define XDG_SURFACE_SET_WINDOW_GEOMETRY_SINCE_VERSION 1 | |
| 1061 | +/** | |
| 1062 | + * @ingroup iface_xdg_surface | |
| 1063 | + */ | |
| 1064 | +#define XDG_SURFACE_ACK_CONFIGURE_SINCE_VERSION 1 | |
| 1065 | + | |
| 1066 | +/** @ingroup iface_xdg_surface */ | |
| 1067 | +static inline void | |
| 1068 | +xdg_surface_set_user_data(struct xdg_surface *xdg_surface, void *user_data) | |
| 1069 | +{ | |
| 1070 | + wl_proxy_set_user_data((struct wl_proxy *) xdg_surface, user_data); | |
| 1071 | +} | |
| 1072 | + | |
| 1073 | +/** @ingroup iface_xdg_surface */ | |
| 1074 | +static inline void * | |
| 1075 | +xdg_surface_get_user_data(struct xdg_surface *xdg_surface) | |
| 1076 | +{ | |
| 1077 | + return wl_proxy_get_user_data((struct wl_proxy *) xdg_surface); | |
| 1078 | +} | |
| 1079 | + | |
| 1080 | +static inline uint32_t | |
| 1081 | +xdg_surface_get_version(struct xdg_surface *xdg_surface) | |
| 1082 | +{ | |
| 1083 | + return wl_proxy_get_version((struct wl_proxy *) xdg_surface); | |
| 1084 | +} | |
| 1085 | + | |
| 1086 | +/** | |
| 1087 | + * @ingroup iface_xdg_surface | |
| 1088 | + * | |
| 1089 | + * Destroy the xdg_surface object. An xdg_surface must only be destroyed | |
| 1090 | + * after its role object has been destroyed, otherwise | |
| 1091 | + * a defunct_role_object error is raised. | |
| 1092 | + */ | |
| 1093 | +static inline void | |
| 1094 | +xdg_surface_destroy(struct xdg_surface *xdg_surface) | |
| 1095 | +{ | |
| 1096 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_surface, | |
| 1097 | + XDG_SURFACE_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_surface), WL_MARSHAL_FLAG_DESTROY); | |
| 1098 | +} | |
| 1099 | + | |
| 1100 | +/** | |
| 1101 | + * @ingroup iface_xdg_surface | |
| 1102 | + * | |
| 1103 | + * This creates an xdg_toplevel object for the given xdg_surface and gives | |
| 1104 | + * the associated wl_surface the xdg_toplevel role. | |
| 1105 | + * | |
| 1106 | + * See the documentation of xdg_toplevel for more details about what an | |
| 1107 | + * xdg_toplevel is and how it is used. | |
| 1108 | + */ | |
| 1109 | +static inline struct xdg_toplevel * | |
| 1110 | +xdg_surface_get_toplevel(struct xdg_surface *xdg_surface) | |
| 1111 | +{ | |
| 1112 | + struct wl_proxy *id; | |
| 1113 | + | |
| 1114 | + id = wl_proxy_marshal_flags((struct wl_proxy *) xdg_surface, | |
| 1115 | + XDG_SURFACE_GET_TOPLEVEL, &xdg_toplevel_interface, wl_proxy_get_version((struct wl_proxy *) xdg_surface), 0, NULL); | |
| 1116 | + | |
| 1117 | + return (struct xdg_toplevel *) id; | |
| 1118 | +} | |
| 1119 | + | |
| 1120 | +/** | |
| 1121 | + * @ingroup iface_xdg_surface | |
| 1122 | + * | |
| 1123 | + * This creates an xdg_popup object for the given xdg_surface and gives | |
| 1124 | + * the associated wl_surface the xdg_popup role. | |
| 1125 | + * | |
| 1126 | + * If null is passed as a parent, a parent surface must be specified using | |
| 1127 | + * some other protocol, before committing the initial state. | |
| 1128 | + * | |
| 1129 | + * See the documentation of xdg_popup for more details about what an | |
| 1130 | + * xdg_popup is and how it is used. | |
| 1131 | + */ | |
| 1132 | +static inline struct xdg_popup * | |
| 1133 | +xdg_surface_get_popup(struct xdg_surface *xdg_surface, struct xdg_surface *parent, struct xdg_positioner *positioner) | |
| 1134 | +{ | |
| 1135 | + struct wl_proxy *id; | |
| 1136 | + | |
| 1137 | + id = wl_proxy_marshal_flags((struct wl_proxy *) xdg_surface, | |
| 1138 | + XDG_SURFACE_GET_POPUP, &xdg_popup_interface, wl_proxy_get_version((struct wl_proxy *) xdg_surface), 0, NULL, parent, positioner); | |
| 1139 | + | |
| 1140 | + return (struct xdg_popup *) id; | |
| 1141 | +} | |
| 1142 | + | |
| 1143 | +/** | |
| 1144 | + * @ingroup iface_xdg_surface | |
| 1145 | + * | |
| 1146 | + * The window geometry of a surface is its "visible bounds" from the | |
| 1147 | + * user's perspective. Client-side decorations often have invisible | |
| 1148 | + * portions like drop-shadows which should be ignored for the | |
| 1149 | + * purposes of aligning, placing and constraining windows. | |
| 1150 | + * | |
| 1151 | + * The window geometry is double buffered, and will be applied at the | |
| 1152 | + * time wl_surface.commit of the corresponding wl_surface is called. | |
| 1153 | + * | |
| 1154 | + * When maintaining a position, the compositor should treat the (x, y) | |
| 1155 | + * coordinate of the window geometry as the top left corner of the window. | |
| 1156 | + * A client changing the (x, y) window geometry coordinate should in | |
| 1157 | + * general not alter the position of the window. | |
| 1158 | + * | |
| 1159 | + * Once the window geometry of the surface is set, it is not possible to | |
| 1160 | + * unset it, and it will remain the same until set_window_geometry is | |
| 1161 | + * called again, even if a new subsurface or buffer is attached. | |
| 1162 | + * | |
| 1163 | + * If never set, the value is the full bounds of the surface, | |
| 1164 | + * including any subsurfaces. This updates dynamically on every | |
| 1165 | + * commit. This unset is meant for extremely simple clients. | |
| 1166 | + * | |
| 1167 | + * The arguments are given in the surface-local coordinate space of | |
| 1168 | + * the wl_surface associated with this xdg_surface, and may extend outside | |
| 1169 | + * of the wl_surface itself to mark parts of the subsurface tree as part of | |
| 1170 | + * the window geometry. | |
| 1171 | + * | |
| 1172 | + * When applied, the effective window geometry will be the set window | |
| 1173 | + * geometry clamped to the bounding rectangle of the combined | |
| 1174 | + * geometry of the surface of the xdg_surface and the associated | |
| 1175 | + * subsurfaces. | |
| 1176 | + * | |
| 1177 | + * The effective geometry will not be recalculated unless a new call to | |
| 1178 | + * set_window_geometry is done and the new pending surface state is | |
| 1179 | + * subsequently applied. | |
| 1180 | + * | |
| 1181 | + * The width and height of the effective window geometry must be | |
| 1182 | + * greater than zero. Setting an invalid size will raise an | |
| 1183 | + * invalid_size error. | |
| 1184 | + */ | |
| 1185 | +static inline void | |
| 1186 | +xdg_surface_set_window_geometry(struct xdg_surface *xdg_surface, int32_t x, int32_t y, int32_t width, int32_t height) | |
| 1187 | +{ | |
| 1188 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_surface, | |
| 1189 | + XDG_SURFACE_SET_WINDOW_GEOMETRY, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_surface), 0, x, y, width, height); | |
| 1190 | +} | |
| 1191 | + | |
| 1192 | +/** | |
| 1193 | + * @ingroup iface_xdg_surface | |
| 1194 | + * | |
| 1195 | + * When a configure event is received, if a client commits the | |
| 1196 | + * surface in response to the configure event, then the client | |
| 1197 | + * must make an ack_configure request sometime before the commit | |
| 1198 | + * request, passing along the serial of the configure event. | |
| 1199 | + * | |
| 1200 | + * For instance, for toplevel surfaces the compositor might use this | |
| 1201 | + * information to move a surface to the top left only when the client has | |
| 1202 | + * drawn itself for the maximized or fullscreen state. | |
| 1203 | + * | |
| 1204 | + * If the client receives multiple configure events before it | |
| 1205 | + * can respond to one, it only has to ack the last configure event. | |
| 1206 | + * Acking a configure event that was never sent raises an invalid_serial | |
| 1207 | + * error. | |
| 1208 | + * | |
| 1209 | + * A client is not required to commit immediately after sending | |
| 1210 | + * an ack_configure request - it may even ack_configure several times | |
| 1211 | + * before its next surface commit. | |
| 1212 | + * | |
| 1213 | + * A client may send multiple ack_configure requests before committing, but | |
| 1214 | + * only the last request sent before a commit indicates which configure | |
| 1215 | + * event the client really is responding to. | |
| 1216 | + * | |
| 1217 | + * Sending an ack_configure request consumes the serial number sent with | |
| 1218 | + * the request, as well as serial numbers sent by all configure events | |
| 1219 | + * sent on this xdg_surface prior to the configure event referenced by | |
| 1220 | + * the committed serial. | |
| 1221 | + * | |
| 1222 | + * It is an error to issue multiple ack_configure requests referencing a | |
| 1223 | + * serial from the same configure event, or to issue an ack_configure | |
| 1224 | + * request referencing a serial from a configure event issued before the | |
| 1225 | + * event identified by the last ack_configure request for the same | |
| 1226 | + * xdg_surface. Doing so will raise an invalid_serial error. | |
| 1227 | + */ | |
| 1228 | +static inline void | |
| 1229 | +xdg_surface_ack_configure(struct xdg_surface *xdg_surface, uint32_t serial) | |
| 1230 | +{ | |
| 1231 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_surface, | |
| 1232 | + XDG_SURFACE_ACK_CONFIGURE, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_surface), 0, serial); | |
| 1233 | +} | |
| 1234 | + | |
| 1235 | +#ifndef XDG_TOPLEVEL_ERROR_ENUM | |
| 1236 | +#define XDG_TOPLEVEL_ERROR_ENUM | |
| 1237 | +enum xdg_toplevel_error { | |
| 1238 | + /** | |
| 1239 | + * provided value is not a valid variant of the resize_edge enum | |
| 1240 | + */ | |
| 1241 | + XDG_TOPLEVEL_ERROR_INVALID_RESIZE_EDGE = 0, | |
| 1242 | + /** | |
| 1243 | + * invalid parent toplevel | |
| 1244 | + */ | |
| 1245 | + XDG_TOPLEVEL_ERROR_INVALID_PARENT = 1, | |
| 1246 | + /** | |
| 1247 | + * client provided an invalid min or max size | |
| 1248 | + */ | |
| 1249 | + XDG_TOPLEVEL_ERROR_INVALID_SIZE = 2, | |
| 1250 | +}; | |
| 1251 | +#endif /* XDG_TOPLEVEL_ERROR_ENUM */ | |
| 1252 | + | |
| 1253 | +#ifndef XDG_TOPLEVEL_RESIZE_EDGE_ENUM | |
| 1254 | +#define XDG_TOPLEVEL_RESIZE_EDGE_ENUM | |
| 1255 | +/** | |
| 1256 | + * @ingroup iface_xdg_toplevel | |
| 1257 | + * edge values for resizing | |
| 1258 | + * | |
| 1259 | + * These values are used to indicate which edge of a surface | |
| 1260 | + * is being dragged in a resize operation. | |
| 1261 | + */ | |
| 1262 | +enum xdg_toplevel_resize_edge { | |
| 1263 | + XDG_TOPLEVEL_RESIZE_EDGE_NONE = 0, | |
| 1264 | + XDG_TOPLEVEL_RESIZE_EDGE_TOP = 1, | |
| 1265 | + XDG_TOPLEVEL_RESIZE_EDGE_BOTTOM = 2, | |
| 1266 | + XDG_TOPLEVEL_RESIZE_EDGE_LEFT = 4, | |
| 1267 | + XDG_TOPLEVEL_RESIZE_EDGE_TOP_LEFT = 5, | |
| 1268 | + XDG_TOPLEVEL_RESIZE_EDGE_BOTTOM_LEFT = 6, | |
| 1269 | + XDG_TOPLEVEL_RESIZE_EDGE_RIGHT = 8, | |
| 1270 | + XDG_TOPLEVEL_RESIZE_EDGE_TOP_RIGHT = 9, | |
| 1271 | + XDG_TOPLEVEL_RESIZE_EDGE_BOTTOM_RIGHT = 10, | |
| 1272 | +}; | |
| 1273 | +#endif /* XDG_TOPLEVEL_RESIZE_EDGE_ENUM */ | |
| 1274 | + | |
| 1275 | +#ifndef XDG_TOPLEVEL_STATE_ENUM | |
| 1276 | +#define XDG_TOPLEVEL_STATE_ENUM | |
| 1277 | +/** | |
| 1278 | + * @ingroup iface_xdg_toplevel | |
| 1279 | + * types of state on the surface | |
| 1280 | + * | |
| 1281 | + * The different state values used on the surface. This is designed for | |
| 1282 | + * state values like maximized, fullscreen. It is paired with the | |
| 1283 | + * configure event to ensure that both the client and the compositor | |
| 1284 | + * setting the state can be synchronized. | |
| 1285 | + * | |
| 1286 | + * States set in this way are double-buffered. They will get applied on | |
| 1287 | + * the next commit. | |
| 1288 | + */ | |
| 1289 | +enum xdg_toplevel_state { | |
| 1290 | + /** | |
| 1291 | + * the surface is maximized | |
| 1292 | + * the surface is maximized | |
| 1293 | + * | |
| 1294 | + * The surface is maximized. The window geometry specified in the | |
| 1295 | + * configure event must be obeyed by the client, or the | |
| 1296 | + * xdg_wm_base.invalid_surface_state error is raised. | |
| 1297 | + * | |
| 1298 | + * The client should draw without shadow or other decoration | |
| 1299 | + * outside of the window geometry. | |
| 1300 | + */ | |
| 1301 | + XDG_TOPLEVEL_STATE_MAXIMIZED = 1, | |
| 1302 | + /** | |
| 1303 | + * the surface is fullscreen | |
| 1304 | + * the surface is fullscreen | |
| 1305 | + * | |
| 1306 | + * The surface is fullscreen. The window geometry specified in | |
| 1307 | + * the configure event is a maximum; the client cannot resize | |
| 1308 | + * beyond it. For a surface to cover the whole fullscreened area, | |
| 1309 | + * the geometry dimensions must be obeyed by the client. For more | |
| 1310 | + * details, see xdg_toplevel.set_fullscreen. | |
| 1311 | + */ | |
| 1312 | + XDG_TOPLEVEL_STATE_FULLSCREEN = 2, | |
| 1313 | + /** | |
| 1314 | + * the surface is being resized | |
| 1315 | + * the surface is being resized | |
| 1316 | + * | |
| 1317 | + * The surface is being resized. The window geometry specified in | |
| 1318 | + * the configure event is a maximum; the client cannot resize | |
| 1319 | + * beyond it. Clients that have aspect ratio or cell sizing | |
| 1320 | + * configuration can use a smaller size, however. | |
| 1321 | + */ | |
| 1322 | + XDG_TOPLEVEL_STATE_RESIZING = 3, | |
| 1323 | + /** | |
| 1324 | + * the surface is now activated | |
| 1325 | + * the surface is now activated | |
| 1326 | + * | |
| 1327 | + * Client window decorations should be painted as if the window | |
| 1328 | + * is active. Do not assume this means that the window actually has | |
| 1329 | + * keyboard or pointer focus. | |
| 1330 | + */ | |
| 1331 | + XDG_TOPLEVEL_STATE_ACTIVATED = 4, | |
| 1332 | + /** | |
| 1333 | + * the surface���s left edge is tiled | |
| 1334 | + * | |
| 1335 | + * The window is currently in a tiled layout and the left edge is | |
| 1336 | + * considered to be adjacent to another part of the tiling grid. | |
| 1337 | + * @since 2 | |
| 1338 | + */ | |
| 1339 | + XDG_TOPLEVEL_STATE_TILED_LEFT = 5, | |
| 1340 | + /** | |
| 1341 | + * the surface���s right edge is tiled | |
| 1342 | + * | |
| 1343 | + * The window is currently in a tiled layout and the right edge | |
| 1344 | + * is considered to be adjacent to another part of the tiling grid. | |
| 1345 | + * @since 2 | |
| 1346 | + */ | |
| 1347 | + XDG_TOPLEVEL_STATE_TILED_RIGHT = 6, | |
| 1348 | + /** | |
| 1349 | + * the surface���s top edge is tiled | |
| 1350 | + * | |
| 1351 | + * The window is currently in a tiled layout and the top edge is | |
| 1352 | + * considered to be adjacent to another part of the tiling grid. | |
| 1353 | + * @since 2 | |
| 1354 | + */ | |
| 1355 | + XDG_TOPLEVEL_STATE_TILED_TOP = 7, | |
| 1356 | + /** | |
| 1357 | + * the surface���s bottom edge is tiled | |
| 1358 | + * | |
| 1359 | + * The window is currently in a tiled layout and the bottom edge | |
| 1360 | + * is considered to be adjacent to another part of the tiling grid. | |
| 1361 | + * @since 2 | |
| 1362 | + */ | |
| 1363 | + XDG_TOPLEVEL_STATE_TILED_BOTTOM = 8, | |
| 1364 | + /** | |
| 1365 | + * surface repaint is suspended | |
| 1366 | + * | |
| 1367 | + * The surface is currently not ordinarily being repainted; for | |
| 1368 | + * example because its content is occluded by another window, or | |
| 1369 | + * its outputs are switched off due to screen locking. | |
| 1370 | + * @since 6 | |
| 1371 | + */ | |
| 1372 | + XDG_TOPLEVEL_STATE_SUSPENDED = 9, | |
| 1373 | +}; | |
| 1374 | +/** | |
| 1375 | + * @ingroup iface_xdg_toplevel | |
| 1376 | + */ | |
| 1377 | +#define XDG_TOPLEVEL_STATE_TILED_LEFT_SINCE_VERSION 2 | |
| 1378 | +/** | |
| 1379 | + * @ingroup iface_xdg_toplevel | |
| 1380 | + */ | |
| 1381 | +#define XDG_TOPLEVEL_STATE_TILED_RIGHT_SINCE_VERSION 2 | |
| 1382 | +/** | |
| 1383 | + * @ingroup iface_xdg_toplevel | |
| 1384 | + */ | |
| 1385 | +#define XDG_TOPLEVEL_STATE_TILED_TOP_SINCE_VERSION 2 | |
| 1386 | +/** | |
| 1387 | + * @ingroup iface_xdg_toplevel | |
| 1388 | + */ | |
| 1389 | +#define XDG_TOPLEVEL_STATE_TILED_BOTTOM_SINCE_VERSION 2 | |
| 1390 | +/** | |
| 1391 | + * @ingroup iface_xdg_toplevel | |
| 1392 | + */ | |
| 1393 | +#define XDG_TOPLEVEL_STATE_SUSPENDED_SINCE_VERSION 6 | |
| 1394 | +#endif /* XDG_TOPLEVEL_STATE_ENUM */ | |
| 1395 | + | |
| 1396 | +#ifndef XDG_TOPLEVEL_WM_CAPABILITIES_ENUM | |
| 1397 | +#define XDG_TOPLEVEL_WM_CAPABILITIES_ENUM | |
| 1398 | +enum xdg_toplevel_wm_capabilities { | |
| 1399 | + /** | |
| 1400 | + * show_window_menu is available | |
| 1401 | + */ | |
| 1402 | + XDG_TOPLEVEL_WM_CAPABILITIES_WINDOW_MENU = 1, | |
| 1403 | + /** | |
| 1404 | + * set_maximized and unset_maximized are available | |
| 1405 | + */ | |
| 1406 | + XDG_TOPLEVEL_WM_CAPABILITIES_MAXIMIZE = 2, | |
| 1407 | + /** | |
| 1408 | + * set_fullscreen and unset_fullscreen are available | |
| 1409 | + */ | |
| 1410 | + XDG_TOPLEVEL_WM_CAPABILITIES_FULLSCREEN = 3, | |
| 1411 | + /** | |
| 1412 | + * set_minimized is available | |
| 1413 | + */ | |
| 1414 | + XDG_TOPLEVEL_WM_CAPABILITIES_MINIMIZE = 4, | |
| 1415 | +}; | |
| 1416 | +#endif /* XDG_TOPLEVEL_WM_CAPABILITIES_ENUM */ | |
| 1417 | + | |
| 1418 | +/** | |
| 1419 | + * @ingroup iface_xdg_toplevel | |
| 1420 | + * @struct xdg_toplevel_listener | |
| 1421 | + */ | |
| 1422 | +struct xdg_toplevel_listener { | |
| 1423 | + /** | |
| 1424 | + * suggest a surface change | |
| 1425 | + * | |
| 1426 | + * This configure event asks the client to resize its toplevel | |
| 1427 | + * surface or to change its state. The configured state should not | |
| 1428 | + * be applied immediately. See xdg_surface.configure for details. | |
| 1429 | + * | |
| 1430 | + * The width and height arguments specify a hint to the window | |
| 1431 | + * about how its surface should be resized in window geometry | |
| 1432 | + * coordinates. See set_window_geometry. | |
| 1433 | + * | |
| 1434 | + * If the width or height arguments are zero, it means the client | |
| 1435 | + * should decide its own window dimension. This may happen when the | |
| 1436 | + * compositor needs to configure the state of the surface but | |
| 1437 | + * doesn't have any information about any previous or expected | |
| 1438 | + * dimension. | |
| 1439 | + * | |
| 1440 | + * The states listed in the event specify how the width/height | |
| 1441 | + * arguments should be interpreted, and possibly how it should be | |
| 1442 | + * drawn. | |
| 1443 | + * | |
| 1444 | + * Clients must send an ack_configure in response to this event. | |
| 1445 | + * See xdg_surface.configure and xdg_surface.ack_configure for | |
| 1446 | + * details. | |
| 1447 | + */ | |
| 1448 | + void (*configure)(void *data, | |
| 1449 | + struct xdg_toplevel *xdg_toplevel, | |
| 1450 | + int32_t width, | |
| 1451 | + int32_t height, | |
| 1452 | + struct wl_array *states); | |
| 1453 | + /** | |
| 1454 | + * surface wants to be closed | |
| 1455 | + * | |
| 1456 | + * The close event is sent by the compositor when the user wants | |
| 1457 | + * the surface to be closed. This should be equivalent to the user | |
| 1458 | + * clicking the close button in client-side decorations, if your | |
| 1459 | + * application has any. | |
| 1460 | + * | |
| 1461 | + * This is only a request that the user intends to close the | |
| 1462 | + * window. The client may choose to ignore this request, or show a | |
| 1463 | + * dialog to ask the user to save their data, etc. | |
| 1464 | + */ | |
| 1465 | + void (*close)(void *data, | |
| 1466 | + struct xdg_toplevel *xdg_toplevel); | |
| 1467 | + /** | |
| 1468 | + * recommended window geometry bounds | |
| 1469 | + * | |
| 1470 | + * The configure_bounds event may be sent prior to a | |
| 1471 | + * xdg_toplevel.configure event to communicate the bounds a window | |
| 1472 | + * geometry size is recommended to constrain to. | |
| 1473 | + * | |
| 1474 | + * The passed width and height are in surface coordinate space. If | |
| 1475 | + * width and height are 0, it means bounds is unknown and | |
| 1476 | + * equivalent to as if no configure_bounds event was ever sent for | |
| 1477 | + * this surface. | |
| 1478 | + * | |
| 1479 | + * The bounds can for example correspond to the size of a monitor | |
| 1480 | + * excluding any panels or other shell components, so that a | |
| 1481 | + * surface isn't created in a way that it cannot fit. | |
| 1482 | + * | |
| 1483 | + * The bounds may change at any point, and in such a case, a new | |
| 1484 | + * xdg_toplevel.configure_bounds will be sent, followed by | |
| 1485 | + * xdg_toplevel.configure and xdg_surface.configure. | |
| 1486 | + * @since 4 | |
| 1487 | + */ | |
| 1488 | + void (*configure_bounds)(void *data, | |
| 1489 | + struct xdg_toplevel *xdg_toplevel, | |
| 1490 | + int32_t width, | |
| 1491 | + int32_t height); | |
| 1492 | + /** | |
| 1493 | + * compositor capabilities | |
| 1494 | + * | |
| 1495 | + * This event advertises the capabilities supported by the | |
| 1496 | + * compositor. If a capability isn't supported, clients should hide | |
| 1497 | + * or disable the UI elements that expose this functionality. For | |
| 1498 | + * instance, if the compositor doesn't advertise support for | |
| 1499 | + * minimized toplevels, a button triggering the set_minimized | |
| 1500 | + * request should not be displayed. | |
| 1501 | + * | |
| 1502 | + * The compositor will ignore requests it doesn't support. For | |
| 1503 | + * instance, a compositor which doesn't advertise support for | |
| 1504 | + * minimized will ignore set_minimized requests. | |
| 1505 | + * | |
| 1506 | + * Compositors must send this event once before the first | |
| 1507 | + * xdg_surface.configure event. When the capabilities change, | |
| 1508 | + * compositors must send this event again and then send an | |
| 1509 | + * xdg_surface.configure event. | |
| 1510 | + * | |
| 1511 | + * The configured state should not be applied immediately. See | |
| 1512 | + * xdg_surface.configure for details. | |
| 1513 | + * | |
| 1514 | + * The capabilities are sent as an array of 32-bit unsigned | |
| 1515 | + * integers in native endianness. | |
| 1516 | + * @param capabilities array of 32-bit capabilities | |
| 1517 | + * @since 5 | |
| 1518 | + */ | |
| 1519 | + void (*wm_capabilities)(void *data, | |
| 1520 | + struct xdg_toplevel *xdg_toplevel, | |
| 1521 | + struct wl_array *capabilities); | |
| 1522 | +}; | |
| 1523 | + | |
| 1524 | +/** | |
| 1525 | + * @ingroup iface_xdg_toplevel | |
| 1526 | + */ | |
| 1527 | +static inline int | |
| 1528 | +xdg_toplevel_add_listener(struct xdg_toplevel *xdg_toplevel, | |
| 1529 | + const struct xdg_toplevel_listener *listener, void *data) | |
| 1530 | +{ | |
| 1531 | + return wl_proxy_add_listener((struct wl_proxy *) xdg_toplevel, | |
| 1532 | + (void (**)(void)) listener, data); | |
| 1533 | +} | |
| 1534 | + | |
| 1535 | +#define XDG_TOPLEVEL_DESTROY 0 | |
| 1536 | +#define XDG_TOPLEVEL_SET_PARENT 1 | |
| 1537 | +#define XDG_TOPLEVEL_SET_TITLE 2 | |
| 1538 | +#define XDG_TOPLEVEL_SET_APP_ID 3 | |
| 1539 | +#define XDG_TOPLEVEL_SHOW_WINDOW_MENU 4 | |
| 1540 | +#define XDG_TOPLEVEL_MOVE 5 | |
| 1541 | +#define XDG_TOPLEVEL_RESIZE 6 | |
| 1542 | +#define XDG_TOPLEVEL_SET_MAX_SIZE 7 | |
| 1543 | +#define XDG_TOPLEVEL_SET_MIN_SIZE 8 | |
| 1544 | +#define XDG_TOPLEVEL_SET_MAXIMIZED 9 | |
| 1545 | +#define XDG_TOPLEVEL_UNSET_MAXIMIZED 10 | |
| 1546 | +#define XDG_TOPLEVEL_SET_FULLSCREEN 11 | |
| 1547 | +#define XDG_TOPLEVEL_UNSET_FULLSCREEN 12 | |
| 1548 | +#define XDG_TOPLEVEL_SET_MINIMIZED 13 | |
| 1549 | + | |
| 1550 | +/** | |
| 1551 | + * @ingroup iface_xdg_toplevel | |
| 1552 | + */ | |
| 1553 | +#define XDG_TOPLEVEL_CONFIGURE_SINCE_VERSION 1 | |
| 1554 | +/** | |
| 1555 | + * @ingroup iface_xdg_toplevel | |
| 1556 | + */ | |
| 1557 | +#define XDG_TOPLEVEL_CLOSE_SINCE_VERSION 1 | |
| 1558 | +/** | |
| 1559 | + * @ingroup iface_xdg_toplevel | |
| 1560 | + */ | |
| 1561 | +#define XDG_TOPLEVEL_CONFIGURE_BOUNDS_SINCE_VERSION 4 | |
| 1562 | +/** | |
| 1563 | + * @ingroup iface_xdg_toplevel | |
| 1564 | + */ | |
| 1565 | +#define XDG_TOPLEVEL_WM_CAPABILITIES_SINCE_VERSION 5 | |
| 1566 | + | |
| 1567 | +/** | |
| 1568 | + * @ingroup iface_xdg_toplevel | |
| 1569 | + */ | |
| 1570 | +#define XDG_TOPLEVEL_DESTROY_SINCE_VERSION 1 | |
| 1571 | +/** | |
| 1572 | + * @ingroup iface_xdg_toplevel | |
| 1573 | + */ | |
| 1574 | +#define XDG_TOPLEVEL_SET_PARENT_SINCE_VERSION 1 | |
| 1575 | +/** | |
| 1576 | + * @ingroup iface_xdg_toplevel | |
| 1577 | + */ | |
| 1578 | +#define XDG_TOPLEVEL_SET_TITLE_SINCE_VERSION 1 | |
| 1579 | +/** | |
| 1580 | + * @ingroup iface_xdg_toplevel | |
| 1581 | + */ | |
| 1582 | +#define XDG_TOPLEVEL_SET_APP_ID_SINCE_VERSION 1 | |
| 1583 | +/** | |
| 1584 | + * @ingroup iface_xdg_toplevel | |
| 1585 | + */ | |
| 1586 | +#define XDG_TOPLEVEL_SHOW_WINDOW_MENU_SINCE_VERSION 1 | |
| 1587 | +/** | |
| 1588 | + * @ingroup iface_xdg_toplevel | |
| 1589 | + */ | |
| 1590 | +#define XDG_TOPLEVEL_MOVE_SINCE_VERSION 1 | |
| 1591 | +/** | |
| 1592 | + * @ingroup iface_xdg_toplevel | |
| 1593 | + */ | |
| 1594 | +#define XDG_TOPLEVEL_RESIZE_SINCE_VERSION 1 | |
| 1595 | +/** | |
| 1596 | + * @ingroup iface_xdg_toplevel | |
| 1597 | + */ | |
| 1598 | +#define XDG_TOPLEVEL_SET_MAX_SIZE_SINCE_VERSION 1 | |
| 1599 | +/** | |
| 1600 | + * @ingroup iface_xdg_toplevel | |
| 1601 | + */ | |
| 1602 | +#define XDG_TOPLEVEL_SET_MIN_SIZE_SINCE_VERSION 1 | |
| 1603 | +/** | |
| 1604 | + * @ingroup iface_xdg_toplevel | |
| 1605 | + */ | |
| 1606 | +#define XDG_TOPLEVEL_SET_MAXIMIZED_SINCE_VERSION 1 | |
| 1607 | +/** | |
| 1608 | + * @ingroup iface_xdg_toplevel | |
| 1609 | + */ | |
| 1610 | +#define XDG_TOPLEVEL_UNSET_MAXIMIZED_SINCE_VERSION 1 | |
| 1611 | +/** | |
| 1612 | + * @ingroup iface_xdg_toplevel | |
| 1613 | + */ | |
| 1614 | +#define XDG_TOPLEVEL_SET_FULLSCREEN_SINCE_VERSION 1 | |
| 1615 | +/** | |
| 1616 | + * @ingroup iface_xdg_toplevel | |
| 1617 | + */ | |
| 1618 | +#define XDG_TOPLEVEL_UNSET_FULLSCREEN_SINCE_VERSION 1 | |
| 1619 | +/** | |
| 1620 | + * @ingroup iface_xdg_toplevel | |
| 1621 | + */ | |
| 1622 | +#define XDG_TOPLEVEL_SET_MINIMIZED_SINCE_VERSION 1 | |
| 1623 | + | |
| 1624 | +/** @ingroup iface_xdg_toplevel */ | |
| 1625 | +static inline void | |
| 1626 | +xdg_toplevel_set_user_data(struct xdg_toplevel *xdg_toplevel, void *user_data) | |
| 1627 | +{ | |
| 1628 | + wl_proxy_set_user_data((struct wl_proxy *) xdg_toplevel, user_data); | |
| 1629 | +} | |
| 1630 | + | |
| 1631 | +/** @ingroup iface_xdg_toplevel */ | |
| 1632 | +static inline void * | |
| 1633 | +xdg_toplevel_get_user_data(struct xdg_toplevel *xdg_toplevel) | |
| 1634 | +{ | |
| 1635 | + return wl_proxy_get_user_data((struct wl_proxy *) xdg_toplevel); | |
| 1636 | +} | |
| 1637 | + | |
| 1638 | +static inline uint32_t | |
| 1639 | +xdg_toplevel_get_version(struct xdg_toplevel *xdg_toplevel) | |
| 1640 | +{ | |
| 1641 | + return wl_proxy_get_version((struct wl_proxy *) xdg_toplevel); | |
| 1642 | +} | |
| 1643 | + | |
| 1644 | +/** | |
| 1645 | + * @ingroup iface_xdg_toplevel | |
| 1646 | + * | |
| 1647 | + * This request destroys the role surface and unmaps the surface; | |
| 1648 | + * see "Unmapping" behavior in interface section for details. | |
| 1649 | + */ | |
| 1650 | +static inline void | |
| 1651 | +xdg_toplevel_destroy(struct xdg_toplevel *xdg_toplevel) | |
| 1652 | +{ | |
| 1653 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_toplevel, | |
| 1654 | + XDG_TOPLEVEL_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_toplevel), WL_MARSHAL_FLAG_DESTROY); | |
| 1655 | +} | |
| 1656 | + | |
| 1657 | +/** | |
| 1658 | + * @ingroup iface_xdg_toplevel | |
| 1659 | + * | |
| 1660 | + * Set the "parent" of this surface. This surface should be stacked | |
| 1661 | + * above the parent surface and all other ancestor surfaces. | |
| 1662 | + * | |
| 1663 | + * Parent surfaces should be set on dialogs, toolboxes, or other | |
| 1664 | + * "auxiliary" surfaces, so that the parent is raised when the dialog | |
| 1665 | + * is raised. | |
| 1666 | + * | |
| 1667 | + * Setting a null parent for a child surface unsets its parent. Setting | |
| 1668 | + * a null parent for a surface which currently has no parent is a no-op. | |
| 1669 | + * | |
| 1670 | + * Only mapped surfaces can have child surfaces. Setting a parent which | |
| 1671 | + * is not mapped is equivalent to setting a null parent. If a surface | |
| 1672 | + * becomes unmapped, its children's parent is set to the parent of | |
| 1673 | + * the now-unmapped surface. If the now-unmapped surface has no parent, | |
| 1674 | + * its children's parent is unset. If the now-unmapped surface becomes | |
| 1675 | + * mapped again, its parent-child relationship is not restored. | |
| 1676 | + * | |
| 1677 | + * The parent toplevel must not be one of the child toplevel's | |
| 1678 | + * descendants, and the parent must be different from the child toplevel, | |
| 1679 | + * otherwise the invalid_parent protocol error is raised. | |
| 1680 | + */ | |
| 1681 | +static inline void | |
| 1682 | +xdg_toplevel_set_parent(struct xdg_toplevel *xdg_toplevel, struct xdg_toplevel *parent) | |
| 1683 | +{ | |
| 1684 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_toplevel, | |
| 1685 | + XDG_TOPLEVEL_SET_PARENT, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_toplevel), 0, parent); | |
| 1686 | +} | |
| 1687 | + | |
| 1688 | +/** | |
| 1689 | + * @ingroup iface_xdg_toplevel | |
| 1690 | + * | |
| 1691 | + * Set a short title for the surface. | |
| 1692 | + * | |
| 1693 | + * This string may be used to identify the surface in a task bar, | |
| 1694 | + * window list, or other user interface elements provided by the | |
| 1695 | + * compositor. | |
| 1696 | + * | |
| 1697 | + * The string must be encoded in UTF-8. | |
| 1698 | + */ | |
| 1699 | +static inline void | |
| 1700 | +xdg_toplevel_set_title(struct xdg_toplevel *xdg_toplevel, const char *title) | |
| 1701 | +{ | |
| 1702 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_toplevel, | |
| 1703 | + XDG_TOPLEVEL_SET_TITLE, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_toplevel), 0, title); | |
| 1704 | +} | |
| 1705 | + | |
| 1706 | +/** | |
| 1707 | + * @ingroup iface_xdg_toplevel | |
| 1708 | + * | |
| 1709 | + * Set an application identifier for the surface. | |
| 1710 | + * | |
| 1711 | + * The app ID identifies the general class of applications to which | |
| 1712 | + * the surface belongs. The compositor can use this to group multiple | |
| 1713 | + * surfaces together, or to determine how to launch a new application. | |
| 1714 | + * | |
| 1715 | + * For D-Bus activatable applications, the app ID is used as the D-Bus | |
| 1716 | + * service name. | |
| 1717 | + * | |
| 1718 | + * The compositor shell will try to group application surfaces together | |
| 1719 | + * by their app ID. As a best practice, it is suggested to select app | |
| 1720 | + * ID's that match the basename of the application's .desktop file. | |
| 1721 | + * For example, "org.freedesktop.FooViewer" where the .desktop file is | |
| 1722 | + * "org.freedesktop.FooViewer.desktop". | |
| 1723 | + * | |
| 1724 | + * Like other properties, a set_app_id request can be sent after the | |
| 1725 | + * xdg_toplevel has been mapped to update the property. | |
| 1726 | + * | |
| 1727 | + * See the desktop-entry specification [0] for more details on | |
| 1728 | + * application identifiers and how they relate to well-known D-Bus | |
| 1729 | + * names and .desktop files. | |
| 1730 | + * | |
| 1731 | + * [0] https://standards.freedesktop.org/desktop-entry-spec/ | |
| 1732 | + */ | |
| 1733 | +static inline void | |
| 1734 | +xdg_toplevel_set_app_id(struct xdg_toplevel *xdg_toplevel, const char *app_id) | |
| 1735 | +{ | |
| 1736 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_toplevel, | |
| 1737 | + XDG_TOPLEVEL_SET_APP_ID, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_toplevel), 0, app_id); | |
| 1738 | +} | |
| 1739 | + | |
| 1740 | +/** | |
| 1741 | + * @ingroup iface_xdg_toplevel | |
| 1742 | + * | |
| 1743 | + * Clients implementing client-side decorations might want to show | |
| 1744 | + * a context menu when right-clicking on the decorations, giving the | |
| 1745 | + * user a menu that they can use to maximize or minimize the window. | |
| 1746 | + * | |
| 1747 | + * This request asks the compositor to pop up such a window menu at | |
| 1748 | + * the given position, relative to the local surface coordinates of | |
| 1749 | + * the parent surface. There are no guarantees as to what menu items | |
| 1750 | + * the window menu contains, or even if a window menu will be drawn | |
| 1751 | + * at all. | |
| 1752 | + * | |
| 1753 | + * This request must be used in response to some sort of user action | |
| 1754 | + * like a button press, key press, or touch down event. | |
| 1755 | + */ | |
| 1756 | +static inline void | |
| 1757 | +xdg_toplevel_show_window_menu(struct xdg_toplevel *xdg_toplevel, struct wl_seat *seat, uint32_t serial, int32_t x, int32_t y) | |
| 1758 | +{ | |
| 1759 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_toplevel, | |
| 1760 | + XDG_TOPLEVEL_SHOW_WINDOW_MENU, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_toplevel), 0, seat, serial, x, y); | |
| 1761 | +} | |
| 1762 | + | |
| 1763 | +/** | |
| 1764 | + * @ingroup iface_xdg_toplevel | |
| 1765 | + * | |
| 1766 | + * Start an interactive, user-driven move of the surface. | |
| 1767 | + * | |
| 1768 | + * This request must be used in response to some sort of user action | |
| 1769 | + * like a button press, key press, or touch down event. The passed | |
| 1770 | + * serial is used to determine the type of interactive move (touch, | |
| 1771 | + * pointer, etc). | |
| 1772 | + * | |
| 1773 | + * The server may ignore move requests depending on the state of | |
| 1774 | + * the surface (e.g. fullscreen or maximized), or if the passed serial | |
| 1775 | + * is no longer valid. | |
| 1776 | + * | |
| 1777 | + * If triggered, the surface will lose the focus of the device | |
| 1778 | + * (wl_pointer, wl_touch, etc) used for the move. It is up to the | |
| 1779 | + * compositor to visually indicate that the move is taking place, such as | |
| 1780 | + * updating a pointer cursor, during the move. There is no guarantee | |
| 1781 | + * that the device focus will return when the move is completed. | |
| 1782 | + */ | |
| 1783 | +static inline void | |
| 1784 | +xdg_toplevel_move(struct xdg_toplevel *xdg_toplevel, struct wl_seat *seat, uint32_t serial) | |
| 1785 | +{ | |
| 1786 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_toplevel, | |
| 1787 | + XDG_TOPLEVEL_MOVE, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_toplevel), 0, seat, serial); | |
| 1788 | +} | |
| 1789 | + | |
| 1790 | +/** | |
| 1791 | + * @ingroup iface_xdg_toplevel | |
| 1792 | + * | |
| 1793 | + * Start a user-driven, interactive resize of the surface. | |
| 1794 | + * | |
| 1795 | + * This request must be used in response to some sort of user action | |
| 1796 | + * like a button press, key press, or touch down event. The passed | |
| 1797 | + * serial is used to determine the type of interactive resize (touch, | |
| 1798 | + * pointer, etc). | |
| 1799 | + * | |
| 1800 | + * The server may ignore resize requests depending on the state of | |
| 1801 | + * the surface (e.g. fullscreen or maximized). | |
| 1802 | + * | |
| 1803 | + * If triggered, the client will receive configure events with the | |
| 1804 | + * "resize" state enum value and the expected sizes. See the "resize" | |
| 1805 | + * enum value for more details about what is required. The client | |
| 1806 | + * must also acknowledge configure events using "ack_configure". After | |
| 1807 | + * the resize is completed, the client will receive another "configure" | |
| 1808 | + * event without the resize state. | |
| 1809 | + * | |
| 1810 | + * If triggered, the surface also will lose the focus of the device | |
| 1811 | + * (wl_pointer, wl_touch, etc) used for the resize. It is up to the | |
| 1812 | + * compositor to visually indicate that the resize is taking place, | |
| 1813 | + * such as updating a pointer cursor, during the resize. There is no | |
| 1814 | + * guarantee that the device focus will return when the resize is | |
| 1815 | + * completed. | |
| 1816 | + * | |
| 1817 | + * The edges parameter specifies how the surface should be resized, and | |
| 1818 | + * is one of the values of the resize_edge enum. Values not matching | |
| 1819 | + * a variant of the enum will cause the invalid_resize_edge protocol error. | |
| 1820 | + * The compositor may use this information to update the surface position | |
| 1821 | + * for example when dragging the top left corner. The compositor may also | |
| 1822 | + * use this information to adapt its behavior, e.g. choose an appropriate | |
| 1823 | + * cursor image. | |
| 1824 | + */ | |
| 1825 | +static inline void | |
| 1826 | +xdg_toplevel_resize(struct xdg_toplevel *xdg_toplevel, struct wl_seat *seat, uint32_t serial, uint32_t edges) | |
| 1827 | +{ | |
| 1828 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_toplevel, | |
| 1829 | + XDG_TOPLEVEL_RESIZE, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_toplevel), 0, seat, serial, edges); | |
| 1830 | +} | |
| 1831 | + | |
| 1832 | +/** | |
| 1833 | + * @ingroup iface_xdg_toplevel | |
| 1834 | + * | |
| 1835 | + * Set a maximum size for the window. | |
| 1836 | + * | |
| 1837 | + * The client can specify a maximum size so that the compositor does | |
| 1838 | + * not try to configure the window beyond this size. | |
| 1839 | + * | |
| 1840 | + * The width and height arguments are in window geometry coordinates. | |
| 1841 | + * See xdg_surface.set_window_geometry. | |
| 1842 | + * | |
| 1843 | + * Values set in this way are double-buffered. They will get applied | |
| 1844 | + * on the next commit. | |
| 1845 | + * | |
| 1846 | + * The compositor can use this information to allow or disallow | |
| 1847 | + * different states like maximize or fullscreen and draw accurate | |
| 1848 | + * animations. | |
| 1849 | + * | |
| 1850 | + * Similarly, a tiling window manager may use this information to | |
| 1851 | + * place and resize client windows in a more effective way. | |
| 1852 | + * | |
| 1853 | + * The client should not rely on the compositor to obey the maximum | |
| 1854 | + * size. The compositor may decide to ignore the values set by the | |
| 1855 | + * client and request a larger size. | |
| 1856 | + * | |
| 1857 | + * If never set, or a value of zero in the request, means that the | |
| 1858 | + * client has no expected maximum size in the given dimension. | |
| 1859 | + * As a result, a client wishing to reset the maximum size | |
| 1860 | + * to an unspecified state can use zero for width and height in the | |
| 1861 | + * request. | |
| 1862 | + * | |
| 1863 | + * Requesting a maximum size to be smaller than the minimum size of | |
| 1864 | + * a surface is illegal and will result in an invalid_size error. | |
| 1865 | + * | |
| 1866 | + * The width and height must be greater than or equal to zero. Using | |
| 1867 | + * strictly negative values for width or height will result in a | |
| 1868 | + * invalid_size error. | |
| 1869 | + */ | |
| 1870 | +static inline void | |
| 1871 | +xdg_toplevel_set_max_size(struct xdg_toplevel *xdg_toplevel, int32_t width, int32_t height) | |
| 1872 | +{ | |
| 1873 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_toplevel, | |
| 1874 | + XDG_TOPLEVEL_SET_MAX_SIZE, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_toplevel), 0, width, height); | |
| 1875 | +} | |
| 1876 | + | |
| 1877 | +/** | |
| 1878 | + * @ingroup iface_xdg_toplevel | |
| 1879 | + * | |
| 1880 | + * Set a minimum size for the window. | |
| 1881 | + * | |
| 1882 | + * The client can specify a minimum size so that the compositor does | |
| 1883 | + * not try to configure the window below this size. | |
| 1884 | + * | |
| 1885 | + * The width and height arguments are in window geometry coordinates. | |
| 1886 | + * See xdg_surface.set_window_geometry. | |
| 1887 | + * | |
| 1888 | + * Values set in this way are double-buffered. They will get applied | |
| 1889 | + * on the next commit. | |
| 1890 | + * | |
| 1891 | + * The compositor can use this information to allow or disallow | |
| 1892 | + * different states like maximize or fullscreen and draw accurate | |
| 1893 | + * animations. | |
| 1894 | + * | |
| 1895 | + * Similarly, a tiling window manager may use this information to | |
| 1896 | + * place and resize client windows in a more effective way. | |
| 1897 | + * | |
| 1898 | + * The client should not rely on the compositor to obey the minimum | |
| 1899 | + * size. The compositor may decide to ignore the values set by the | |
| 1900 | + * client and request a smaller size. | |
| 1901 | + * | |
| 1902 | + * If never set, or a value of zero in the request, means that the | |
| 1903 | + * client has no expected minimum size in the given dimension. | |
| 1904 | + * As a result, a client wishing to reset the minimum size | |
| 1905 | + * to an unspecified state can use zero for width and height in the | |
| 1906 | + * request. | |
| 1907 | + * | |
| 1908 | + * Requesting a minimum size to be larger than the maximum size of | |
| 1909 | + * a surface is illegal and will result in an invalid_size error. | |
| 1910 | + * | |
| 1911 | + * The width and height must be greater than or equal to zero. Using | |
| 1912 | + * strictly negative values for width and height will result in a | |
| 1913 | + * invalid_size error. | |
| 1914 | + */ | |
| 1915 | +static inline void | |
| 1916 | +xdg_toplevel_set_min_size(struct xdg_toplevel *xdg_toplevel, int32_t width, int32_t height) | |
| 1917 | +{ | |
| 1918 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_toplevel, | |
| 1919 | + XDG_TOPLEVEL_SET_MIN_SIZE, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_toplevel), 0, width, height); | |
| 1920 | +} | |
| 1921 | + | |
| 1922 | +/** | |
| 1923 | + * @ingroup iface_xdg_toplevel | |
| 1924 | + * | |
| 1925 | + * Maximize the surface. | |
| 1926 | + * | |
| 1927 | + * After requesting that the surface should be maximized, the compositor | |
| 1928 | + * will respond by emitting a configure event. Whether this configure | |
| 1929 | + * actually sets the window maximized is subject to compositor policies. | |
| 1930 | + * The client must then update its content, drawing in the configured | |
| 1931 | + * state. The client must also acknowledge the configure when committing | |
| 1932 | + * the new content (see ack_configure). | |
| 1933 | + * | |
| 1934 | + * It is up to the compositor to decide how and where to maximize the | |
| 1935 | + * surface, for example which output and what region of the screen should | |
| 1936 | + * be used. | |
| 1937 | + * | |
| 1938 | + * If the surface was already maximized, the compositor will still emit | |
| 1939 | + * a configure event with the "maximized" state. | |
| 1940 | + * | |
| 1941 | + * If the surface is in a fullscreen state, this request has no direct | |
| 1942 | + * effect. It may alter the state the surface is returned to when | |
| 1943 | + * unmaximized unless overridden by the compositor. | |
| 1944 | + */ | |
| 1945 | +static inline void | |
| 1946 | +xdg_toplevel_set_maximized(struct xdg_toplevel *xdg_toplevel) | |
| 1947 | +{ | |
| 1948 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_toplevel, | |
| 1949 | + XDG_TOPLEVEL_SET_MAXIMIZED, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_toplevel), 0); | |
| 1950 | +} | |
| 1951 | + | |
| 1952 | +/** | |
| 1953 | + * @ingroup iface_xdg_toplevel | |
| 1954 | + * | |
| 1955 | + * Unmaximize the surface. | |
| 1956 | + * | |
| 1957 | + * After requesting that the surface should be unmaximized, the compositor | |
| 1958 | + * will respond by emitting a configure event. Whether this actually | |
| 1959 | + * un-maximizes the window is subject to compositor policies. | |
| 1960 | + * If available and applicable, the compositor will include the window | |
| 1961 | + * geometry dimensions the window had prior to being maximized in the | |
| 1962 | + * configure event. The client must then update its content, drawing it in | |
| 1963 | + * the configured state. The client must also acknowledge the configure | |
| 1964 | + * when committing the new content (see ack_configure). | |
| 1965 | + * | |
| 1966 | + * It is up to the compositor to position the surface after it was | |
| 1967 | + * unmaximized; usually the position the surface had before maximizing, if | |
| 1968 | + * applicable. | |
| 1969 | + * | |
| 1970 | + * If the surface was already not maximized, the compositor will still | |
| 1971 | + * emit a configure event without the "maximized" state. | |
| 1972 | + * | |
| 1973 | + * If the surface is in a fullscreen state, this request has no direct | |
| 1974 | + * effect. It may alter the state the surface is returned to when | |
| 1975 | + * unmaximized unless overridden by the compositor. | |
| 1976 | + */ | |
| 1977 | +static inline void | |
| 1978 | +xdg_toplevel_unset_maximized(struct xdg_toplevel *xdg_toplevel) | |
| 1979 | +{ | |
| 1980 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_toplevel, | |
| 1981 | + XDG_TOPLEVEL_UNSET_MAXIMIZED, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_toplevel), 0); | |
| 1982 | +} | |
| 1983 | + | |
| 1984 | +/** | |
| 1985 | + * @ingroup iface_xdg_toplevel | |
| 1986 | + * | |
| 1987 | + * Make the surface fullscreen. | |
| 1988 | + * | |
| 1989 | + * After requesting that the surface should be fullscreened, the | |
| 1990 | + * compositor will respond by emitting a configure event. Whether the | |
| 1991 | + * client is actually put into a fullscreen state is subject to compositor | |
| 1992 | + * policies. The client must also acknowledge the configure when | |
| 1993 | + * committing the new content (see ack_configure). | |
| 1994 | + * | |
| 1995 | + * The output passed by the request indicates the client's preference as | |
| 1996 | + * to which display it should be set fullscreen on. If this value is NULL, | |
| 1997 | + * it's up to the compositor to choose which display will be used to map | |
| 1998 | + * this surface. | |
| 1999 | + * | |
| 2000 | + * If the surface doesn't cover the whole output, the compositor will | |
| 2001 | + * position the surface in the center of the output and compensate with | |
| 2002 | + * with border fill covering the rest of the output. The content of the | |
| 2003 | + * border fill is undefined, but should be assumed to be in some way that | |
| 2004 | + * attempts to blend into the surrounding area (e.g. solid black). | |
| 2005 | + * | |
| 2006 | + * If the fullscreened surface is not opaque, the compositor must make | |
| 2007 | + * sure that other screen content not part of the same surface tree (made | |
| 2008 | + * up of subsurfaces, popups or similarly coupled surfaces) are not | |
| 2009 | + * visible below the fullscreened surface. | |
| 2010 | + */ | |
| 2011 | +static inline void | |
| 2012 | +xdg_toplevel_set_fullscreen(struct xdg_toplevel *xdg_toplevel, struct wl_output *output) | |
| 2013 | +{ | |
| 2014 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_toplevel, | |
| 2015 | + XDG_TOPLEVEL_SET_FULLSCREEN, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_toplevel), 0, output); | |
| 2016 | +} | |
| 2017 | + | |
| 2018 | +/** | |
| 2019 | + * @ingroup iface_xdg_toplevel | |
| 2020 | + * | |
| 2021 | + * Make the surface no longer fullscreen. | |
| 2022 | + * | |
| 2023 | + * After requesting that the surface should be unfullscreened, the | |
| 2024 | + * compositor will respond by emitting a configure event. | |
| 2025 | + * Whether this actually removes the fullscreen state of the client is | |
| 2026 | + * subject to compositor policies. | |
| 2027 | + * | |
| 2028 | + * Making a surface unfullscreen sets states for the surface based on the following: | |
| 2029 | + * * the state(s) it may have had before becoming fullscreen | |
| 2030 | + * * any state(s) decided by the compositor | |
| 2031 | + * * any state(s) requested by the client while the surface was fullscreen | |
| 2032 | + * | |
| 2033 | + * The compositor may include the previous window geometry dimensions in | |
| 2034 | + * the configure event, if applicable. | |
| 2035 | + * | |
| 2036 | + * The client must also acknowledge the configure when committing the new | |
| 2037 | + * content (see ack_configure). | |
| 2038 | + */ | |
| 2039 | +static inline void | |
| 2040 | +xdg_toplevel_unset_fullscreen(struct xdg_toplevel *xdg_toplevel) | |
| 2041 | +{ | |
| 2042 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_toplevel, | |
| 2043 | + XDG_TOPLEVEL_UNSET_FULLSCREEN, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_toplevel), 0); | |
| 2044 | +} | |
| 2045 | + | |
| 2046 | +/** | |
| 2047 | + * @ingroup iface_xdg_toplevel | |
| 2048 | + * | |
| 2049 | + * Request that the compositor minimize your surface. There is no | |
| 2050 | + * way to know if the surface is currently minimized, nor is there | |
| 2051 | + * any way to unset minimization on this surface. | |
| 2052 | + * | |
| 2053 | + * If you are looking to throttle redrawing when minimized, please | |
| 2054 | + * instead use the wl_surface.frame event for this, as this will | |
| 2055 | + * also work with live previews on windows in Alt-Tab, Expose or | |
| 2056 | + * similar compositor features. | |
| 2057 | + */ | |
| 2058 | +static inline void | |
| 2059 | +xdg_toplevel_set_minimized(struct xdg_toplevel *xdg_toplevel) | |
| 2060 | +{ | |
| 2061 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_toplevel, | |
| 2062 | + XDG_TOPLEVEL_SET_MINIMIZED, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_toplevel), 0); | |
| 2063 | +} | |
| 2064 | + | |
| 2065 | +#ifndef XDG_POPUP_ERROR_ENUM | |
| 2066 | +#define XDG_POPUP_ERROR_ENUM | |
| 2067 | +enum xdg_popup_error { | |
| 2068 | + /** | |
| 2069 | + * tried to grab after being mapped | |
| 2070 | + */ | |
| 2071 | + XDG_POPUP_ERROR_INVALID_GRAB = 0, | |
| 2072 | +}; | |
| 2073 | +#endif /* XDG_POPUP_ERROR_ENUM */ | |
| 2074 | + | |
| 2075 | +/** | |
| 2076 | + * @ingroup iface_xdg_popup | |
| 2077 | + * @struct xdg_popup_listener | |
| 2078 | + */ | |
| 2079 | +struct xdg_popup_listener { | |
| 2080 | + /** | |
| 2081 | + * configure the popup surface | |
| 2082 | + * | |
| 2083 | + * This event asks the popup surface to configure itself given | |
| 2084 | + * the configuration. The configured state should not be applied | |
| 2085 | + * immediately. See xdg_surface.configure for details. | |
| 2086 | + * | |
| 2087 | + * The x and y arguments represent the position the popup was | |
| 2088 | + * placed at given the xdg_positioner rule, relative to the upper | |
| 2089 | + * left corner of the window geometry of the parent surface. | |
| 2090 | + * | |
| 2091 | + * For version 2 or older, the configure event for an xdg_popup is | |
| 2092 | + * only ever sent once for the initial configuration. Starting with | |
| 2093 | + * version 3, it may be sent again if the popup is setup with an | |
| 2094 | + * xdg_positioner with set_reactive requested, or in response to | |
| 2095 | + * xdg_popup.reposition requests. | |
| 2096 | + * @param x x position relative to parent surface window geometry | |
| 2097 | + * @param y y position relative to parent surface window geometry | |
| 2098 | + * @param width window geometry width | |
| 2099 | + * @param height window geometry height | |
| 2100 | + */ | |
| 2101 | + void (*configure)(void *data, | |
| 2102 | + struct xdg_popup *xdg_popup, | |
| 2103 | + int32_t x, | |
| 2104 | + int32_t y, | |
| 2105 | + int32_t width, | |
| 2106 | + int32_t height); | |
| 2107 | + /** | |
| 2108 | + * popup interaction is done | |
| 2109 | + * | |
| 2110 | + * The popup_done event is sent out when a popup is dismissed by | |
| 2111 | + * the compositor. The client should destroy the xdg_popup object | |
| 2112 | + * at this point. | |
| 2113 | + */ | |
| 2114 | + void (*popup_done)(void *data, | |
| 2115 | + struct xdg_popup *xdg_popup); | |
| 2116 | + /** | |
| 2117 | + * signal the completion of a repositioned request | |
| 2118 | + * | |
| 2119 | + * The repositioned event is sent as part of a popup | |
| 2120 | + * configuration sequence, together with xdg_popup.configure and | |
| 2121 | + * lastly xdg_surface.configure to notify the completion of a | |
| 2122 | + * reposition request. | |
| 2123 | + * | |
| 2124 | + * The repositioned event is to notify about the completion of a | |
| 2125 | + * xdg_popup.reposition request. The token argument is the token | |
| 2126 | + * passed in the xdg_popup.reposition request. | |
| 2127 | + * | |
| 2128 | + * Immediately after this event is emitted, xdg_popup.configure and | |
| 2129 | + * xdg_surface.configure will be sent with the updated size and | |
| 2130 | + * position, as well as a new configure serial. | |
| 2131 | + * | |
| 2132 | + * The client should optionally update the content of the popup, | |
| 2133 | + * but must acknowledge the new popup configuration for the new | |
| 2134 | + * position to take effect. See xdg_surface.ack_configure for | |
| 2135 | + * details. | |
| 2136 | + * @param token reposition request token | |
| 2137 | + * @since 3 | |
| 2138 | + */ | |
| 2139 | + void (*repositioned)(void *data, | |
| 2140 | + struct xdg_popup *xdg_popup, | |
| 2141 | + uint32_t token); | |
| 2142 | +}; | |
| 2143 | + | |
| 2144 | +/** | |
| 2145 | + * @ingroup iface_xdg_popup | |
| 2146 | + */ | |
| 2147 | +static inline int | |
| 2148 | +xdg_popup_add_listener(struct xdg_popup *xdg_popup, | |
| 2149 | + const struct xdg_popup_listener *listener, void *data) | |
| 2150 | +{ | |
| 2151 | + return wl_proxy_add_listener((struct wl_proxy *) xdg_popup, | |
| 2152 | + (void (**)(void)) listener, data); | |
| 2153 | +} | |
| 2154 | + | |
| 2155 | +#define XDG_POPUP_DESTROY 0 | |
| 2156 | +#define XDG_POPUP_GRAB 1 | |
| 2157 | +#define XDG_POPUP_REPOSITION 2 | |
| 2158 | + | |
| 2159 | +/** | |
| 2160 | + * @ingroup iface_xdg_popup | |
| 2161 | + */ | |
| 2162 | +#define XDG_POPUP_CONFIGURE_SINCE_VERSION 1 | |
| 2163 | +/** | |
| 2164 | + * @ingroup iface_xdg_popup | |
| 2165 | + */ | |
| 2166 | +#define XDG_POPUP_POPUP_DONE_SINCE_VERSION 1 | |
| 2167 | +/** | |
| 2168 | + * @ingroup iface_xdg_popup | |
| 2169 | + */ | |
| 2170 | +#define XDG_POPUP_REPOSITIONED_SINCE_VERSION 3 | |
| 2171 | + | |
| 2172 | +/** | |
| 2173 | + * @ingroup iface_xdg_popup | |
| 2174 | + */ | |
| 2175 | +#define XDG_POPUP_DESTROY_SINCE_VERSION 1 | |
| 2176 | +/** | |
| 2177 | + * @ingroup iface_xdg_popup | |
| 2178 | + */ | |
| 2179 | +#define XDG_POPUP_GRAB_SINCE_VERSION 1 | |
| 2180 | +/** | |
| 2181 | + * @ingroup iface_xdg_popup | |
| 2182 | + */ | |
| 2183 | +#define XDG_POPUP_REPOSITION_SINCE_VERSION 3 | |
| 2184 | + | |
| 2185 | +/** @ingroup iface_xdg_popup */ | |
| 2186 | +static inline void | |
| 2187 | +xdg_popup_set_user_data(struct xdg_popup *xdg_popup, void *user_data) | |
| 2188 | +{ | |
| 2189 | + wl_proxy_set_user_data((struct wl_proxy *) xdg_popup, user_data); | |
| 2190 | +} | |
| 2191 | + | |
| 2192 | +/** @ingroup iface_xdg_popup */ | |
| 2193 | +static inline void * | |
| 2194 | +xdg_popup_get_user_data(struct xdg_popup *xdg_popup) | |
| 2195 | +{ | |
| 2196 | + return wl_proxy_get_user_data((struct wl_proxy *) xdg_popup); | |
| 2197 | +} | |
| 2198 | + | |
| 2199 | +static inline uint32_t | |
| 2200 | +xdg_popup_get_version(struct xdg_popup *xdg_popup) | |
| 2201 | +{ | |
| 2202 | + return wl_proxy_get_version((struct wl_proxy *) xdg_popup); | |
| 2203 | +} | |
| 2204 | + | |
| 2205 | +/** | |
| 2206 | + * @ingroup iface_xdg_popup | |
| 2207 | + * | |
| 2208 | + * This destroys the popup. Explicitly destroying the xdg_popup | |
| 2209 | + * object will also dismiss the popup, and unmap the surface. | |
| 2210 | + * | |
| 2211 | + * If this xdg_popup is not the "topmost" popup, the | |
| 2212 | + * xdg_wm_base.not_the_topmost_popup protocol error will be sent. | |
| 2213 | + */ | |
| 2214 | +static inline void | |
| 2215 | +xdg_popup_destroy(struct xdg_popup *xdg_popup) | |
| 2216 | +{ | |
| 2217 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_popup, | |
| 2218 | + XDG_POPUP_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_popup), WL_MARSHAL_FLAG_DESTROY); | |
| 2219 | +} | |
| 2220 | + | |
| 2221 | +/** | |
| 2222 | + * @ingroup iface_xdg_popup | |
| 2223 | + * | |
| 2224 | + * This request makes the created popup take an explicit grab. An explicit | |
| 2225 | + * grab will be dismissed when the user dismisses the popup, or when the | |
| 2226 | + * client destroys the xdg_popup. This can be done by the user clicking | |
| 2227 | + * outside the surface, using the keyboard, or even locking the screen | |
| 2228 | + * through closing the lid or a timeout. | |
| 2229 | + * | |
| 2230 | + * If the compositor denies the grab, the popup will be immediately | |
| 2231 | + * dismissed. | |
| 2232 | + * | |
| 2233 | + * This request must be used in response to some sort of user action like a | |
| 2234 | + * button press, key press, or touch down event. The serial number of the | |
| 2235 | + * event should be passed as 'serial'. | |
| 2236 | + * | |
| 2237 | + * The parent of a grabbing popup must either be an xdg_toplevel surface or | |
| 2238 | + * another xdg_popup with an explicit grab. If the parent is another | |
| 2239 | + * xdg_popup it means that the popups are nested, with this popup now being | |
| 2240 | + * the topmost popup. | |
| 2241 | + * | |
| 2242 | + * Nested popups must be destroyed in the reverse order they were created | |
| 2243 | + * in, e.g. the only popup you are allowed to destroy at all times is the | |
| 2244 | + * topmost one. | |
| 2245 | + * | |
| 2246 | + * When compositors choose to dismiss a popup, they may dismiss every | |
| 2247 | + * nested grabbing popup as well. When a compositor dismisses popups, it | |
| 2248 | + * will follow the same dismissing order as required from the client. | |
| 2249 | + * | |
| 2250 | + * If the topmost grabbing popup is destroyed, the grab will be returned to | |
| 2251 | + * the parent of the popup, if that parent previously had an explicit grab. | |
| 2252 | + * | |
| 2253 | + * If the parent is a grabbing popup which has already been dismissed, this | |
| 2254 | + * popup will be immediately dismissed. If the parent is a popup that did | |
| 2255 | + * not take an explicit grab, an error will be raised. | |
| 2256 | + * | |
| 2257 | + * During a popup grab, the client owning the grab will receive pointer | |
| 2258 | + * and touch events for all their surfaces as normal (similar to an | |
| 2259 | + * "owner-events" grab in X11 parlance), while the top most grabbing popup | |
| 2260 | + * will always have keyboard focus. | |
| 2261 | + */ | |
| 2262 | +static inline void | |
| 2263 | +xdg_popup_grab(struct xdg_popup *xdg_popup, struct wl_seat *seat, uint32_t serial) | |
| 2264 | +{ | |
| 2265 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_popup, | |
| 2266 | + XDG_POPUP_GRAB, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_popup), 0, seat, serial); | |
| 2267 | +} | |
| 2268 | + | |
| 2269 | +/** | |
| 2270 | + * @ingroup iface_xdg_popup | |
| 2271 | + * | |
| 2272 | + * Reposition an already-mapped popup. The popup will be placed given the | |
| 2273 | + * details in the passed xdg_positioner object, and a | |
| 2274 | + * xdg_popup.repositioned followed by xdg_popup.configure and | |
| 2275 | + * xdg_surface.configure will be emitted in response. Any parameters set | |
| 2276 | + * by the previous positioner will be discarded. | |
| 2277 | + * | |
| 2278 | + * The passed token will be sent in the corresponding | |
| 2279 | + * xdg_popup.repositioned event. The new popup position will not take | |
| 2280 | + * effect until the corresponding configure event is acknowledged by the | |
| 2281 | + * client. See xdg_popup.repositioned for details. The token itself is | |
| 2282 | + * opaque, and has no other special meaning. | |
| 2283 | + * | |
| 2284 | + * If multiple reposition requests are sent, the compositor may skip all | |
| 2285 | + * but the last one. | |
| 2286 | + * | |
| 2287 | + * If the popup is repositioned in response to a configure event for its | |
| 2288 | + * parent, the client should send an xdg_positioner.set_parent_configure | |
| 2289 | + * and possibly an xdg_positioner.set_parent_size request to allow the | |
| 2290 | + * compositor to properly constrain the popup. | |
| 2291 | + * | |
| 2292 | + * If the popup is repositioned together with a parent that is being | |
| 2293 | + * resized, but not in response to a configure event, the client should | |
| 2294 | + * send an xdg_positioner.set_parent_size request. | |
| 2295 | + */ | |
| 2296 | +static inline void | |
| 2297 | +xdg_popup_reposition(struct xdg_popup *xdg_popup, struct xdg_positioner *positioner, uint32_t token) | |
| 2298 | +{ | |
| 2299 | + wl_proxy_marshal_flags((struct wl_proxy *) xdg_popup, | |
| 2300 | + XDG_POPUP_REPOSITION, NULL, wl_proxy_get_version((struct wl_proxy *) xdg_popup), 0, positioner, token); | |
| 2301 | +} | |
| 2302 | + | |
| 2303 | +#ifdef __cplusplus | |
| 2304 | +} | |
| 2305 | +#endif | |
| 2306 | + | |
| 2307 | +#endif |