glfw/src
Camilla Löwy fbdb53b9ca Wayland: Add initial support for libdecor
This is partly based on the implementation of libdecor support in
PR #1693 by @ christianrauch.

Where available, the libdecor library is loaded at init and becomes the
preferred method for window decorations.  On compositors that support
XDG decorations, libdecor in turn uses those.  If not, libdecor has
a plug-in archtecture and may load additional libraries to either use
compositor-specific decorations or draw its own.

If necessary, support for libdecor can be disabled with the
GLFW_WAYLAND_LIBDECOR init hint.  This is mostly in case some part of
the dynamic loading or duplication of header material added here turns
out to cause problems with future versions of libdecor-0.so.0.

Fixes #1639
Closes #1693
Related to #1725
2023-03-27 22:03:36 +02:00
..
CMakeLists.txt Share X11 fd polling logic with Wayland 2022-03-03 22:23:57 +01:00
cocoa_init.m Add conditional compilation for platform units 2022-09-15 22:24:39 +02:00
cocoa_joystick.h Add conditional compilation for platform units 2022-09-15 22:24:39 +02:00
cocoa_joystick.m Add conditional compilation for platform units 2022-09-15 22:24:39 +02:00
cocoa_monitor.m Add conditional compilation for platform units 2022-09-15 22:24:39 +02:00
cocoa_platform.h Fix return type of functions returning bool values 2022-06-08 22:14:38 +02:00
cocoa_time.c Add conditional compilation for platform units 2022-09-15 22:24:39 +02:00
cocoa_time.h Add runtime platform selection 2021-10-13 21:47:11 +02:00
cocoa_window.m Add conditional compilation for platform units 2022-09-15 22:24:39 +02:00
context.c Check if context creation APIs match when sharing 2022-08-22 19:17:12 +02:00
egl_context.c EGL: Cleanup 2022-09-15 22:14:41 +02:00
glfw.rc.in Win32: Add VERSIONINFO resource to GLFW DLL 2019-12-11 21:02:08 +01:00
glx_context.c Add conditional compilation for platform units 2022-09-15 22:24:39 +02:00
init.c Wayland: Add initial support for libdecor 2023-03-27 22:03:36 +02:00
input.c Add cursor mode GLFW_CURSOR_CAPTURED 2022-07-25 18:02:57 +02:00
internal.h Wayland: Add initial support for libdecor 2023-03-27 22:03:36 +02:00
linux_joystick.c Add conditional compilation for platform units 2022-09-15 22:24:39 +02:00
linux_joystick.h Add conditional compilation for platform units 2022-09-15 22:24:39 +02:00
mappings.h Add conditional compilation for platform units 2022-09-15 22:24:39 +02:00
mappings.h.in Add conditional compilation for platform units 2022-09-15 22:24:39 +02:00
monitor.c Add basic assertions for event API arguments 2022-06-08 22:14:38 +02:00
nsgl_context.m Add conditional compilation for platform units 2022-09-15 22:24:39 +02:00
null_init.c Add runtime platform selection 2021-10-13 21:47:11 +02:00
null_joystick.c Fix return type of functions returning bool values 2022-06-08 22:14:38 +02:00
null_joystick.h Fix return type of functions returning bool values 2022-06-08 22:14:38 +02:00
null_monitor.c Add runtime platform selection 2021-10-13 21:47:11 +02:00
null_platform.h Fix return type of functions returning bool values 2022-06-08 22:14:38 +02:00
null_window.c Add window hints for initial position 2022-07-29 11:50:13 +02:00
osmesa_context.c X11: Fix sonames for loaded libraries on NetBSD 2022-03-04 00:00:59 +01:00
platform.c Move helper macros to single point of use 2022-09-15 22:14:41 +02:00
platform.h Add conditional compilation for platform units 2022-09-15 22:24:39 +02:00
posix_module.c Add conditional compilation for platform units 2022-09-15 22:24:39 +02:00
posix_poll.c Add conditional compilation for platform units 2022-09-15 22:24:39 +02:00
posix_poll.h Share X11 fd polling logic with Wayland 2022-03-03 22:23:57 +01:00
posix_thread.c Add conditional compilation for platform units 2022-09-15 22:24:39 +02:00
posix_thread.h Add runtime platform selection 2021-10-13 21:47:11 +02:00
posix_time.c Add conditional compilation for platform units 2022-09-15 22:24:39 +02:00
posix_time.h Add runtime platform selection 2021-10-13 21:47:11 +02:00
vulkan.c X11: Fix sonames for loaded libraries on NetBSD 2022-03-04 00:00:59 +01:00
wgl_context.c Add conditional compilation for platform units 2022-09-15 22:24:39 +02:00
win32_init.c Win32: Fix typo in error description 2023-03-03 14:36:12 +01:00
win32_joystick.c Add conditional compilation for platform units 2022-09-15 22:24:39 +02:00
win32_joystick.h Add conditional compilation for platform units 2022-09-15 22:24:39 +02:00
win32_module.c Add conditional compilation for platform units 2022-09-15 22:24:39 +02:00
win32_monitor.c Add conditional compilation for platform units 2022-09-15 22:24:39 +02:00
win32_platform.h Refactor cursor mode paths 2022-07-25 18:02:57 +02:00
win32_thread.c Add conditional compilation for platform units 2022-09-15 22:24:39 +02:00
win32_thread.h Add runtime platform selection 2021-10-13 21:47:11 +02:00
win32_time.c Add conditional compilation for platform units 2022-09-15 22:24:39 +02:00
win32_time.h Add runtime platform selection 2021-10-13 21:47:11 +02:00
win32_window.c Win32: Remove unhelpful helper function 2022-09-15 22:25:10 +02:00
window.c Add window hints for initial position 2022-07-29 11:50:13 +02:00
wl_init.c Wayland: Add initial support for libdecor 2023-03-27 22:03:36 +02:00
wl_monitor.c Wayland: Simplify per-window ouput scales tracking 2023-03-27 22:03:36 +02:00
wl_platform.h Wayland: Add initial support for libdecor 2023-03-27 22:03:36 +02:00
wl_window.c Wayland: Add initial support for libdecor 2023-03-27 22:03:36 +02:00
x11_init.c Linux: Fix joystick input being disabled 2022-12-15 20:18:59 +01:00
x11_monitor.c Add conditional compilation for platform units 2022-09-15 22:24:39 +02:00
x11_platform.h GLX: Add support for loading glvnd libGLX 2022-07-29 19:14:04 +02:00
x11_window.c Linux: Fix joystick input being disabled 2022-12-15 20:18:59 +01:00
xkb_unicode.c Add conditional compilation for platform units 2022-09-15 22:24:39 +02:00
xkb_unicode.h Clean up internal Unicode code point handling 2021-12-31 13:27:22 +01:00