nostalgia/deps/wayland/xdg-shell.xml
Gary Talent 26c8cc348e Squashed 'deps/glfw/' changes from 7d5a16ce7..7b6aead9f
7b6aead9f Documentation updates for 3.4 release
e14e72a2e De-emphasize FAQ
523d1d61c Remove outline of Doxygen 1.9.8 menu links
4d9557aef Update README for 3.3.10 release
415df7e3b Wayland: Explain what to do when the build fails
fb9c23fbf Build has been tested with CMake 3.28
d45cbc82c Fix error return value for glfwGetVideoMode
d7e7b164b Add credit
421dc66af Remove reference to stale Coverity result
b864e4bae Improved build guide slightly
f6f7ee228 Add new symbol to list
961e45bde Include declarations from native access header
e28397bda Cocoa: Fix glfwGetCocoaWindow error return value
8f2f766f0 NSGL: ANGLE exists
f6360eade NSGL: Fix missing check for OpenGL profile
1fb7f0e12 Cocoa: Added glfwGetCocoaView native access function
0bb605cd7 Wayland related documentation work
559bd3adb Add credit
65102e200 Prefer Wayland over X11
dbf7cfc4d Update credit
42afd127a Documentation work
7bdcdf435 Cleanup
c8372cda0 Documentation work
1ce41b358 Null: Remove unused struct member
af5d25055 Wayland: Remove separate window title copy
95d464bb4 Add glfwGetWindowTitle
bafece4cf Update Wayland remarks for glfwCreateWindow
64b4f0f30 Null: Fix missing damage event
a53ce7e8b Null: Fix window/framebuffer size event order
f0ec79138 X11: Cleanup
14e653358 Add support for XDG_SESSION_TYPE env variable
690a15f92 Wayland: Implement GLFW_RESIZABLE for XDG toplevel
b61f3fc47 Wayland: Fix invalid size protocol error
a650c69cf Wayland: Decide final window size in one place
2b3f919b6 Wayland: Add support for fractional scaling
a9cc7c726 Add GLFW_SCALE_FRAMEBUFFER window hint
63397fb0d Convert some external links to reference links
532bd66e7 Convert Doxygen tables of contents to Markdown
244852a93 Convert Doxygen paragraphs to Markdown
973a3c0b3 Fix Markdown syntax for link
1a0bae7fa Convert Doxygen code sections to Markdown
611099f74 Convert Doxygen headings to Markdown
3e73a5c76 Rename Doxygen files to Markdown
e3e41ba33 Move to Doxygen 1.9.8 and later
fb10e95f7 Add language tags for C code sections
d93868bcf Win32: Fix handling of local absolute raw motion
275b92f88 Win32: Clean up RDP hidden cursor workaround
6c1e3fd84 Win32: Use existing cursor creation path
efffd492d Wayland: Check all xkbcommon entry points
77ced84e9 Use C99 instead of hard-coded indices
8946f5314 Win32: Add GLFW_WIN32_SHOWDEFAULT
2afd57bf9 Expand documentation for custom allocator
a12311e59 Document GLFW_FLOATING not supported on Wayland
bb951b4b7 Use C99 fminf and fmaxf
5a0ab56ed Fix spelling
30127690a Add credit
6f1ddf51a Wayland: Remove unused struct member
6565c0cc0 Update changelog and add credit
edd38207a Linux: Set O_CLOEXEC on evdev fd
9953f7ead Wayland: Cache framebuffer size
1be7bc546 Wayland: Clean up data types related to scales
4c283e4a3 Wayland: Be more specific about scales
e25c1cc74 Wayland: Make fallback concepts more distinct
72164e692 Wayland: Remove fallback decoration edge enum
a268b4b3a Wayland: Cleanup
4baeadbd6 Wayland: Put fallback decorations behind a boolean
6ac0835ad Wayland: Cleanup
ea6dd72c7 Wayland: Fix GLFW_HOVERED for fallback decorations
5e97447dd Wayland: Clarify fallback decoration struct name
d3a736243 Wayland: Separate window and framebuffer resizing
1fe98a0d5 Fix missing list entry dash in README
a360198f8 Wayland: Implement glfwFocusWindow
eeb403135 Add minor features and updates to window test
00e86d4b7 WGL: Fix pixel format count in a Parallels VM
86d7bcb12 Fix missing checks for platform mismatch
d7aeb1eae Fix function return value when uninitialized
f74ff2aa1 Fix function return value when uninitialized
c47894a9a Update compilation-related parts of README
42afff41f Remove reminders to use C99 from more source files
23962c9dc Remove further traces of IRC channel
ad264f506 Update URL for xdg-activation-v1 protocol docs
94310c528 Wayland: Move listener to correct section
bdedec993 Wayland: Fix formatting of attention request
931797024 Wayland: Implement glfwRequestWindowAttention
2590d4cdd Wayland: Enable platform by default
51920ede6 Wayland: Fix compilation on FreeBSD
291f4d89c OSMesa: Fix headers included before shared header
bc95384f4 Remove platform-specific logic from shared header
becf1dc14 Update to actions/checkout@v4 from v3
86bf5698e Fix glfwGetKeyName incorrectly emitting error
7e2470d34 Use designated initializers for platform structs
bbf661ca3 Replace comments with designated initializers
d81fcb93f Clarify event test reporting of keys
c339dfc63 Update changelog for 3.4 release
9afbcb442 Wayland: Clean up pointer axis handler
d79afa805 Win32: Minor changes to disabled cursor fix over RDP
996826eec Reorder and add details to changelog entry
1de78b2ff Cleanup
7321b56ca Reorder credit
c8521b7fd Win 32: Fix disabled cursor mode when connected over RDP
8e6c8d7ef Remove reminders to use C89 for some source files
ba796ec9c Document VS 2013 as minimum VS version
d107e497a Remove superfluous CMake flag in AppVeyor build
d2058526c Make VS 2013 the oldest tested VS version
cf29ff2b9 Update CODEOWNERS file
8ff8d6756 Set timeout for build GH workflow jobs
d2b88cf7a Update documentation for native access errors
200639712 Add initial .editorconfig file
507621977 Win32: Remove unofficial support for VS 2008
29885c694 Win32: Improve clipboard contention issue
2c3eb7574 Wayland: Remove dependency on wayland-protocols
73948e6c0 Fix missing error in docs for glfwCreateWindow
5a9ea8f99 Add build- prefix to .gitignore
4e8c4901e Wayland: Fix segfault on termination
d9646631d Removed unused header in sharing example
6b39ab007 Improve coverage of GH build workflow
40aa77a16 Remove superfluous CMake flag in GH build workflow
9f6da7e7c Win32: Fix some of the errors for Null-only on VS
ab09dc8fb Add credit
b4c3ef9d0 Clarify documentation for contributing
2c1d31009 Cocoa: Fix segfault querying joystick elements
ea3ea6270 Update changelog and add credit
eeeb56eb2 EGL: Fix GLFW_CONTEXT_NO_ERROR on Mesa
378e5fc81 Fix Markdown formatting for changelog entry
7b152019d Add credit
8e9a5d29a Cocoa: No NSWindowStyleMaskResizable in fullscreen
46cebb508 EGL: Only use EGL_EXT_present_opaque on Wayland
68edc66aa Add credit
ddd92a4fa Update changelog and add credit
5e4496cb4 Cocoa: Fix compilation error on OS X 10.8
0ede5f58c Simplify joystick hat value assertions
52405a9d5 Win32: Fix invalid hat bit mask being accepted
9959dc69c Improve documentation relating to key tokens
557a633b2 Fix list of possible errors for glfwGetKeyName
b1517e5b3 Fix glfwGetKeyName not checking key token is valid
3f31519de Clarify documentation for glfwMakeContextCurrent
1b2605dbc Fix missing new constant in release notes
93d70cb6a Add assertions for context function invariants
fa0ea5c41 Fix potential violation of invariant
8c5471d6c Fix return value on error for glfwGetKeyScancode
fb94e4268 Remove changelog entry
d097e3574 Wayland: Fix heuristics for what counts as events
23e40548b Wayland: Fix protocol error on undecorated window
9fdc42593 Wayland: Use Wayland to wait for libdecor to init
23ea072c4 Reorder changelog entry
659d16144 Reorder credit
dbe810e40 Documentation: only named keys generate synthetic key releases
afd22ebcf Add credit
97820bc32 Null: Remove duplicated function declaration
d9709904f Linux: Fix POSIX version not set for Null build
a87acd8c1 Update changelog and add credit
2a4dd9c28 Cleanup
c992226a9 Linux: Fix memory leak when inotify init failed
0bd3e879e Fix unneccessary use of "must"
509f4131b Win32: Fix glfwWaitEventsTimeout ignoring messages
01d7c331f Wayland: Fix zero being used in place of NULL
938a3c29b Update Doxyfile template for Doxygen 1.9.7
3ed6e9d89 Updated credit
9a80225dd Add credits
46c2e35c5 Updated changelog
93a3ba808 Win32: Add library name suffix to pkg-config file
3eaf1255b Wayland: Cleanup
6b48f2be9 Wayland: Merge function called once
00a663daf Wayland: Fix fallback decorations emitting errors
3fa236072 Update changelog
0b94e1b29 Wayland: Fix detection of joysticks after init
f27daa34a Fix glfwinfo output of Vulkan layer spec version
6f2d7064b Make glfwinfo try Vulkan even if GL/GLES fails
9cce2896e Null: Add (fictional) scancodes
23ab97272 Fix unquoted CMake variable references
fbdb53b9c Wayland: Add initial support for libdecor
cd466cf9f Wayland: Simplify decoration side detection
39f0e8622 Wayland: Clean up enum value names
efa9297a4 Wayland: Simplify per-window ouput scales tracking
91c837ace Wayland: Use tags to verify proxy ownership
6d9083af0 Wayland: Remove duplicate setting of user data
4cf510511 Wayland: Stop manually tracking interface versions
c1a79c1c4 Wayland: Emit size event when setting aspect ratio
8397b39af Wayland: Fix some missing window refresh events
735fc101f Wayland: Fix decorations not always being created
228428fa4 Wayland: Simplify test for fallback decorations
82e77dbff Wayland: Pick more plausible default cursor size
9a8763568 Update to actions/checkout@v3
2b580012d Add credit
5c463a907 Win32: Fix typo in error description
9b1f63bad Add credit
1c9fcdc9d Simplify setting of GLFW_STANDALONE CMake variable
30b91c8b6 Remove CMAKE_LEGACY_CYGWIN_WIN32 CMake option
e0ae1c45d Remove setting of CMake policy CMP0054
8f470597d Add support for manually running build workflow
57cbded07 Add credit
41d8da1ce Wayland: Fix wrong array size for _GLFWofferWayland
00967cbb8 Linux: Fix joystick input being disabled
dd8a678a6 Update Doxyfile template for Doxygen 1.9.5
97b9e4963 Documentation work
b2b087cd8 Fix documented errors for gamma ramp functions
d299d9f78 Remove Doxyfile tags deprecated by Doxygen 1.9.5
ed1d9e1ca Document X11 WM_CLASS hint behavior
ab3ea8ac9 Win32: Remove unhelpful helper function
c812b9d87 Add conditional compilation for platform units
8a72918bc Move helper macros to single point of use
ab1b1edfd EGL: Cleanup
93e93135f EGL: Add better error for no stereo
e05766664 EGL: Add better errors for client API mismatch
6b57e08bb Check if context creation APIs match when sharing
2c0f34b60 WGL: Fix count of displayable pixel formats
ef6c9d8b4 Wayland: Fix window opacity on older systems
c18851f52 GLX: Add support for loading glvnd libGLX
55aad3c37 EGL: Add support for loading glvnd libOpenGL
0f9a9578f Add window hints for initial position
7d73629e5 X11: Preserve unrelated values in WM_NORMAL_HINTS
2efc598d7 Fix native access macros being mutually exclusive
2e12ef00b Fix typos and other issues in docs
3a60992a4 Wayland: Add error for unsupported feature
3a5c726d1 Wayland: Remove unreachable code
7be6a2cab Wayland: Clean up pointer helper function order
488008e0a Add cursor mode GLFW_CURSOR_CAPTURED
a46f829de Refactor cursor mode paths
03af6b3d4 Wayland: Fix leaks of pointer related objects
09ebf3f0b Wayland: Fix error for missing protocol
e85b645b8 Wayland: Clean up pointer locking
b9ed25d2e Wayland: Add GLFW_WAYLAND_APP_ID window hint
26b85215c Wayland: Static function more static when static
6987294df Wayland: Clean up cursor theme loading
71be34a6c Wayland: Fix crash if mouse connected after init
7cc8b053b Wayland: Clean up shared memory buffer creation
91a96ed43 Update changelog and add credit
c424fe558 Linux: Fix joystick without buttons being ignored
c50d53160 Make events test window appear on Wayland
40b5a8a37 Wayland: Fix reappearing key repeat
9180923ea Wayland: Clean up key repeat logic
a1a73ee86 Wayland: Make text input logic static
e47cb7c1e Wayland: Update state before emitting events
4df24735e Wayland: Do not emit events for destroyed window
d77aaa770 Wayland: Fix non-standard struct initialization
aa80d24d0 Documentation work
fd7e73721 Linux: Fix duplicate joystick objects
6dd526fb1 Win32: Fix right Shift scancode when using CJK IME
2796e61af Documentation work
88a39006e Wayland: Cleanup
5c948a6e6 Wayland: Fix comment typo
8e725338b Add credit
060631c96 Fix typos in docs
36f0bf00a Cocoa: Fix build failure on OS X 10.11
84e165ef6 Win32: Work around warnings on MSVC 19.32.x
2db528d8c Cocoa: Cleanup
78b19548d Documentation work
dfb26023f Update changelog and add credit
9b7713cf9 Cocoa: Fix search path for private Vulkan loader
3b3d58df4 Add support for VK_KHR_portability_enumeration
510a08cde Update glad to include Vulkan 1.3
0d599026d Cocoa: Fix clearing of unrelated window style bits
6f8ec4075 Cocoa: Fix GLFW_MAXIMIZED for nonresizable windows
98d6e8485 Cocoa: Disable macOS fullscreen when non-resizable
da6713cd0 Wayland: Do not decorate fullscreen windows
d578c2ddf Wayland: Only create EGL window if using EGL
74b4ceb83 Wayland: Cleanup
c4fbe80d9 Wayland: Make function behavior match name
be7f4513c Wayland: Remove premature surface commit calls
47193f15d Wayland: Rename function to its purpose
80dc0533c Wayland: Use enum type to store enum value
29b7669bc Wayland: Fix transition to server-side decorations
f35e2274c Wayland: Fix GLFW_DECORATED for XDG decorations
3203599ca Wayland: Fix map before XDG decoration configure
2df0ce07f Wayland: Store and act on XDG decoration mode
83a134a92 Wayland: Fix mapping failure on wlroots compositor
eb9c3bee7 Wayland: Rename fallback decoration functions
0cd1916de Wayland: Remove function only called once
77819c0c5 Wayland: Fix maximized state lost while hidden
e52046955 Wayland: Cleanup
55fcfb1bb Wayland: Fix error for setting GLFW_FLOATING
203002ef2 Wayland: Fix latent bug for glfwGetWindowTitle
85f5a5191 Wayland: Fix events emitted before ack_configure
9ad9f5c52 Wayland: Fix missing error reporting
5002522f7 Wayland: Cleanup
91f18fb57 Wayland: Fix error from glfwSetWindowAspectRatio
e37ba80b1 Wayland: Fix reporting of monitor scale changes
c3ad3d49e Wayland: Fix duplicate monitor connection events
209f6cf09 Wayland: Add support for wl_output::name
33d37782c Wayland: Cleanup
229d628ec Wayland: Fix toggling of server-side decorations
c28d42006 Wayland: Remove duplicate fullscreen check
18df0baea Wayland: Cleanup
a7b6f3550 Wayland: Fix size limits for fallback decorations
0f5b09504 Wayland: Fix erratic fallback decoration behavior
24cdc5afd Wayland: Rename window frame size constants
75295f487 Wayland: Remove unused code path
040712ce9 Wayland: Cleanup
2877fea55 Wayland: Remove superfluous comments
e33db6d7a Wayland: Fix resize events before ack_configure
afb127769 Wayland: Add tracking of XDG fullscreen state
ed39ff43f Wayland: Use named constants for version checks
98c9961f3 Wayland: Cleanup
3bbb41eac Wayland: Fix glfwInit closing stdin on failure
0b76e3a6f Wayland: Fix duplicate window content scale events
685799549 Wayland: Fix glfwSetWindowSize resizing fs windows
fdc72edf8 Wayland: Fix missing fullscreen code path
f39ffefb6 Wayland: Fix maximization by user being ignored
ddd087d66 Wayland: Fix behavior of leaving full screen mode
523fdf50c Wayland: Cleanup
d3ede7b68 Add credit
a465c1c32 Win32: Simplify window class handling
2ae3e0c8d Win32: Add separate window class for helper window
ad3dbeb65 Add basic assertions for event API arguments
05f6c13d1 Add support for GLFW_NATIVE_INCLUDE_NONE macro
edec334b3 Cocoa: Use system header to declare id type
26920a1a3 X11: Fix previous error handler not being restored
736a88b06 Fix return type of functions returning bool values
2c204ab52 Fix joystick user pointer NULL during disconnect
e9c58bc18 Wayland: Fix missing lock key modifier bits
62e175ef9 Win32: Add comment clarifying use of ToUnicode
ce85c7dca Fix GLAPIENTRY not being defined for native access
5c3ebfb9c Remove OSMesa specific code from offscreen example
7dfd84c45 Win32: Make monitor area retrieval more consistent
685de9089 Fix and clarify comments for GLFWAPI
09653b8c5 Move last bits of window setup to platform code
72642ea0d Simplify struct stitching for sync primitives
8f050b565 Wayland: Add support for older wayland-scanner
acf0c10e7 Win32: Fix message reported by VS 2022
80e31ce9e Win32: Remove superfluous cast
d3c212122 Move CODEOWNERS to .github directory
23e6e8e4b X11: Fix segfault on malformed INCR response
f60547ac8 X11: Fix returned clipboard string freed too early
06089a91a Document delayed initialization of EGL display
82ccbb3ef Update stb_image_write.h to version 1.16
a8d8b760f X11: Fix OSMesa library not being unloaded
2d281d792 Wayland: Fix OSMesa library not being unloaded
89514cf0f Cocoa: Fix EGL and OSMesa not being unloaded
10e9033a2 Win32: Fix OSMesa library not being unloaded
29523dbfb Fix order of error checks in glfwSetGammaRamp
f843d5333 Fix glfwMakeContextCurrent using uninitialized TLS
4cb36872a Wayland: Add support for file drop events
0f38382e2 Wayland: Clean up listener struct initialization
f010335b8 Wayland: Make data offer reading a generic utility
b7a3af9b7 Wayland: Move window related code to window module
967282c2e Wayland: Remove check for error that cannot happen
8d216054a Wayland: Remove error reporting of external bugs
34418951c Wayland: Clean up clipboard writing
ad4a9e42f Move URI list parsing to shared code
e0889736f Wayland: Add strerror output to error descriptions
c13213533 Wayland: Clean up clipboard reading
465116527 Wayland: Simplify clipboard string allocation
8d87be126 Wayland: Improve handling of pending data offers
89d3ea8d6 Wayland: Return our clipboard without roundtrips
990dc4b38 Wayland: Fix error paths not closing sending fd
a4460b694 Wayland: Rename listener user data parameters
450617502 Wayland: Clean up pointer declarations
ba11e6085 Wayland: Rename data transfer parameters
2d45681bc Wayland: Fix phrasing and type of error messages
4c110bba4 Wayland: Fix partial writes of clipboard string
738b1c73b Wayland: Remove superfluous global struct member
b386371f5 Wayland: Fix double free on data source error
9c95cfb9f Wayland: Fix handling of clipboard set to self
920d110b6 Fix missing newline
554cbdb20 POSIX: Fix data type of return values
955fbd9d2 Cocoa: Fix AirPlay causing harmless init error
07a5518c3 Win32: Fix using executable instance and not ours
66a4882eb Add checks for some invalid values to public API
8d9231fe5 Win32: Fix glfwGetKeyScancode for GLFW_KEY_PAUSE
03cfe957e Win32: Fix scancode and key for Alt+PrtSc events
add0521ef Fix accidental C99 in C89 header
535c3ce63 Fix GLAPIENTRY redefinition warning
3ee5031fd Add shared min and max functions for int
9cc252a40 Revert ad01c1b614868c3cbc79306aa6a19c9fc06f34a6
46950a5e6 Fix button field names in input guide
1461c59aa Update changelog and add credit
b54fb0af1 X11: Fix undefined behavior in bit shift of int
8f9ff8503 Formatting
aa803f7de Win32: Update rationale for reimplementation
34573798f Win32: Rename Windows 10 macros for clarity
8ff9ed92b Win32: Fix calls to encoding compatibility macros
723f3eb40 Win32: Fix maximization showing a hidden window
1eef3a363 Fix dependency list for X11 on Cygwin
367d06dea Win32: Fix scale fixup losing initial position
a730acf8e Win32: Fix rect of undecorated maximized windows
adc202d2c POSIX: Fix undeclared function warning on Cygwin
d78b0a4ea X11: Fix sonames for loaded libraries on NetBSD
1e0c3bca7 Update version of VS used on windows-latest
71742d9a2 Wayland: Improve event processing with timeout
a32cbf6d4 Wayland: Fix glfwPostEmptyEvent not always working
7ce1f3e1c Formatting
bb9d699ae Share X11 fd polling logic with Wayland
203a7c59d Wayland: Cancel display fd read before callbacks
3c2913dcb Wayland: Fix potential incomplete display flushing
84b0923fe X11: Use lower-latency poll where available
cd22e2849 X11: Fix empty event race condition with a pipe
363d47144 Cleanup
87970b7f2 X11: Fix glfwWaitEvents* ignoring joystick events
1e987cb92 X11: Fix joystick events causing busy waiting
92b5c67b5 X11: Retry poll when failed with EINTR or EAGAIN
d3e4fcf8b X11: Fix event polling when event fd > 1023
ad01c1b61 Win32: Fix key name code changing global key state
789d2924c Formatting
2e656afc4 GLX: Fix context creation failing unnecessarily
20adc18aa Wayland: Clean up monitor scale update
152f50cd0 Wayland: Fix error type for allocation failure
4a68926bf Wayland: Remove unnecessary NULL checks
a28adba06 Wayland: Fix multiple copies of single constant
97da62a02 Cocoa: Clarify comments on compatibility macros
e023618da Remove Doxyfile tag deprecated by Doxygen 1.9.3
7f6aa587f Cocoa: Fix deprecation warning for kUTTypeURL
df8d7bc89 Wayland: Clean up modifier key event handler
0ce611958 Wayland: Clean up key translation
1a7da42e6 Wayland: Fix text input not following key repeat
bf9958700 Wayland: Clean up key event handler
293d19a15 Wayland: Require xkbcommon 0.5.0 or greater
b70259e52 Wayland: Clean up text input
fe7be3979 Clean up internal Unicode code point handling
17a9e34fb Wayland: Implement key name support
cb22c5411 Move UTF-8 encoding to shared code
37b7540db Wayland: Fix keys reported as wrong or unknown key
715b874db Wayland: Fix GLFW_VISIBLE affecting full screen
8aaea5742 Fix gamma test not checking for NULL return value
25c521cbe Wayland: Fix missing damage event on window show
c05acf624 Wayland: Fix window not visible after initial swap
12c2ccd60 Wayland: Remove window monitor array pre-alloc
216ea3d73 Wayland: Remove superfluous initialize to NULL
c1ecd4673 Wayland: Move window title cloning to creation
7bede13b1 Wayland: Gather framebuffer transparency logic
a3d1633e1 Wayland: Move surface creation function
3f5dfeaf2 Wayland: Fix repeated key not released on defocus
850893a39 Wayland: Control key repeat via timerfd state
79e7e65c9 Wayland: Clean up event pump
855d338a6 Wayland: Use correct action on fallback decoration
8edbc4971 Wayland: Document delayed window showing
05b0e2fab Update docs for specific Vulkan surface extensions
7d060ba4f X11: Fix sonames for loaded libraries on OpenBSD
f8ef3ca71 Add hiding and showing to interactive window test
094aa6d3c Wayland: Fix window hiding
e24fe4b18 Wayland: Fix key repeat continuing when refocused
c2f0a0ae5 Wayland: Fix duplicate focus event on activation
6281f498c EGL: Use EGL_EXT_present_opaque when available
68879081c Wayland: Continue poll() if timerfd can’t be read
963e72888 Wayland: Set O_NONBLOCK on repeat timerfd
900848ad0 X11: Add extension header paths to CMake target
cd01187b9 Fix initial windowed mode size for test
c19f36b28 Add missing errors section for glfwGetGamepadName
53d86c64d Win32: Handle content scale error on creation
fbfd7e65c Win32: Fix bad content scale on monitor disconnect
d1efa3298 Formatting
79de08db0 Cleanup
e40fa3bb9 Add credits and update changelog
9cd4d2fa2 X11: Fix undefined behavior in glfwSetWindowIcon
37fc28bff Fix docs calling GLFW_CONTEXT_REVISION a hint
706d1f165 Gather Null specific platform selection logic
b3a98f855 Update comments for global mutable data
eacc1cafb Fix source comment typo
a30cd6ace Add credit
bb193325c Add missing error to glfwGetClipboardString docs
b55a517ae Add credit
544790666 Cocoa: Use MACH_PORT_NULL for default IOKit port
fb0f2f92a Add missing changelog entries
83d3fb08e Fix some spelling errors in changelog
999962bd2 Update changelog and add credit
f75c251de Cocoa: Fix deprecation of kIOMasterPortDefault
575d2971d Fix glfwinfo not handling --platform=any
2a78a2cf8 Refactor platform selection for clarity?
76a5f781d Add glfwInitVulkanLoader
393eac458 Improve Vulkan guide header section
db9150795 Remove saving a function pointer only used once
ee6ff939a Fix invalid pointer conversions
68534cc2c Null: Remove unused function
4005f70ee WGL: Limit DWM swap interval hack to Vista and 7
53d7622a3 Move list of contributors to separate file
41ebcf1ee Add credit
0fe96ec20 Fix various typos
3d52f7e34 Limit scope of some loop counters in C99 files
f4d0365a5 Use switch statement instead of if-else-chain
309d79376 Fix GLFW_INCLUDE_GLEXT being ignored for glcorearb
6efaaec9c Improve headings and TOC layout in Doxygen docs
38dd51552 Use Win32 instead of Windows in Doxygen headings
727db55c3 Fix context API checks in native access functions
56a4cb0a3 Add runtime platform selection
ff9d9515f Remove typedefs only used in one place
36ea36736 Cocoa: Change helper function suffix to Cocoa
09f9773e6 Cocoa: Make timer functions backend independent
bdfe6b09a Win32: Make timer functions backend independent
b6834bf2a Win32: Remove timeGetTime fallback for timer
35f3b58c2 Win32: Make thread functions backend independent
f5758d75d Remove context creation backend headers
b7d0c6037 Make dynamic module loading part of platform API
e31deedc9 Make timer init part of platform API
6d51b3910 Select mapping platform name at runtime
d0776e04a Null: Add non-functional EGL support
8b8d10bc0 Move library dependency logic to src directory
0a9488e3f Remove configuration header
efe764b49 Remove blank line before the end of some structs
983c44b25 Document possible native access function errors
cca9008db Make native access functions verify context API
0391b7b27 Remove Doxyfile tags deprecated by Doxygen 1.9.2
1d8d1ff3d Fix output for missing Vulkan surface extensions
4be0444ee Remove potentially incorrect claim
6a2005310 Fix docs for Windows monitor size calculation
7614d088e Fix string buffer sizes in window test
6ed529422 Cocoa: Fix unresponsive cursor after cursor warp
157ebb80a Cocoa: Fix unresponsive cursor after ungrab
e7758c506 Wayland: Fix cursor offset when shape changes
4cbe743b7 Wayland: Fix standard cursor name selection
216d5e840 Wayland: Fix some keys not repeating
63da04e5c Add HTML header and footer to docs dependencies
8e2357984 Add OpenGL ES 2.0 triangle example
150744ecc Only rebuild documentation when necessary
8c8def5de Start making use of CMake 3.4 string(APPEND)
4f077c413 Raise minimum required CMake version to 3.4
7c25dff00 Remove truism from end of gamepad mapping regexp
daed5edd6 Simplify CMake if-statement variable references
d7b7c3b12 Raise maximum known CMake version to 3.20
62074f3de Update glad2 and switch to header-only version
518e26e16 Add credit
22b586b3d Add pluggable heap allocator
4e557437f Name parameters for callback function types
2ac7e20aa Win32: Fix invalid preprocessor command 'warning'
85348c67c Wayland: Load functions for new atomic marshalling
071d7c0f4 X11: Fix function returning before cleanup
71829a0f0 Wayland: Remove unused pkg-config dependency
244948e17 Export pkg-config dependencies via the CMake cache
d83849792 Add override variable for CMake library type
dffe203c1 Wayland: Make libwayland-client dynamically loaded
87d5646f5 Remove unneccessary quotes in CMake conditions
9a0e88a01 Update comment for msvcrt CMake option
aff00d0dd POSIX: Use frequency member for clarity
111c02d74 POSIX: Remove use of deprecated gettimeofday
58b48a3a0 Win32: Remove changing the foreground lock timeout
201400b97 Simplify parsing of default gamepad mappings
afa78b427 Update gamepad mappings from upstream
0c90e1a33 Add gamepad mapping filtering by backend
01778329e Add custom target for updating gamepad mappings
56092814f Improve error description for invalid scancodes
3dc7349c3 Expand list of distro derivatives slightly
9e1ee3f26 Add Fedora package names to compilation guide
ab34cc51c Update changelog
1d88a2e3d Cocoa: Fix macro redefinition warning
076bfd55b Cocoa: Fix MoltenVK layer scale out of sync
836e70950 Cocoa: Remove calls to -update on nil
3b9597048 Improve library compilation guide somewhat
b6f7ead3c Add credit
1a5e07fd4 realizing "as you would" is platform dependent
f010d8b77 Clarify "as you would" for beginners.
6876cf8d7 Remove errors for gamepad element mismatch
52d8347d3 Consistent subsections in compile guide
a89fcd20d Wayland: Fix missing constant on FreeBSD
5b73fc8b8 Wayland: Fix case of epollshim find module name
6f7c61c6b Add missing changelog entry
15e05adf6 Add notes on getting the HDC of a window on Win32
787295b3a Fix some documentation URLs still using http:
78380c776 Update IRC network to Libera.Chat
3b1322865 Add 'latest' branch to all CI builds
4e788fc6d Move VS 2019 builds from AppVeyor to GH Actions
5a6001a83 Migrate from Travis CI to GitHub Actions
df15a33e1 Fix numeric conversion warnings in example
114776a24 EGL: Fix creation of single-buffered windows
fd79b0284 Move single/double-buffer filtering to backends
184377b49 Skip initial buffer swap when single-buffered
04f21abb5 Make GLFW_DOUBLEBUFFER a window attribute
da236ba80 Make monitor and joystick names static strings
a39115a27 Remove claim that EGL is not supported on macOS
bbbbd3e87 Clarify documentation for hints
e17ffcd0d Fix header version macro descriptions in docs
9a3a8bc26 Win32: Always define UNICODE and _UNICODE
a646f51bc Win32: Fix macros being enabled for other backends
0e9ec7788 Fix description of video mode ordering in docs
e3f916808 Fix hardcoded runtime destination in CMake install
061a0263a Win32: Fix compilation with standalone LLVM
85bce8a8e Replace GL_ARB_debug_output in comments
ec621a00b Replace GL_ARB_debug_output in context guide
330f7da74 Add Vulkan device presentation support to glfwinfo
0beadfdc6 Add window surface creation to glfwinfo
4c90e21e8 Fix grammar in MoltenVK support docs
f90df2424 Add GLFW_X11_XCB_VULKAN_SURFACE flag to glfwinfo
a25e8eb50 Add docs for GLFW_X11_XCB_VULKAN_SURFACE
84f95a7d7 Add GLFW_X11_XCB_VULKAN_SURFACE init hint
f4a732960 Update USE_MSVC_RUNTIME_LIBRARY_DLL for CMake 3.15
9416a4340 Fix implicit double-to-float in linmath.h
33cd8b865 Add issue number to changelog
291f6dc32 Remove deprecated Doxygen tag
52ba8c7f0 Win32: Add warning when option will have no effect
17ae300d9 Ignore cached state when setting window attributes
9c62a21ba Update linmath.h
1f34295a7 Win32: Add MinGW-w64 detection to version string
4afa227a0 X11: Fix attribs not applied on leaving fullscreen
2c7f3ce91 Update changelog
b925a54ef Wayland: Move DPI fallback work to output done
729c9988d Win32: Fix content area rescaling on older systems
410890aa8 Win32: Fix full screen windows affected by scaling
6de084000 Cocoa: Fix console apps getting a dock icon
947731113 Update changelog and add credit
384ff74a4 Cocoa: Fix install name for installed dylib
f8d6801a5 Simplify references in CMake if-statements
3959ee894 Cocoa: Unify CG display to NS screen mapping
8ab40399d Update changelog and add credit
2bc52ca82 Cocoa: Use modern API to get display name
5aff72aa0 Cocoa: Fix duplicate monitor connection events
8b1186746 Cocoa: Fix menubar for unbundled apps on 10.15
552209fe4 Update changelog
f5af421a6 Cocoa: Fix duplicate video mode detection
5d1d1a01e Update repo URL for Nuklear
3a8ebb190 Added 2 entries to the gitignores file.
6ce6b5078 Add credit
761f97d6b Fix indentation in internal.h
0b9e48fa3 Fix minor typo: If if -> If.
1adfbde4d Wayland: Move 96 DPI default to outputHandleMode
08e5a1706 Use switch statement instead of if-else-chain for cursor shapes
7e8da5709 Add missing changelog issue number
0dc1005c8 Wayland: Fix destroying CSDs in the correct order
3327050ca Cocoa: Fix ObjC being built as C with CMake 3.19
5c928ff45 Add credit
2f76f70c7 Wayland: Simplify adding of protocol sources
420b165bf Wayland: Fix indentation
a62a6c501 Wayland: Scanner tool has input and output args
d5f32dfb3 Wayland: Ensure paths are passed on in quoted form
a6f8cc9d4 Fix unquoted paths with variable references
af8f9713d Wayland: Fix CMake binary dir when built as subdir
0bccc3852 Win32: Filter out duplicate size events
ac627706e Win32: Fix clang-cl interpreting -Wall as /Wall
6b78419c9 Win32: Enable /W3 on VS for library sources
9b140d08d Remove ignored Clang compiler flag
35f3508ec Update changelog and add credit
c940695eb Fix macOS Print Screen
0ef149c8f Wayland: Assume 96 DPI if physical size is <= 0
a506a8dc7 Add credit
8d47dc589 Update test SPIR-V shader code
48aa567d0 Update changelog and add credit
53b1396a0 Win32: Fix value for _WIN32_WINNT_WINBLUE
60e7364b3 Update changelog
166611cef Win32: Update all monitor handles on config change
0b2660f39 Wayland: Remove FindWaylandProtocols.cmake and FindXKBCommon.cmake (not used anymore)
40d150c39 Docs: Remove mentions of extra-cmake-modules
8aaf07284 Wayland: Remove extra-cmake-modules from CI
2e6fb7fe2 Wayland: Remove extra trailing whitespace
2747e4739 Wayland: Remove extra-cmake-modules dependency
1353f37a5 Make unsupported versions of CMake fail early
539535a36 Specify maximum version of CMake known to work
73ef5f0ab Update CODEOWNERS for move to SCSS
58df92aca Use consistent indentation for Doxygen custom stylesheet
96f9f5c4b Migrate to Sass for Doxygen custom stylesheets
1ed148983 Fix typo in GLFWwindowmaximizefun documentation
bb1d917c2 Improve docs scaling on mobile and small screens
59196f9ad Make old debug context hint/attrib name searchable
9d7897f96 Support interprocedural optimization override
b3a79103a Move Wayland build CI to focal
b9dfce007 Fix formatting in transition guide
7765451d0 Formatting
cd0dc76c7 Null: Fix out parameters not being set
da26eefc6 Update changelog
b488c3f87 Make _glfwPlatformInitJoysticks() return the correct type in null_joystick
05dd2fa29 Win32: Disable fb transparency when it is broken
a2674a903 Cocoa: Fix potential leak of CFNumber object
0cc13ceaf Return NULL instead of GLFW_FALSE where appropriate
c01acc267 X11: Fix joystick detection before joystick init
e0f7ce402 Documentation fix
f771d4129 Cleanup
782e6b6ce Make joystick platform code init on demand
f760b124c Wayland: Fix scroll offsets being inverted
5f60c22cf Wayland: Fix partial framebuffer size retrieval
5c92cd9f5 Make windows test a tolerable example
686e18fd7 Remove window opacity test
3207fc712 Add window property test
74b9f309a Update Nuklear to 4.01.3
a122d9130 Documentation work for GLFW_MOUSE_PASSTHROUGH
dfeacee00 Move mouse passthrough before window showing
1095a4370 Remove no-op call at window creation
6d2003d07 Move management of shared state to shared code
7da3e52c8 Win32: Fix GLFW_MOUSE_PASSTHROUGH dropping events
68e4261d7 X11: Include X Shape extension headers
e81d38125 X11: Fix disabling of GLFW_MOUSE_PASSTHROUGH
d285a9fde Add support for mouse input transparency
6c031af24 Null: Fix typos in workarea retrieval
49dbcfcb8 X11: Fix cursor hover query retry behavior
ceb20c7f9 X11: Fix race in window hovered query
4ae93e054 X11: Remove non-UTF-8 fallback paths
9a3664b4a X11: Fix detection of key events duplicated by XIM
6ce207039 Win32: Fix non-BMP Unicode codepoint input
e47832ffc Cocoa: Fix regression in private use area check
ad9eb768c Cocoa: Fix non-BMP Unicode codepoint input
854ce1db4 Fix format of change log entry
f5f060e6b Init hint documentation work
0dea8a444 EGL: Add support for EGL_ANGLE_platform_angle
e6a6a9981 Use stdbool more consistently in glfwinfo
1cecb8beb Move glfwinfo argument processing before glfwInit
36f825032 Add missing entries to new symbols list
b420ca740 Add GLFW_CONTEXT_DEBUG window hint alias
4e3b43383 Re-word docs for GLFW_OPENGL_DEBUG_CONTEXT attrib
8a69a0d7e Re-word docs for OPENGL_DEBUG_CONTEXT hint
2539d0374 Win32: Use helper window DC as EGL native display
bcb855818 Remove EGL and OSMesa struct member macros
aec9fae8f EGL: Add support for EGL_EXT_platform_base
d7f7b0e1b EGL: Replace native handle macros with functions
b66f105f3 Fix typos
bf1c62b26 Remove deprecated sudo key from Travis CI config
3a3c32c6b Add credit
81f475bcc Fix GLU header inclusion being disabled
c1f60ab5d Make compiler specific workarounds more consistent
e47705d8f Move more compiler workarounds to library setup
8369880b5 Only look for OSMesa module if building examples
cfc23cd08 Fix MinGW linker flag tests breaking later tests
69ff0b8ee Refresh Doxygen file with version 1.8.18
e0c77f71f Null: Make platform more conformant
c72da994b Wayland: Fix repeated keys reported to NULL window
399c2a1fa Clarify docs on default GL header inclusion
9a87c2a4b Add feature available/implemented errors
fbf8aae44 Fix typo in header option macro docs
7486e12f8 Add statement to docs for glfwTerminate
105cf32e0 Fix desktop GL header not always being suppressed
a84a30ab6 Win32: Fix VS /W4 compile warnings
250b94cd0 Use the correct type in a for loop
d4f507453 Replace %m conversion specifier with %s and strerror()
91eebe922 Use CALayer instead of NSView for EGLNativeWindowType
51a465ee2 Win32: Remove checks for pre-XP Windows
5f9dfe3d8 X11: Clarify function name and comment
27295b508 Note removal of wl_shell support in release notes
ef5220d6b X11: Clarify code flow for Clang static analysis
a17a1b201 X11: Fix XKB events being passed on to core path
e07925c40 X11: Fix XKB state event bits being overwritten
cf3a03a85 X11: Remove duplicate XKB group initialization
0c403c8ca X11: Fix XKB group event depending on state query
844bc8031 Add null platform to Travis CI
67c720d11 Correct sign in mat4x4_rotate_Y
d7ae90a79 Update community resource links
41a19ed49 Disambiguate Vulkan support reference link
949275bbe Cocoa: Fix call to NSWindow from non-main threads
cab41529d X11: Improve non-XKB fallback for key mapping
318e08d91 X11: Add additional XKB key names for Right Alt
560304e0f X11: Use XKB key name MENU for Menu key
9ecacf1d7 X11: Check XKB key aliases in addition to names
ee45b5864 X11: Fix X keycode ranges for XKB and core
215a05af3 Update changelog and add credit
a41a58a95 X11: Fix function keys mapped to GLFW_KEY_UNKNOWN
e65de2941 X11: Improve window handle race condition
2c8e0512d X11: Filter out Xlib errors from other connections
44b5d0658 X11: Add support for XIM callbacks
350ba7326 Update linmath.h
9516df52a Fix unclear language in build guide
72366ac9a Cocoa: Finish launching NSApp in glfwInit
6aca3e99f Wayland: Remove unused link-time dependency
4381b86b6 X11: Fix CJK IME input when locale CTYPE is "C"
27d19d06c WGL: Remove unused constants
4b8ac11aa Fix rendering race in offscreen example
a0a5cc57d X11: Make libX11 dynamically loaded
0c27ed1d0 X11: Fix setting the clipboard string to itself
d1ae7bac6 Put docs target in GLFW3 folder
40c7e471e Move more non-source template files to CMake dir
76406c789 Mention that xdg-shell is mandatory on Wayland
d973acc12 Update OpenGL bits of build documentation slightly
46c7c1cdf Remove AppVeyor skip commits setting
13479ed27 Update changelog and add credit
a5e5b782c X11: Fix queries crashing if monitor disconnected
65cfe743a Add credit
d862d56ac Fix docs install condition
190673e77 Win32: Add matching comment
789a2bcb3 Win32: Fix scancode when key message only had VK
5f1631cb0 Check scancode before use in glfwGetKeyName
a491b0698 Win32: Use non-async key state for modifier hack
562c17d13 Win32: Fix no Super key release event after Win+V
7da87aaae Cocoa: Add fully dynamic loading of Vulkan loader
15d91801b Cocoa: Select Vulkan surface extension at runtime
c5cb4a253 Cocoa: Add support for VK_EXT_metal_surface
9372ba95f X11: Fix parent window handle initialization
aa5e31356 X11: Fix BadMatch focusing a window on non-EWMH WM
fe57e3c29 X11: Fix no window position events during resize
6b01affd8 Update changelog
bf292f008 Update changelog and add credit
781fbbadb Fix Threads package not located by our config file
5dd207048 Set macOS deployment target in Travis CI build
a3d28ef52 X11: Fix IC event mask not being added to our window
8149a5fc0 X11: Cleanup
74a46dfa0 Use the correct type in a for loop
4ec7daf3e Cocoa: Replace display link with IOKit query
c3ca88055 NSGL: Simulate vsync for occluded windows
54e8e0b09 NSGL: Remove problematic swap interval workaround
b4a8eb9b1 Cocoa: Only create per-monitor display link once
28773a069 Cocoa: Fix undeclared selector warnings
73a8ebb69 X11: Cleanup
4e70c95aa X11: Cleanup
9db156421 X11: Fix updating GLFW_FLOATING on a hidden window
0b652a44d X11: Fix invalid read when clearing GLFW_FLOATING
9b6d68ec7 X11: Fix missing checks for EWMH attention atoms
4837b78ff X11: Fix maximization of hidden windows
bc3be40f2 Enable strict C99 for non-VS compilers
da3f20d86 Win32: Add missing include for wcscmp
fb0028c76 Win32: Enable Unicode mode for all compilers
994c3b4e4 Cocoa: Remove stale GCC workaround
18307467b Gather CMake setup of configuration header
49c5d837b Replace CMake threads variable with modern target
8a5fd0c5a Replace ad-hoc CMake code with DEFINE_SYMBOL
a5ed740d9 Fix use of CMake 3.13 command target_link_options
a264d3298 Replace CMake list variables with target_sources
081484ed3 Fix POSIX conformance issues for clock_gettime
506a6aafd Formatting
a875a536b Cocoa: Fix duplicate conversion of title string
2551829f7 Win32: Add VERSIONINFO resource to GLFW DLL
7e03bce13 Fix typo
ac30ef3e0 Fix typo
a43f54567 Add dependency name hints to CMake error messages
59055d585 Update minimum required CMake version to 3.1
8a1f4940f Remove reference to non-existent CMake variable
5f4a6f689 Gather all macOS specific CMake properties
c016b2685 Remove non-GUI binaries from GUI-only setup
db76abb63 Make target-specific define target-specific
c19419379 Replace CMake generator expression with variable
9dc365f19 Merge GCC/Clang specific CMake blocks
c81def70b Remove unneccessary example target property
197193ac0 Fix source list for Objective-C fix
135d87aa3 Remove inclusion of X11 extension header paths
2fb336268 Shorten name of Info.plist template file
9486ec0c0 Fix source list for -Wdeclaration-after-statement
dff6253ca Add installation of HTML documentation
bc7b19cbd Remove tab character
ce9d12424 Remove command-line options from GUI-only test
f6d44cedf Trust CMake to do the right thing for static libs
d74c18117 Remove dependency on platform header paths
92c70b2a8 Rename CMake variable for GUI-only programs
7dd14a4b2 Fix .gitignore entries for VS with CMake
fa6026924 NSGL: Fix disabling of Retina resolution
6e6805000 Cocoa: Fix pre-window-creation event processing
b3544ca43 Cocoa: Update outdated comment
382943f2b Add Xcode section to .gitignore file
ef6189f34 Wayland: Unset the cursor name on border exit
7dbdd2e6a Add more standard cursors
80fde12fd Wayland: Fix pointing hand cursor shape
a80788c17 Wayland: Don’t update cursor position in the frame
a9f674e71 Wayland: Don’t reload the cursor on every pointer motion
b5d4f24f7 Move CMake uninstall template file to CMake subdir
d861d7bff Update .gitignore file
c42d8f3e5 Cleanup .gitignore file somewhat
50a6270e5 Add initial CODEOWNERS file
b80437946 Add initial GH support file
359758bb5 Add initial .mailmap file
e96dc5d21 X11: Assume 96 DPI if RandR monitor size is zero
2c519709b Cocoa: Fix full screen window iconification
bd452016b Cocoa: Cleanup
bac15f944 Cocoa: Fix multiple methods warning
c819f27ce Cocoa: Process events after window destruction
94cb0347a Cocoa: Add comments for Cocoa symbol macros
953a1c3f8 Cleanup
70a3104c4 Set C standard at 99 for all example targets
bc5523e99 Set C standard at 99 for all test targets
8e288dc94 Win32: Add GLFW_WIN32_KEYBOARD_MENU
de2342945 Add reminder for why events test is not closing
08f01c31a Add gamepad information to events test output
20e522cdf Make events test output only UTF-8 in C locale
c5f1ca3e4 Add canonical build directory to .gitignore
b69fb9903 Remove mappings for GUID used by different devices
c88ee1c9d Win32: Change transparent framebuffer key color
28d850770 Fix order of words in window guide
75294462b X11: Fix content scale fallback value on KDE
5fc4c0130 X11: Fix decoration enabling after window creation
33683ec60 Remove stray characters from hardcoded CFLAGS
04f7f55f0 Cleanup
4d0ae4ffa Fix CMake 3.0 - 3.6 support regression
82978bb3a Documentation work
376897a34 Replace notes for previous releases with links
36c547875 Update changelog
692754a2c Allow AppVeyor to skip pure documentation updates
3a37a0899 Fix -Wextra-semi warnings
7749aac50 Use the correct type in a for loop
1e20218b3 Use HTTPS for Discourse forum
545f40959 Add credit
8f852e083 Enable C99 explicitly with CMake where available
f71b55f83 Clean up monitors tool output
d25248343 Use the correct type for a struct member
1bd0a55aa Add VS 2010 and MinGW to AppVeyor build matrix
3d2540c37 Win32: Cleanup keyboard input flag parsing
3ec8f4a7f Win32: Disable dynamic libgcc for MinGW DLL
243b1bc29 Use the correct type in a for loop
7105ff2df Fix typos
7f0289826 Cocoa: Fix glfwSetWindowSize anchor point
aa8e8ab96 Remove deprecated tags from Doxyfile.in
26aac53e1 Update changelog and add credit
2777f6a75 Fix comparison of video modes of equal area
cbf23e561 Win32: Fix VS static analysis false positive
56ca0cb3b Unify key name string handling
4cc5d2e62 Clarify comment
f764836e5 Fix license copyright year and formatting
2c7ef5b48 Win32: Fix initial state of maximized state cache
711b9694a Win32: Fix GLFW_MAXIMIZED not maximizing window
efda4afb4 Put fix in correct position
65748fb8f Fix Vulkan triangle test segfault on resize
6abad2efd Fix conflict with DEBUG macro defined by Bazel
eecf83c5d Add credit
2e039d927 CMake: remove -DGLFW_DLL on non-Windows targets
b430bc493 Cocoa: Fix internal symbol hiding for dylib
062a1c22b Cocoa: Fix file-local function not declared static
a4d910b4a Documentation work
4f0b8b0dd Win32: Fix cursor enter/position event order
7bd0af308 Add credits
84b13113e Fix typo in glfwGetRequiredInstanceExtensions docs
62b7fe831 Cleanup
773f4495f Win32: Fix symbol redefinition warnings
5bea12221 Update changelog
d232bcfcd Cleanup
36f90800d X11: Query and keep track of Xkb group index
c6b95e3b0 X11: Fix focus events not being filtered
e463e85bb Fix typo
3a5e99e59 Remove unused function in tearing test
3262c2944 Cocoa: Cleanup
1d6215726 Win32: Cleanup pointer test in win32_window.c
1f508530f X11: Let the language initialize XEvent structs
fad9896d3 X11: Clean up EWMH feature detection
0c6b50561 Convert some declarations to C99 style
2db3b9688 Replace some tabs with spaces
d834f01ca Rename legacy Vulkan triangle program
537ea4ccf Explicitly disable inclusion for test and examples
51bb76c7c Improve (?) reference documentation for callbacks
71e6ff386 Enable CMake policy CMP0077 where available
98dde03ce Fix variable dereferencing
e1d9e2ba7 Clarify Doxyfile INPUT value generation
84ec99bb0 Remove pointless comments
d0c3fa900 Win32: Fix non-client actions for disabled cursor
267e06a41 Win32: Remove stale comment
bb6945a18 Clarify difference between time and timer in docs
22a6c02a4 WGL: Add extension function macro aliases
3fd4e79ad WGL: Fix misplaced block comment
56aad76b1 Add C dialect reminders to each source file
feaa53288 Add missing word
e91d0fc49 Clarify triangle-opengl uniform uniform update
3cf7645b9 Documentation work
e4aba7fea Convert triangle-opengl example to 3.3 core
a639d6e63 Rename OpenGL triangle example to triangle-opengl
d44bfe026 Add vertex type and offsetof to OpenGL triangle
f61d0916f Convert OpenGL triangle example to C99
c415c7194 Clean up glfwinfo Vulkan version output
144c98bcb Simplify glfwinfo Vulkan enumerations
fa025d8f8 Convert glfwinfo to C99
700d1f28d Add Vulkan 1.1 support to glfwinfo
0b01d850e NSGL: Remove enforcement of forward-compatible flag
57bf6b2f7 Add credit
ceb16cb5f X11: Fix CMake check for XInput headers
0ccb69085 Add stable release branch to CI
535491c4f Remove cmake from Travis CI package list
7dc36dd7d Format Travis CI inline script for readability
c0eabc594 Add descriptive names for Travis CI jobs
8ee589e43 Disable examples and tests when a subproject
cd290f767 Use CMakeDependentOption for dependent options
a255e7ace Move to the modern CMake project version option
5c5963f1c X11: Only check for headers at build time
090b16bfa X11: Fix CMake not checking for XInput2 headers
42a3e4434 Update changelog and add credit
15af302f7 Fix use of absolute path in INSTALL_INTERFACE
be71147ad Documentation work
ff7d42a55 Update Travis CI build
599fb3de3 Wayland: Remove wl_shell support
a337c5684 Start 3.4
REVERT: 7d5a16ce7 Add missing errors section for glfwGetGamepadName
REVERT: a69648e19 Win32: Handle content scale error on creation
REVERT: e10def6de Win32: Fix bad content scale on monitor disconnect
REVERT: 84c881c1a Cleanup
REVERT: 18d7c241f Add credits and update changelog
REVERT: 628142498 X11: Fix undefined behavior in glfwSetWindowIcon
REVERT: 81d762bf6 Fix docs calling GLFW_CONTEXT_REVISION a hint
REVERT: 486724c43 Update comments for global mutable data
REVERT: 55528e917 Fix source comment typo
REVERT: 689840f2e Add credit
REVERT: c59092619 Add missing error to glfwGetClipboardString docs
REVERT: bfd9eaf09 Fix mappings for gamepads present at init
REVERT: 690243500 Update changelog
REVERT: 6eb24a49d Add credit
REVERT: bec6e7565 Cocoa: Use MACH_PORT_NULL for default IOKit port
REVERT: 19543afbf Start 3.3.6
REVERT: d3b73abba Add missing changelog entries
REVERT: fbdb08c43 Fix some spelling errors in changelog
REVERT: 71316f843 Update changelog and add credit
REVERT: 472d45c07 Cocoa: Fix deprecation of kIOMasterPortDefault
REVERT: 85f37ada6 Move list of contributors to separate file
REVERT: b77a9b1d0 Fix GLFW_INCLUDE_GLEXT being ignored for glcorearb
REVERT: db8585806 Fix context API checks in native access functions
REVERT: ca676357c Win32: Remove timeGetTime fallback for timer
REVERT: 4ea7485fb Remove blank line before the end of some structs
REVERT: 73b6754a6 Document possible native access function errors
REVERT: 2d3ce6eaa Make native access functions verify context API
REVERT: cec0b33ee Remove Doxyfile tags obsoleted by Doxygen 1.9.2
REVERT: 9400bc9f3 Remove potentially incorrect claim
REVERT: 1a7e4da34 Fix docs for Windows monitor size calculation
REVERT: 95df61e5e Cocoa: Fix unresponsive cursor after cursor warp
REVERT: c32fefc6a Cocoa: Fix unresponsive cursor after ungrab
REVERT: 6bb5f5d59 Wayland: Fix cursor offset when shape changes
REVERT: 33ff23dc0 Wayland: Fix some keys not repeating
REVERT: cf70b1069 Remove truism from end of gamepad mapping regexp
REVERT: 0a3fb9940 Simplify CMake if-statement variable references
REVERT: c113c5992 Raise maximum known CMake version to 3.20
REVERT: ffe0795e6 Name parameters for callback function types
REVERT: 1d7339f3f Win32: Fix invalid preprocessor command 'warning'
REVERT: 50b09938e X11: Fix function returning before cleanup
REVERT: 123643df2 Remove unneccessary quotes in CMake conditions
REVERT: ab5f006cf Update comment for msvcrt CMake option
REVERT: 74a8ba26c Simplify parsing of default gamepad mappings
REVERT: 929286ca4 Update gamepad mappings from upstream
REVERT: d3317b493 Add gamepad mapping filtering by backend
REVERT: b3b82cdd7 Add custom target for updating gamepad mappings
REVERT: 20a7962a9 Improve error description for invalid scancodes
REVERT: 44ad29681 Expand list of distro derivatives slightly
REVERT: 1b0eac9c5 Add Fedora package names to compilation guide
REVERT: 65c36563f Update changelog
REVERT: 1e98fc325 Cocoa: Fix macro redefinition warning
REVERT: 545b6c797 Cocoa: Fix MoltenVK layer scale out of sync
REVERT: a7202e234 Cocoa: Remove calls to -update on nil
REVERT: 9a5511b31 Improve library compilation guide somewhat
REVERT: a18f4e50b Add credit
REVERT: 3bf580ad1 realizing "as you would" is platform dependent
REVERT: 014ce9c74 Clarify "as you would" for beginners.
REVERT: 8f0198e82 Remove errors for gamepad element mismatch
REVERT: bd346b64d Consistent subsections in compile guide
REVERT: d61f7225d Wayland: Fix missing constant on FreeBSD
REVERT: 813edfa49 Wayland: Fix case of epollshim find module name
REVERT: b1a8bc5d6 Add missing changelog entry
REVERT: e04cd8283 Add notes on getting the HDC of a window on Win32
REVERT: db34aea14 Fix some documentation URLs still using http:
REVERT: 6518847f4 Update IRC network to Libera.Chat
REVERT: 5ecf2cbdb Add 'latest' branch to all CI builds
REVERT: 45d1f547c Move VS 2019 builds from AppVeyor to GH Actions
REVERT: 4e1aeb899 Add CI dependency still needed by stable branch
REVERT: 8bf39cf1f Migrate from Travis CI to GitHub Actions
REVERT: 45336c110 Fix numeric conversion warnings in example
REVERT: 163fa83fa EGL: Fix creation of single-buffered windows
REVERT: 6769ffcd0 Move single/double-buffer filtering to backends
REVERT: 07c29d1c1 Skip initial buffer swap when single-buffered
REVERT: 508e24c01 Add tracking of single-/double-buffering
REVERT: e756ae1d8 Make monitor and joystick names static strings
REVERT: 020ce9917 Remove claim that EGL is not supported on macOS
REVERT: a149810df Clarify documentation for hints
REVERT: 2a5038e4e Fix header version macro descriptions in docs
REVERT: 728aaccbb Win32: Always define UNICODE and _UNICODE
REVERT: 52b2775c2 Win32: Fix macros being enabled for other backends
REVERT: 30b02dd70 Fix description of video mode ordering in docs
REVERT: 9ef9b1361 Fix hardcoded runtime destination in CMake install
REVERT: 5dd6716ee Win32: Fix compilation with standalone LLVM
REVERT: 3cded29c2 Replace GL_ARB_debug_output in comments
REVERT: 583dcbcc1 Replace GL_ARB_debug_output in context guide
REVERT: bcaf8daa7 Fix grammar in MoltenVK support docs
REVERT: 658744e22 Update USE_MSVC_RUNTIME_LIBRARY_DLL for CMake 3.15
REVERT: 713711f5e Start 3.3.5
REVERT: 814b7929c Add issue number to changelog
REVERT: b39c02b11 Win32: Add warning when option will have no effect
REVERT: 0f46d089e X11: Fix attribs not applied on leaving fullscreen
REVERT: b8202d9ca Start 3.3.4
REVERT: 901d30b97 Update changelog
REVERT: 0c22ebac3 Wayland: Move DPI fallback work to output done
REVERT: 900dda7e8 Win32: Fix content area rescaling on older systems
REVERT: 56230ca17 Win32: Fix full screen windows affected by scaling
REVERT: c6fa2c8cf Cocoa: Fix console apps getting a dock icon
REVERT: 860d9dece Update changelog and add credit
REVERT: 5a15d8a78 Cocoa: Fix install name for installed dylib
REVERT: 827008133 Simplify references in CMake if-statements
REVERT: 15b0c43e2 Cocoa: Unify CG display to NS screen mapping
REVERT: 903c0ebfd Update changelog and add credit
REVERT: 8746f68d6 Cocoa: Use modern API to get display name
REVERT: 14921d1e2 Cocoa: Fix duplicate monitor connection events
REVERT: eda12dd94 Cocoa: Fix menubar for unbundled apps on 10.15
REVERT: 01c362ba3 Update changelog
REVERT: 078e8fcf5 Cocoa: Fix duplicate video mode detection
REVERT: be56132c0 Update repo URL for Nuklear
REVERT: 294b08dcc Add credit
REVERT: cdd5ee8d3 Fix indentation in internal.h
REVERT: 0d7acffd4 Fix minor typo: If if -> If.
REVERT: edb6f674c Add missing changelog issue number
REVERT: b31d7ddc8 Wayland: Fix destroying CSDs in the correct order
REVERT: baf26a6ea Cocoa: Fix ObjC being built as C with CMake 3.19
REVERT: 395ab660d Win32: Filter out duplicate size events
REVERT: 7dee4e05f Win32: Fix clang-cl interpreting -Wall as /Wall
REVERT: e0b336168 Win32: Enable /W3 on VS for library sources
REVERT: 0b56adb72 Remove ignored Clang compiler flag
REVERT: db66a0f02 Add credit
REVERT: 0a16464f5 Update test SPIR-V shader code
REVERT: 5e807a029 Add credit and update changelog
REVERT: 41ad058ce Win32: Fix value for _WIN32_WINNT_WINBLUE
REVERT: 214c76a3a Update changelog
REVERT: c3250be69 Win32: Update all monitor handles on config change
REVERT: e34108048 Update CODEOWNERS for move to SCSS
REVERT: 77dffb341 Use consistent indentation for Doxygen custom stylesheet
REVERT: cb8aee843 Migrate to Sass for Doxygen custom stylesheets
REVERT: bbc4caf04 Fix typo in GLFWwindowmaximizefun documentation
REVERT: c0704e4a6 Improve docs scaling on mobile and small screens
REVERT: 92f80daf4 Support interprocedural optimization override
REVERT: 111c8ecea Move Wayland build CI to focal
REVERT: 7728a6a3a Fix formatting in transition guide
REVERT: 0ab31db9c Formatting
REVERT: 8363179ee Win32: Disable fb transparency when it is broken
REVERT: b8a6254a2 Cocoa: Fix potential leak of CFNumber object
REVERT: 2a5ac9a6d Documentation fix
REVERT: 114704262 Wayland: Fix scroll offsets being inverted
REVERT: bd2fb9eba Wayland: Fix partial framebuffer size retrieval
REVERT: 85a169ff5 X11: Fix cursor hover query retry behavior
REVERT: 539f4bdca X11: Fix race in window hovered query
REVERT: 606c0fc03 X11: Fix detection of key events duplicated by XIM
REVERT: d858e4886 Win32: Fix non-BMP Unicode codepoint input
REVERT: e6646c850 Cocoa: Fix regression in private use area check
REVERT: 9cae95faa Cocoa: Fix non-BMP Unicode codepoint input
REVERT: 26aaa007e Fix format of change log entry
REVERT: f921caf4a Re-word docs for GLFW_OPENGL_DEBUG_CONTEXT attrib
REVERT: 9aefb6735 Re-word docs for OPENGL_DEBUG_CONTEXT hint
REVERT: 173018497 Fix typos
REVERT: 325b4186d Remove deprecated sudo key from Travis CI config
REVERT: 92c620953 Add credit
REVERT: 307ce3aa1 Fix GLU header inclusion being disabled
REVERT: d7b67a2eb Fix MinGW linker flag tests breaking later tests
REVERT: 5dbca2e2c Wayland: Fix repeated keys reported to NULL window
REVERT: 63af05c41 Clarify docs on default GL header inclusion
REVERT: e336288ee Fix typo in header option macro docs
REVERT: fb0c8d466 Add statement to docs for glfwTerminate
REVERT: 78ad4e8f3 Fix desktop GL header not always being suppressed
REVERT: 37a86f24f Win32: Fix VS /W4 compile warnings
REVERT: 11e5102d8 Use the correct type in a for loop
REVERT: a8e5c530e Replace %m conversion specifier with %s and strerror()
REVERT: 8b63ca53d Use CALayer instead of NSView for EGLNativeWindowType
REVERT: ca2cd2f79 X11: Clarify function name and comment
REVERT: 0a7c24e48 X11: Clarify code flow for Clang static analysis
REVERT: 48bc089e9 X11: Fix XKB events being passed on to core path
REVERT: 3df4ebeaa X11: Fix XKB state event bits being overwritten
REVERT: dff64496d X11: Remove duplicate XKB group initialization
REVERT: 117f7694b X11: Fix XKB group event depending on state query
REVERT: d0c099752 Add null platform to Travis CI
REVERT: e145d89a9 Correct sign in mat4x4_rotate_Y
REVERT: 10c01512f Update community resource links
REVERT: 8216a148c Disambiguate Vulkan support reference link
REVERT: 6e01359e3 Cocoa: Fix call to NSWindow from non-main threads
REVERT: 404c28df3 X11: Improve non-XKB fallback for key mapping
REVERT: b0c79896a X11: Add additional XKB key names for Right Alt
REVERT: 4aaf8ba1d X11: Use XKB key name MENU for Menu key
REVERT: cf87e6549 X11: Check XKB key aliases in addition to names
REVERT: 27d7fc098 X11: Fix X keycode ranges for XKB and core
REVERT: ec5610ded Update changelog and add credit
REVERT: b25ee390c X11: Fix function keys mapped to GLFW_KEY_UNKNOWN
REVERT: a6d022c25 X11: Improve window handle race condition
REVERT: 2d4c4b794 X11: Filter out Xlib errors from other connections
REVERT: aee62d3c1 Fix unclear language in build guide
REVERT: c4b4476d7 Wayland: Remove unused link-time dependency
REVERT: 0ac013381 X11: Fix CJK IME input when locale CTYPE is "C"
REVERT: d99249337 WGL: Remove unused constants
REVERT: 750b1c536 Fix rendering race in offscreen example
REVERT: 1d711057a X11: Fix setting the clipboard string to itself
REVERT: 3604cc72f Put docs target in GLFW3 folder
REVERT: 64c7aa50d Start 3.3.3
REVERT: 0a49ef0a0 Update OpenGL bits of build documentation slightly
REVERT: b1d4b6a59 Remove AppVeyor skip commits setting
REVERT: ad12b97ac Update changelog and add credit
REVERT: 835dc3d32 X11: Fix queries crashing if monitor disconnected
REVERT: 6a9fd2e13 Win32: Add matching comment
REVERT: e53538010 Win32: Fix scancode when key message only had VK
REVERT: ec2869699 Check scancode before use in glfwGetKeyName
REVERT: 0af3bf3b3 Win32: Use non-async key state for modifier hack
REVERT: 8552152f8 Win32: Fix no Super key release event after Win+V
REVERT: 85172703d Cocoa: Add fully dynamic loading of Vulkan loader
REVERT: d33084447 Cocoa: Select Vulkan surface extension at runtime
REVERT: 50f3979df Cocoa: Add support for VK_EXT_metal_surface
REVERT: 977e2b51b Update changelog
REVERT: fbe8ae993 X11: Fix parent window handle initialization
REVERT: 487e0419a X11: Fix BadMatch focusing a window on non-EWMH WM
REVERT: 093846261 Start 3.3.2
REVERT: ecda86fa4 X11: Fix no window position events during resize
REVERT: 359f0e103 Update changelog and add credit
REVERT: 821873974 Set macOS deployment target in Travis CI build
REVERT: e8d4cc327 X11: Fix IC event mask not being added to our window
REVERT: 7f775302a X11: Cleanup
REVERT: cb49e1821 Use the correct type in a for loop
REVERT: 9fc5fd137 Cocoa: Replace display link with IOKit query
REVERT: bb8ed627b NSGL: Simulate vsync for occluded windows
REVERT: ccb54c3e0 NSGL: Remove problematic swap interval workaround
REVERT: 7c9d0081e Cocoa: Only create per-monitor display link once
REVERT: c3b8afc5d X11: Cleanup
REVERT: 4df0a2b38 X11: Cleanup
REVERT: 94bb2a138 X11: Fix updating GLFW_FLOATING on a hidden window
REVERT: 85a27e9f7 X11: Fix invalid read when clearing GLFW_FLOATING
REVERT: 5615c1643 X11: Fix missing checks for EWMH attention atoms
REVERT: 8dd40f1c4 X11: Fix maximization of hidden windows
REVERT: 640e3205a Win32: Add missing include for wcscmp
REVERT: dd00c6dea Win32: Enable Unicode mode for all compilers
REVERT: e8dab3962 Fix use of CMake 3.13 command target_link_options
REVERT: 9724f3303 Formatting
REVERT: 8c3d2f769 Cocoa: Fix duplicate conversion of title string
REVERT: 2b1e2d2e4 Fix typo
REVERT: 39c5e90d9 Fix typo
REVERT: 365321a9a Add dependency name hints to CMake error messages
REVERT: d8648876d Remove reference to non-existent CMake variable
REVERT: bf9c5fcfc Gather all macOS specific CMake properties
REVERT: f25202fbf Remove non-GUI binaries from GUI-only setup
REVERT: b5bccd142 Make target-specific define target-specific
REVERT: 03f2cde34 Replace CMake generator expression with variable
REVERT: cd70e1bbc Merge GCC/Clang specific CMake blocks
REVERT: f318ab746 Remove unneccessary example target property
REVERT: db2ff13d4 Fix source list for Objective-C fix
REVERT: 82bd22ec2 Fix source list for -Wdeclaration-after-statement
REVERT: bcd232e2a Remove tab character
REVERT: f650a898f Trust CMake to do the right thing for static libs
REVERT: 8c1b59f88 Remove dependency on platform header paths
REVERT: 5a1512aaa Rename CMake variable for GUI-only programs
REVERT: b05d88796 Fix .gitignore entries for VS with CMake
REVERT: e135210cb NSGL: Fix disabling of Retina resolution
REVERT: 2da4adce4 Cocoa: Fix pre-window-creation event processing
REVERT: 17d727cd3 Cocoa: Update outdated comment
REVERT: 58c162148 Add Xcode section to .gitignore file
REVERT: 9db0bd45e Wayland: Unset the cursor name on border exit
REVERT: df4bda44f Wayland: Fix pointing hand cursor shape
REVERT: 50218fbf7 Wayland: Don’t update cursor position in the frame
REVERT: 3a2c0aaa2 Wayland: Don’t reload the cursor on every pointer motion
REVERT: 2bac7ee8d Update .gitignore file
REVERT: 4116db14f Cleanup .gitignore file somewhat
REVERT: e3c83f684 Add initial CODEOWNERS file
REVERT: 0ecc84182 Add initial GH support file
REVERT: b4cc6101e Add initial .mailmap file
REVERT: 7c33fb22f X11: Assume 96 DPI if RandR monitor size is zero
REVERT: 52b77030e Cocoa: Fix full screen window iconification
REVERT: e66249216 Cocoa: Cleanup
REVERT: b3c2023eb Cocoa: Fix multiple methods warning
REVERT: 129a5ccb1 Cocoa: Process events after window destruction
REVERT: 25af31528 Cocoa: Add comments for Cocoa symbol macros
REVERT: 5ea34d62b Cleanup
REVERT: 7a10e6439 Set C standard at 99 for all example targets
REVERT: 8c46a3e9f Set C standard at 99 for all test targets
REVERT: 82effcb7b Make events test output only UTF-8 in C locale
REVERT: 11db404fa Add canonical build directory to .gitignore
REVERT: 5f7e5cb92 Remove mappings for GUID used by different devices
REVERT: c5a870ebd Win32: Change transparent framebuffer key color
REVERT: 3484aa818 Fix order of words in window guide
REVERT: 399c08203 X11: Fix content scale fallback value on KDE
REVERT: 1bf892f60 X11: Fix decoration enabling after window creation
REVERT: f9a9bb674 Remove stray characters from hardcoded CFLAGS
REVERT: 91c6a542f Cleanup
REVERT: 411d4dd51 Fix CMake 3.0 - 3.6 support regression
REVERT: 161e9e121 Update changelog
REVERT: 3a8d97cc3 Allow AppVeyor to skip pure documentation updates
REVERT: afcefcb5f Fix -Wextra-semi warnings
REVERT: 8c69091c5 Use the correct type in a for loop
REVERT: 857951419 Use HTTPS for Discourse forum
REVERT: 17f1cceb3 Add credit
REVERT: 3f0390b82 Enable C99 explicitly with CMake where available
REVERT: 4a6282064 Clean up monitors tool output
REVERT: 3facbd208 Use the correct type for a struct member
REVERT: e4e958155 Add VS 2010 and MinGW to AppVeyor build matrix
REVERT: 087110aa6 Win32: Cleanup keyboard input flag parsing
REVERT: e30718e92 Win32: Disable dynamic libgcc for MinGW DLL
REVERT: 613b16989 Use the correct type in a for loop
REVERT: 13a4e4e81 Fix typos
REVERT: a1b65e854 Cocoa: Fix glfwSetWindowSize anchor point
REVERT: 649553cc7 Remove deprecated tags from Doxyfile.in
REVERT: 934f0e9ff Update changelog and add credit
REVERT: b2919dca4 Fix comparison of video modes of equal area
REVERT: 71cfafe2f Win32: Fix VS static analysis false positive
REVERT: 79f4ec682 Unify key name string handling
REVERT: 2032a8f0d Clarify comment
REVERT: c0d1249ca Fix license copyright year and formatting
REVERT: 2d3f38815 Win32: Fix initial state of maximized state cache
REVERT: 30e67357b Win32: Fix GLFW_MAXIMIZED not maximizing window
REVERT: 116f4c831 Put fix in correct position
REVERT: 1e8dc836a Fix Vulkan triangle test segfault on resize
REVERT: adcd306fb Fix conflict with DEBUG macro defined by Bazel
REVERT: b1309dd42 Add credit
REVERT: d25e19b79 CMake: remove -DGLFW_DLL on non-Windows targets
REVERT: 1daf9de40 Cocoa: Fix internal symbol hiding for dylib
REVERT: cfd93597e Cocoa: Fix file-local function not declared static
REVERT: 8e923e592 Documentation work
REVERT: 9fc035a56 Win32: Fix cursor enter/position event order
REVERT: ce7cd3e28 Add credits
REVERT: 452a648ab Fix typo in glfwGetRequiredInstanceExtensions docs
REVERT: 75b415c5b Cleanup
REVERT: 248e82767 Win32: Fix symbol redefinition warnings
REVERT: 95e7ad7e5 Update changelog
REVERT: ff2c00091 Cleanup
REVERT: b3eb6dd38 X11: Query and keep track of Xkb group index
REVERT: 84fa72445 X11: Fix focus events not being filtered
REVERT: 633ba53f2 Fix typo
REVERT: 898b7f9c5 Remove unused function in tearing test
REVERT: eb466a0e0 Cocoa: Cleanup
REVERT: 8542f8dd8 Win32: Cleanup pointer test in win32_window.c
REVERT: 1e1265334 X11: Let the language initialize XEvent structs
REVERT: e276f6731 X11: Clean up EWMH feature detection
REVERT: 66e06b060 Convert some declarations to C99 style
REVERT: 71a4f2d8a Replace some tabs with spaces
REVERT: 7b18f79ea Rename legacy Vulkan triangle program
REVERT: f2208ab13 Explicitly disable inclusion for test and examples
REVERT: b962ef124 Improve (?) reference documentation for callbacks
REVERT: 5416e347a Enable CMake policy CMP0077 where available
REVERT: 16186943b Clarify Doxyfile INPUT value generation
REVERT: b436d8e3e Remove pointless comments
REVERT: ad3e7c7f3 Win32: Fix non-client actions for disabled cursor
REVERT: 15f078c6a Win32: Remove stale comment
REVERT: e01128f32 Clarify difference between time and timer in docs
REVERT: 051424f19 WGL: Add extension function macro aliases
REVERT: 97393223e WGL: Fix misplaced block comment
REVERT: 04522580a Add C dialect reminders to each source file
REVERT: d2634896d Add missing word
REVERT: 3afb2cc8e Documentation work
REVERT: 9f5c6c6e8 Add Vulkan 1.1 support to glfwinfo
REVERT: 4d99045e8 Add credit
REVERT: b383e7002 X11: Fix CMake check for XInput headers
REVERT: 645b8c3bb Add stable release branch to CI
REVERT: 80935c6c2 Remove cmake from Travis CI package list
REVERT: 73a3ef86d Format Travis CI inline script for readability
REVERT: d715917ad Add descriptive names for Travis CI jobs
REVERT: b596c7901 Use CMakeDependentOption for dependent options
REVERT: bc8b567d7 Move to the modern CMake project version option
REVERT: 37cc51b82 X11: Only check for headers at build time
REVERT: 9cc83cf07 X11: Fix CMake not checking for XInput2 headers
REVERT: e826f839a Update changelog and add credit
REVERT: 2e3b4cf89 Fix use of absolute path in INSTALL_INTERFACE
REVERT: 6648b3d4b Documentation work
REVERT: 76505355e Update Travis CI build
REVERT: a9343d641 Start 3.3.1

git-subtree-dir: deps/glfw
git-subtree-split: 7b6aead9fb88b3623e3b3725ebb42670cbe4c579
2024-05-31 19:26:05 -05:00

1371 lines
59 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8"?>
<protocol name="xdg_shell">
<copyright>
Copyright © 2008-2013 Kristian Høgsberg
Copyright © 2013 Rafael Antognolli
Copyright © 2013 Jasper St. Pierre
Copyright © 2010-2013 Intel Corporation
Copyright © 2015-2017 Samsung Electronics Co., Ltd
Copyright © 2015-2017 Red Hat Inc.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice (including the next
paragraph) shall be included in all copies or substantial portions of the
Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
</copyright>
<interface name="xdg_wm_base" version="6">
<description summary="create desktop-style surfaces">
The xdg_wm_base interface is exposed as a global object enabling clients
to turn their wl_surfaces into windows in a desktop environment. It
defines the basic functionality needed for clients and the compositor to
create windows that can be dragged, resized, maximized, etc, as well as
creating transient windows such as popup menus.
</description>
<enum name="error">
<entry name="role" value="0" summary="given wl_surface has another role"/>
<entry name="defunct_surfaces" value="1"
summary="xdg_wm_base was destroyed before children"/>
<entry name="not_the_topmost_popup" value="2"
summary="the client tried to map or destroy a non-topmost popup"/>
<entry name="invalid_popup_parent" value="3"
summary="the client specified an invalid popup parent surface"/>
<entry name="invalid_surface_state" value="4"
summary="the client provided an invalid surface state"/>
<entry name="invalid_positioner" value="5"
summary="the client provided an invalid positioner"/>
<entry name="unresponsive" value="6"
summary="the client didnt respond to a ping event in time"/>
</enum>
<request name="destroy" type="destructor">
<description summary="destroy xdg_wm_base">
Destroy this xdg_wm_base object.
Destroying a bound xdg_wm_base object while there are surfaces
still alive created by this xdg_wm_base object instance is illegal
and will result in a defunct_surfaces error.
</description>
</request>
<request name="create_positioner">
<description summary="create a positioner object">
Create a positioner object. A positioner object is used to position
surfaces relative to some parent surface. See the interface description
and xdg_surface.get_popup for details.
</description>
<arg name="id" type="new_id" interface="xdg_positioner"/>
</request>
<request name="get_xdg_surface">
<description summary="create a shell surface from a surface">
This creates an xdg_surface for the given surface. While xdg_surface
itself is not a role, the corresponding surface may only be assigned
a role extending xdg_surface, such as xdg_toplevel or xdg_popup. It is
illegal to create an xdg_surface for a wl_surface which already has an
assigned role and this will result in a role error.
This creates an xdg_surface for the given surface. An xdg_surface is
used as basis to define a role to a given surface, such as xdg_toplevel
or xdg_popup. It also manages functionality shared between xdg_surface
based surface roles.
See the documentation of xdg_surface for more details about what an
xdg_surface is and how it is used.
</description>
<arg name="id" type="new_id" interface="xdg_surface"/>
<arg name="surface" type="object" interface="wl_surface"/>
</request>
<request name="pong">
<description summary="respond to a ping event">
A client must respond to a ping event with a pong request or
the client may be deemed unresponsive. See xdg_wm_base.ping
and xdg_wm_base.error.unresponsive.
</description>
<arg name="serial" type="uint" summary="serial of the ping event"/>
</request>
<event name="ping">
<description summary="check if the client is alive">
The ping event asks the client if it's still alive. Pass the
serial specified in the event back to the compositor by sending
a "pong" request back with the specified serial. See xdg_wm_base.pong.
Compositors can use this to determine if the client is still
alive. It's unspecified what will happen if the client doesn't
respond to the ping request, or in what timeframe. Clients should
try to respond in a reasonable amount of time. The “unresponsive”
error is provided for compositors that wish to disconnect unresponsive
clients.
A compositor is free to ping in any way it wants, but a client must
always respond to any xdg_wm_base object it created.
</description>
<arg name="serial" type="uint" summary="pass this to the pong request"/>
</event>
</interface>
<interface name="xdg_positioner" version="6">
<description summary="child surface positioner">
The xdg_positioner provides a collection of rules for the placement of a
child surface relative to a parent surface. Rules can be defined to ensure
the child surface remains within the visible area's borders, and to
specify how the child surface changes its position, such as sliding along
an axis, or flipping around a rectangle. These positioner-created rules are
constrained by the requirement that a child surface must intersect with or
be at least partially adjacent to its parent surface.
See the various requests for details about possible rules.
At the time of the request, the compositor makes a copy of the rules
specified by the xdg_positioner. Thus, after the request is complete the
xdg_positioner object can be destroyed or reused; further changes to the
object will have no effect on previous usages.
For an xdg_positioner object to be considered complete, it must have a
non-zero size set by set_size, and a non-zero anchor rectangle set by
set_anchor_rect. Passing an incomplete xdg_positioner object when
positioning a surface raises an invalid_positioner error.
</description>
<enum name="error">
<entry name="invalid_input" value="0" summary="invalid input provided"/>
</enum>
<request name="destroy" type="destructor">
<description summary="destroy the xdg_positioner object">
Notify the compositor that the xdg_positioner will no longer be used.
</description>
</request>
<request name="set_size">
<description summary="set the size of the to-be positioned rectangle">
Set the size of the surface that is to be positioned with the positioner
object. The size is in surface-local coordinates and corresponds to the
window geometry. See xdg_surface.set_window_geometry.
If a zero or negative size is set the invalid_input error is raised.
</description>
<arg name="width" type="int" summary="width of positioned rectangle"/>
<arg name="height" type="int" summary="height of positioned rectangle"/>
</request>
<request name="set_anchor_rect">
<description summary="set the anchor rectangle within the parent surface">
Specify the anchor rectangle within the parent surface that the child
surface will be placed relative to. The rectangle is relative to the
window geometry as defined by xdg_surface.set_window_geometry of the
parent surface.
When the xdg_positioner object is used to position a child surface, the
anchor rectangle may not extend outside the window geometry of the
positioned child's parent surface.
If a negative size is set the invalid_input error is raised.
</description>
<arg name="x" type="int" summary="x position of anchor rectangle"/>
<arg name="y" type="int" summary="y position of anchor rectangle"/>
<arg name="width" type="int" summary="width of anchor rectangle"/>
<arg name="height" type="int" summary="height of anchor rectangle"/>
</request>
<enum name="anchor">
<entry name="none" value="0"/>
<entry name="top" value="1"/>
<entry name="bottom" value="2"/>
<entry name="left" value="3"/>
<entry name="right" value="4"/>
<entry name="top_left" value="5"/>
<entry name="bottom_left" value="6"/>
<entry name="top_right" value="7"/>
<entry name="bottom_right" value="8"/>
</enum>
<request name="set_anchor">
<description summary="set anchor rectangle anchor">
Defines the anchor point for the anchor rectangle. The specified anchor
is used derive an anchor point that the child surface will be
positioned relative to. If a corner anchor is set (e.g. 'top_left' or
'bottom_right'), the anchor point will be at the specified corner;
otherwise, the derived anchor point will be centered on the specified
edge, or in the center of the anchor rectangle if no edge is specified.
</description>
<arg name="anchor" type="uint" enum="anchor"
summary="anchor"/>
</request>
<enum name="gravity">
<entry name="none" value="0"/>
<entry name="top" value="1"/>
<entry name="bottom" value="2"/>
<entry name="left" value="3"/>
<entry name="right" value="4"/>
<entry name="top_left" value="5"/>
<entry name="bottom_left" value="6"/>
<entry name="top_right" value="7"/>
<entry name="bottom_right" value="8"/>
</enum>
<request name="set_gravity">
<description summary="set child surface gravity">
Defines in what direction a surface should be positioned, relative to
the anchor point of the parent surface. If a corner gravity is
specified (e.g. 'bottom_right' or 'top_left'), then the child surface
will be placed towards the specified gravity; otherwise, the child
surface will be centered over the anchor point on any axis that had no
gravity specified. If the gravity is not in the gravity enum, an
invalid_input error is raised.
</description>
<arg name="gravity" type="uint" enum="gravity"
summary="gravity direction"/>
</request>
<enum name="constraint_adjustment" bitfield="true">
<description summary="constraint adjustments">
The constraint adjustment value define ways the compositor will adjust
the position of the surface, if the unadjusted position would result
in the surface being partly constrained.
Whether a surface is considered 'constrained' is left to the compositor
to determine. For example, the surface may be partly outside the
compositor's defined 'work area', thus necessitating the child surface's
position be adjusted until it is entirely inside the work area.
The adjustments can be combined, according to a defined precedence: 1)
Flip, 2) Slide, 3) Resize.
</description>
<entry name="none" value="0">
<description summary="don't move the child surface when constrained">
Don't alter the surface position even if it is constrained on some
axis, for example partially outside the edge of an output.
</description>
</entry>
<entry name="slide_x" value="1">
<description summary="move along the x axis until unconstrained">
Slide the surface along the x axis until it is no longer constrained.
First try to slide towards the direction of the gravity on the x axis
until either the edge in the opposite direction of the gravity is
unconstrained or the edge in the direction of the gravity is
constrained.
Then try to slide towards the opposite direction of the gravity on the
x axis until either the edge in the direction of the gravity is
unconstrained or the edge in the opposite direction of the gravity is
constrained.
</description>
</entry>
<entry name="slide_y" value="2">
<description summary="move along the y axis until unconstrained">
Slide the surface along the y axis until it is no longer constrained.
First try to slide towards the direction of the gravity on the y axis
until either the edge in the opposite direction of the gravity is
unconstrained or the edge in the direction of the gravity is
constrained.
Then try to slide towards the opposite direction of the gravity on the
y axis until either the edge in the direction of the gravity is
unconstrained or the edge in the opposite direction of the gravity is
constrained.
</description>
</entry>
<entry name="flip_x" value="4">
<description summary="invert the anchor and gravity on the x axis">
Invert the anchor and gravity on the x axis if the surface is
constrained on the x axis. For example, if the left edge of the
surface is constrained, the gravity is 'left' and the anchor is
'left', change the gravity to 'right' and the anchor to 'right'.
If the adjusted position also ends up being constrained, the resulting
position of the flip_x adjustment will be the one before the
adjustment.
</description>
</entry>
<entry name="flip_y" value="8">
<description summary="invert the anchor and gravity on the y axis">
Invert the anchor and gravity on the y axis if the surface is
constrained on the y axis. For example, if the bottom edge of the
surface is constrained, the gravity is 'bottom' and the anchor is
'bottom', change the gravity to 'top' and the anchor to 'top'.
The adjusted position is calculated given the original anchor
rectangle and offset, but with the new flipped anchor and gravity
values.
If the adjusted position also ends up being constrained, the resulting
position of the flip_y adjustment will be the one before the
adjustment.
</description>
</entry>
<entry name="resize_x" value="16">
<description summary="horizontally resize the surface">
Resize the surface horizontally so that it is completely
unconstrained.
</description>
</entry>
<entry name="resize_y" value="32">
<description summary="vertically resize the surface">
Resize the surface vertically so that it is completely unconstrained.
</description>
</entry>
</enum>
<request name="set_constraint_adjustment">
<description summary="set the adjustment to be done when constrained">
Specify how the window should be positioned if the originally intended
position caused the surface to be constrained, meaning at least
partially outside positioning boundaries set by the compositor. The
adjustment is set by constructing a bitmask describing the adjustment to
be made when the surface is constrained on that axis.
If no bit for one axis is set, the compositor will assume that the child
surface should not change its position on that axis when constrained.
If more than one bit for one axis is set, the order of how adjustments
are applied is specified in the corresponding adjustment descriptions.
The default adjustment is none.
</description>
<arg name="constraint_adjustment" type="uint"
summary="bit mask of constraint adjustments"/>
</request>
<request name="set_offset">
<description summary="set surface position offset">
Specify the surface position offset relative to the position of the
anchor on the anchor rectangle and the anchor on the surface. For
example if the anchor of the anchor rectangle is at (x, y), the surface
has the gravity bottom|right, and the offset is (ox, oy), the calculated
surface position will be (x + ox, y + oy). The offset position of the
surface is the one used for constraint testing. See
set_constraint_adjustment.
An example use case is placing a popup menu on top of a user interface
element, while aligning the user interface element of the parent surface
with some user interface element placed somewhere in the popup surface.
</description>
<arg name="x" type="int" summary="surface position x offset"/>
<arg name="y" type="int" summary="surface position y offset"/>
</request>
<!-- Version 3 additions -->
<request name="set_reactive" since="3">
<description summary="continuously reconstrain the surface">
When set reactive, the surface is reconstrained if the conditions used
for constraining changed, e.g. the parent window moved.
If the conditions changed and the popup was reconstrained, an
xdg_popup.configure event is sent with updated geometry, followed by an
xdg_surface.configure event.
</description>
</request>
<request name="set_parent_size" since="3">
<description summary="">
Set the parent window geometry the compositor should use when
positioning the popup. The compositor may use this information to
determine the future state the popup should be constrained using. If
this doesn't match the dimension of the parent the popup is eventually
positioned against, the behavior is undefined.
The arguments are given in the surface-local coordinate space.
</description>
<arg name="parent_width" type="int"
summary="future window geometry width of parent"/>
<arg name="parent_height" type="int"
summary="future window geometry height of parent"/>
</request>
<request name="set_parent_configure" since="3">
<description summary="set parent configure this is a response to">
Set the serial of an xdg_surface.configure event this positioner will be
used in response to. The compositor may use this information together
with set_parent_size to determine what future state the popup should be
constrained using.
</description>
<arg name="serial" type="uint"
summary="serial of parent configure event"/>
</request>
</interface>
<interface name="xdg_surface" version="6">
<description summary="desktop user interface surface base interface">
An interface that may be implemented by a wl_surface, for
implementations that provide a desktop-style user interface.
It provides a base set of functionality required to construct user
interface elements requiring management by the compositor, such as
toplevel windows, menus, etc. The types of functionality are split into
xdg_surface roles.
Creating an xdg_surface does not set the role for a wl_surface. In order
to map an xdg_surface, the client must create a role-specific object
using, e.g., get_toplevel, get_popup. The wl_surface for any given
xdg_surface can have at most one role, and may not be assigned any role
not based on xdg_surface.
A role must be assigned before any other requests are made to the
xdg_surface object.
The client must call wl_surface.commit on the corresponding wl_surface
for the xdg_surface state to take effect.
Creating an xdg_surface from a wl_surface which has a buffer attached or
committed is a client error, and any attempts by a client to attach or
manipulate a buffer prior to the first xdg_surface.configure call must
also be treated as errors.
After creating a role-specific object and setting it up, the client must
perform an initial commit without any buffer attached. The compositor
will reply with initial wl_surface state such as
wl_surface.preferred_buffer_scale followed by an xdg_surface.configure
event. The client must acknowledge it and is then allowed to attach a
buffer to map the surface.
Mapping an xdg_surface-based role surface is defined as making it
possible for the surface to be shown by the compositor. Note that
a mapped surface is not guaranteed to be visible once it is mapped.
For an xdg_surface to be mapped by the compositor, the following
conditions must be met:
(1) the client has assigned an xdg_surface-based role to the surface
(2) the client has set and committed the xdg_surface state and the
role-dependent state to the surface
(3) the client has committed a buffer to the surface
A newly-unmapped surface is considered to have met condition (1) out
of the 3 required conditions for mapping a surface if its role surface
has not been destroyed, i.e. the client must perform the initial commit
again before attaching a buffer.
</description>
<enum name="error">
<entry name="not_constructed" value="1"
summary="Surface was not fully constructed"/>
<entry name="already_constructed" value="2"
summary="Surface was already constructed"/>
<entry name="unconfigured_buffer" value="3"
summary="Attaching a buffer to an unconfigured surface"/>
<entry name="invalid_serial" value="4"
summary="Invalid serial number when acking a configure event"/>
<entry name="invalid_size" value="5"
summary="Width or height was zero or negative"/>
<entry name="defunct_role_object" value="6"
summary="Surface was destroyed before its role object"/>
</enum>
<request name="destroy" type="destructor">
<description summary="destroy the xdg_surface">
Destroy the xdg_surface object. An xdg_surface must only be destroyed
after its role object has been destroyed, otherwise
a defunct_role_object error is raised.
</description>
</request>
<request name="get_toplevel">
<description summary="assign the xdg_toplevel surface role">
This creates an xdg_toplevel object for the given xdg_surface and gives
the associated wl_surface the xdg_toplevel role.
See the documentation of xdg_toplevel for more details about what an
xdg_toplevel is and how it is used.
</description>
<arg name="id" type="new_id" interface="xdg_toplevel"/>
</request>
<request name="get_popup">
<description summary="assign the xdg_popup surface role">
This creates an xdg_popup object for the given xdg_surface and gives
the associated wl_surface the xdg_popup role.
If null is passed as a parent, a parent surface must be specified using
some other protocol, before committing the initial state.
See the documentation of xdg_popup for more details about what an
xdg_popup is and how it is used.
</description>
<arg name="id" type="new_id" interface="xdg_popup"/>
<arg name="parent" type="object" interface="xdg_surface" allow-null="true"/>
<arg name="positioner" type="object" interface="xdg_positioner"/>
</request>
<request name="set_window_geometry">
<description summary="set the new window geometry">
The window geometry of a surface is its "visible bounds" from the
user's perspective. Client-side decorations often have invisible
portions like drop-shadows which should be ignored for the
purposes of aligning, placing and constraining windows.
The window geometry is double buffered, and will be applied at the
time wl_surface.commit of the corresponding wl_surface is called.
When maintaining a position, the compositor should treat the (x, y)
coordinate of the window geometry as the top left corner of the window.
A client changing the (x, y) window geometry coordinate should in
general not alter the position of the window.
Once the window geometry of the surface is set, it is not possible to
unset it, and it will remain the same until set_window_geometry is
called again, even if a new subsurface or buffer is attached.
If never set, the value is the full bounds of the surface,
including any subsurfaces. This updates dynamically on every
commit. This unset is meant for extremely simple clients.
The arguments are given in the surface-local coordinate space of
the wl_surface associated with this xdg_surface, and may extend outside
of the wl_surface itself to mark parts of the subsurface tree as part of
the window geometry.
When applied, the effective window geometry will be the set window
geometry clamped to the bounding rectangle of the combined
geometry of the surface of the xdg_surface and the associated
subsurfaces.
The effective geometry will not be recalculated unless a new call to
set_window_geometry is done and the new pending surface state is
subsequently applied.
The width and height of the effective window geometry must be
greater than zero. Setting an invalid size will raise an
invalid_size error.
</description>
<arg name="x" type="int"/>
<arg name="y" type="int"/>
<arg name="width" type="int"/>
<arg name="height" type="int"/>
</request>
<request name="ack_configure">
<description summary="ack a configure event">
When a configure event is received, if a client commits the
surface in response to the configure event, then the client
must make an ack_configure request sometime before the commit
request, passing along the serial of the configure event.
For instance, for toplevel surfaces the compositor might use this
information to move a surface to the top left only when the client has
drawn itself for the maximized or fullscreen state.
If the client receives multiple configure events before it
can respond to one, it only has to ack the last configure event.
Acking a configure event that was never sent raises an invalid_serial
error.
A client is not required to commit immediately after sending
an ack_configure request - it may even ack_configure several times
before its next surface commit.
A client may send multiple ack_configure requests before committing, but
only the last request sent before a commit indicates which configure
event the client really is responding to.
Sending an ack_configure request consumes the serial number sent with
the request, as well as serial numbers sent by all configure events
sent on this xdg_surface prior to the configure event referenced by
the committed serial.
It is an error to issue multiple ack_configure requests referencing a
serial from the same configure event, or to issue an ack_configure
request referencing a serial from a configure event issued before the
event identified by the last ack_configure request for the same
xdg_surface. Doing so will raise an invalid_serial error.
</description>
<arg name="serial" type="uint" summary="the serial from the configure event"/>
</request>
<event name="configure">
<description summary="suggest a surface change">
The configure event marks the end of a configure sequence. A configure
sequence is a set of one or more events configuring the state of the
xdg_surface, including the final xdg_surface.configure event.
Where applicable, xdg_surface surface roles will during a configure
sequence extend this event as a latched state sent as events before the
xdg_surface.configure event. Such events should be considered to make up
a set of atomically applied configuration states, where the
xdg_surface.configure commits the accumulated state.
Clients should arrange their surface for the new states, and then send
an ack_configure request with the serial sent in this configure event at
some point before committing the new surface.
If the client receives multiple configure events before it can respond
to one, it is free to discard all but the last event it received.
</description>
<arg name="serial" type="uint" summary="serial of the configure event"/>
</event>
</interface>
<interface name="xdg_toplevel" version="6">
<description summary="toplevel surface">
This interface defines an xdg_surface role which allows a surface to,
among other things, set window-like properties such as maximize,
fullscreen, and minimize, set application-specific metadata like title and
id, and well as trigger user interactive operations such as interactive
resize and move.
Unmapping an xdg_toplevel means that the surface cannot be shown
by the compositor until it is explicitly mapped again.
All active operations (e.g., move, resize) are canceled and all
attributes (e.g. title, state, stacking, ...) are discarded for
an xdg_toplevel surface when it is unmapped. The xdg_toplevel returns to
the state it had right after xdg_surface.get_toplevel. The client
can re-map the toplevel by perfoming a commit without any buffer
attached, waiting for a configure event and handling it as usual (see
xdg_surface description).
Attaching a null buffer to a toplevel unmaps the surface.
</description>
<request name="destroy" type="destructor">
<description summary="destroy the xdg_toplevel">
This request destroys the role surface and unmaps the surface;
see "Unmapping" behavior in interface section for details.
</description>
</request>
<enum name="error">
<entry name="invalid_resize_edge" value="0" summary="provided value is
not a valid variant of the resize_edge enum"/>
<entry name="invalid_parent" value="1"
summary="invalid parent toplevel"/>
<entry name="invalid_size" value="2"
summary="client provided an invalid min or max size"/>
</enum>
<request name="set_parent">
<description summary="set the parent of this surface">
Set the "parent" of this surface. This surface should be stacked
above the parent surface and all other ancestor surfaces.
Parent surfaces should be set on dialogs, toolboxes, or other
"auxiliary" surfaces, so that the parent is raised when the dialog
is raised.
Setting a null parent for a child surface unsets its parent. Setting
a null parent for a surface which currently has no parent is a no-op.
Only mapped surfaces can have child surfaces. Setting a parent which
is not mapped is equivalent to setting a null parent. If a surface
becomes unmapped, its children's parent is set to the parent of
the now-unmapped surface. If the now-unmapped surface has no parent,
its children's parent is unset. If the now-unmapped surface becomes
mapped again, its parent-child relationship is not restored.
The parent toplevel must not be one of the child toplevel's
descendants, and the parent must be different from the child toplevel,
otherwise the invalid_parent protocol error is raised.
</description>
<arg name="parent" type="object" interface="xdg_toplevel" allow-null="true"/>
</request>
<request name="set_title">
<description summary="set surface title">
Set a short title for the surface.
This string may be used to identify the surface in a task bar,
window list, or other user interface elements provided by the
compositor.
The string must be encoded in UTF-8.
</description>
<arg name="title" type="string"/>
</request>
<request name="set_app_id">
<description summary="set application ID">
Set an application identifier for the surface.
The app ID identifies the general class of applications to which
the surface belongs. The compositor can use this to group multiple
surfaces together, or to determine how to launch a new application.
For D-Bus activatable applications, the app ID is used as the D-Bus
service name.
The compositor shell will try to group application surfaces together
by their app ID. As a best practice, it is suggested to select app
ID's that match the basename of the application's .desktop file.
For example, "org.freedesktop.FooViewer" where the .desktop file is
"org.freedesktop.FooViewer.desktop".
Like other properties, a set_app_id request can be sent after the
xdg_toplevel has been mapped to update the property.
See the desktop-entry specification [0] for more details on
application identifiers and how they relate to well-known D-Bus
names and .desktop files.
[0] https://standards.freedesktop.org/desktop-entry-spec/
</description>
<arg name="app_id" type="string"/>
</request>
<request name="show_window_menu">
<description summary="show the window menu">
Clients implementing client-side decorations might want to show
a context menu when right-clicking on the decorations, giving the
user a menu that they can use to maximize or minimize the window.
This request asks the compositor to pop up such a window menu at
the given position, relative to the local surface coordinates of
the parent surface. There are no guarantees as to what menu items
the window menu contains, or even if a window menu will be drawn
at all.
This request must be used in response to some sort of user action
like a button press, key press, or touch down event.
</description>
<arg name="seat" type="object" interface="wl_seat" summary="the wl_seat of the user event"/>
<arg name="serial" type="uint" summary="the serial of the user event"/>
<arg name="x" type="int" summary="the x position to pop up the window menu at"/>
<arg name="y" type="int" summary="the y position to pop up the window menu at"/>
</request>
<request name="move">
<description summary="start an interactive move">
Start an interactive, user-driven move of the surface.
This request must be used in response to some sort of user action
like a button press, key press, or touch down event. The passed
serial is used to determine the type of interactive move (touch,
pointer, etc).
The server may ignore move requests depending on the state of
the surface (e.g. fullscreen or maximized), or if the passed serial
is no longer valid.
If triggered, the surface will lose the focus of the device
(wl_pointer, wl_touch, etc) used for the move. It is up to the
compositor to visually indicate that the move is taking place, such as
updating a pointer cursor, during the move. There is no guarantee
that the device focus will return when the move is completed.
</description>
<arg name="seat" type="object" interface="wl_seat" summary="the wl_seat of the user event"/>
<arg name="serial" type="uint" summary="the serial of the user event"/>
</request>
<enum name="resize_edge">
<description summary="edge values for resizing">
These values are used to indicate which edge of a surface
is being dragged in a resize operation.
</description>
<entry name="none" value="0"/>
<entry name="top" value="1"/>
<entry name="bottom" value="2"/>
<entry name="left" value="4"/>
<entry name="top_left" value="5"/>
<entry name="bottom_left" value="6"/>
<entry name="right" value="8"/>
<entry name="top_right" value="9"/>
<entry name="bottom_right" value="10"/>
</enum>
<request name="resize">
<description summary="start an interactive resize">
Start a user-driven, interactive resize of the surface.
This request must be used in response to some sort of user action
like a button press, key press, or touch down event. The passed
serial is used to determine the type of interactive resize (touch,
pointer, etc).
The server may ignore resize requests depending on the state of
the surface (e.g. fullscreen or maximized).
If triggered, the client will receive configure events with the
"resize" state enum value and the expected sizes. See the "resize"
enum value for more details about what is required. The client
must also acknowledge configure events using "ack_configure". After
the resize is completed, the client will receive another "configure"
event without the resize state.
If triggered, the surface also will lose the focus of the device
(wl_pointer, wl_touch, etc) used for the resize. It is up to the
compositor to visually indicate that the resize is taking place,
such as updating a pointer cursor, during the resize. There is no
guarantee that the device focus will return when the resize is
completed.
The edges parameter specifies how the surface should be resized, and
is one of the values of the resize_edge enum. Values not matching
a variant of the enum will cause the invalid_resize_edge protocol error.
The compositor may use this information to update the surface position
for example when dragging the top left corner. The compositor may also
use this information to adapt its behavior, e.g. choose an appropriate
cursor image.
</description>
<arg name="seat" type="object" interface="wl_seat" summary="the wl_seat of the user event"/>
<arg name="serial" type="uint" summary="the serial of the user event"/>
<arg name="edges" type="uint" enum="resize_edge" summary="which edge or corner is being dragged"/>
</request>
<enum name="state">
<description summary="types of state on the surface">
The different state values used on the surface. This is designed for
state values like maximized, fullscreen. It is paired with the
configure event to ensure that both the client and the compositor
setting the state can be synchronized.
States set in this way are double-buffered. They will get applied on
the next commit.
</description>
<entry name="maximized" value="1" summary="the surface is maximized">
<description summary="the surface is maximized">
The surface is maximized. The window geometry specified in the configure
event must be obeyed by the client, or the xdg_wm_base.invalid_surface_state
error is raised.
The client should draw without shadow or other
decoration outside of the window geometry.
</description>
</entry>
<entry name="fullscreen" value="2" summary="the surface is fullscreen">
<description summary="the surface is fullscreen">
The surface is fullscreen. The window geometry specified in the
configure event is a maximum; the client cannot resize beyond it. For
a surface to cover the whole fullscreened area, the geometry
dimensions must be obeyed by the client. For more details, see
xdg_toplevel.set_fullscreen.
</description>
</entry>
<entry name="resizing" value="3" summary="the surface is being resized">
<description summary="the surface is being resized">
The surface is being resized. The window geometry specified in the
configure event is a maximum; the client cannot resize beyond it.
Clients that have aspect ratio or cell sizing configuration can use
a smaller size, however.
</description>
</entry>
<entry name="activated" value="4" summary="the surface is now activated">
<description summary="the surface is now activated">
Client window decorations should be painted as if the window is
active. Do not assume this means that the window actually has
keyboard or pointer focus.
</description>
</entry>
<entry name="tiled_left" value="5" since="2">
<description summary="the surfaces left edge is tiled">
The window is currently in a tiled layout and the left edge is
considered to be adjacent to another part of the tiling grid.
</description>
</entry>
<entry name="tiled_right" value="6" since="2">
<description summary="the surfaces right edge is tiled">
The window is currently in a tiled layout and the right edge is
considered to be adjacent to another part of the tiling grid.
</description>
</entry>
<entry name="tiled_top" value="7" since="2">
<description summary="the surfaces top edge is tiled">
The window is currently in a tiled layout and the top edge is
considered to be adjacent to another part of the tiling grid.
</description>
</entry>
<entry name="tiled_bottom" value="8" since="2">
<description summary="the surfaces bottom edge is tiled">
The window is currently in a tiled layout and the bottom edge is
considered to be adjacent to another part of the tiling grid.
</description>
</entry>
<entry name="suspended" value="9" since="6">
<description summary="surface repaint is suspended">
The surface is currently not ordinarily being repainted; for
example because its content is occluded by another window, or its
outputs are switched off due to screen locking.
</description>
</entry>
</enum>
<request name="set_max_size">
<description summary="set the maximum size">
Set a maximum size for the window.
The client can specify a maximum size so that the compositor does
not try to configure the window beyond this size.
The width and height arguments are in window geometry coordinates.
See xdg_surface.set_window_geometry.
Values set in this way are double-buffered. They will get applied
on the next commit.
The compositor can use this information to allow or disallow
different states like maximize or fullscreen and draw accurate
animations.
Similarly, a tiling window manager may use this information to
place and resize client windows in a more effective way.
The client should not rely on the compositor to obey the maximum
size. The compositor may decide to ignore the values set by the
client and request a larger size.
If never set, or a value of zero in the request, means that the
client has no expected maximum size in the given dimension.
As a result, a client wishing to reset the maximum size
to an unspecified state can use zero for width and height in the
request.
Requesting a maximum size to be smaller than the minimum size of
a surface is illegal and will result in an invalid_size error.
The width and height must be greater than or equal to zero. Using
strictly negative values for width or height will result in a
invalid_size error.
</description>
<arg name="width" type="int"/>
<arg name="height" type="int"/>
</request>
<request name="set_min_size">
<description summary="set the minimum size">
Set a minimum size for the window.
The client can specify a minimum size so that the compositor does
not try to configure the window below this size.
The width and height arguments are in window geometry coordinates.
See xdg_surface.set_window_geometry.
Values set in this way are double-buffered. They will get applied
on the next commit.
The compositor can use this information to allow or disallow
different states like maximize or fullscreen and draw accurate
animations.
Similarly, a tiling window manager may use this information to
place and resize client windows in a more effective way.
The client should not rely on the compositor to obey the minimum
size. The compositor may decide to ignore the values set by the
client and request a smaller size.
If never set, or a value of zero in the request, means that the
client has no expected minimum size in the given dimension.
As a result, a client wishing to reset the minimum size
to an unspecified state can use zero for width and height in the
request.
Requesting a minimum size to be larger than the maximum size of
a surface is illegal and will result in an invalid_size error.
The width and height must be greater than or equal to zero. Using
strictly negative values for width and height will result in a
invalid_size error.
</description>
<arg name="width" type="int"/>
<arg name="height" type="int"/>
</request>
<request name="set_maximized">
<description summary="maximize the window">
Maximize the surface.
After requesting that the surface should be maximized, the compositor
will respond by emitting a configure event. Whether this configure
actually sets the window maximized is subject to compositor policies.
The client must then update its content, drawing in the configured
state. The client must also acknowledge the configure when committing
the new content (see ack_configure).
It is up to the compositor to decide how and where to maximize the
surface, for example which output and what region of the screen should
be used.
If the surface was already maximized, the compositor will still emit
a configure event with the "maximized" state.
If the surface is in a fullscreen state, this request has no direct
effect. It may alter the state the surface is returned to when
unmaximized unless overridden by the compositor.
</description>
</request>
<request name="unset_maximized">
<description summary="unmaximize the window">
Unmaximize the surface.
After requesting that the surface should be unmaximized, the compositor
will respond by emitting a configure event. Whether this actually
un-maximizes the window is subject to compositor policies.
If available and applicable, the compositor will include the window
geometry dimensions the window had prior to being maximized in the
configure event. The client must then update its content, drawing it in
the configured state. The client must also acknowledge the configure
when committing the new content (see ack_configure).
It is up to the compositor to position the surface after it was
unmaximized; usually the position the surface had before maximizing, if
applicable.
If the surface was already not maximized, the compositor will still
emit a configure event without the "maximized" state.
If the surface is in a fullscreen state, this request has no direct
effect. It may alter the state the surface is returned to when
unmaximized unless overridden by the compositor.
</description>
</request>
<request name="set_fullscreen">
<description summary="set the window as fullscreen on an output">
Make the surface fullscreen.
After requesting that the surface should be fullscreened, the
compositor will respond by emitting a configure event. Whether the
client is actually put into a fullscreen state is subject to compositor
policies. The client must also acknowledge the configure when
committing the new content (see ack_configure).
The output passed by the request indicates the client's preference as
to which display it should be set fullscreen on. If this value is NULL,
it's up to the compositor to choose which display will be used to map
this surface.
If the surface doesn't cover the whole output, the compositor will
position the surface in the center of the output and compensate with
with border fill covering the rest of the output. The content of the
border fill is undefined, but should be assumed to be in some way that
attempts to blend into the surrounding area (e.g. solid black).
If the fullscreened surface is not opaque, the compositor must make
sure that other screen content not part of the same surface tree (made
up of subsurfaces, popups or similarly coupled surfaces) are not
visible below the fullscreened surface.
</description>
<arg name="output" type="object" interface="wl_output" allow-null="true"/>
</request>
<request name="unset_fullscreen">
<description summary="unset the window as fullscreen">
Make the surface no longer fullscreen.
After requesting that the surface should be unfullscreened, the
compositor will respond by emitting a configure event.
Whether this actually removes the fullscreen state of the client is
subject to compositor policies.
Making a surface unfullscreen sets states for the surface based on the following:
* the state(s) it may have had before becoming fullscreen
* any state(s) decided by the compositor
* any state(s) requested by the client while the surface was fullscreen
The compositor may include the previous window geometry dimensions in
the configure event, if applicable.
The client must also acknowledge the configure when committing the new
content (see ack_configure).
</description>
</request>
<request name="set_minimized">
<description summary="set the window as minimized">
Request that the compositor minimize your surface. There is no
way to know if the surface is currently minimized, nor is there
any way to unset minimization on this surface.
If you are looking to throttle redrawing when minimized, please
instead use the wl_surface.frame event for this, as this will
also work with live previews on windows in Alt-Tab, Expose or
similar compositor features.
</description>
</request>
<event name="configure">
<description summary="suggest a surface change">
This configure event asks the client to resize its toplevel surface or
to change its state. The configured state should not be applied
immediately. See xdg_surface.configure for details.
The width and height arguments specify a hint to the window
about how its surface should be resized in window geometry
coordinates. See set_window_geometry.
If the width or height arguments are zero, it means the client
should decide its own window dimension. This may happen when the
compositor needs to configure the state of the surface but doesn't
have any information about any previous or expected dimension.
The states listed in the event specify how the width/height
arguments should be interpreted, and possibly how it should be
drawn.
Clients must send an ack_configure in response to this event. See
xdg_surface.configure and xdg_surface.ack_configure for details.
</description>
<arg name="width" type="int"/>
<arg name="height" type="int"/>
<arg name="states" type="array"/>
</event>
<event name="close">
<description summary="surface wants to be closed">
The close event is sent by the compositor when the user
wants the surface to be closed. This should be equivalent to
the user clicking the close button in client-side decorations,
if your application has any.
This is only a request that the user intends to close the
window. The client may choose to ignore this request, or show
a dialog to ask the user to save their data, etc.
</description>
</event>
<!-- Version 4 additions -->
<event name="configure_bounds" since="4">
<description summary="recommended window geometry bounds">
The configure_bounds event may be sent prior to a xdg_toplevel.configure
event to communicate the bounds a window geometry size is recommended
to constrain to.
The passed width and height are in surface coordinate space. If width
and height are 0, it means bounds is unknown and equivalent to as if no
configure_bounds event was ever sent for this surface.
The bounds can for example correspond to the size of a monitor excluding
any panels or other shell components, so that a surface isn't created in
a way that it cannot fit.
The bounds may change at any point, and in such a case, a new
xdg_toplevel.configure_bounds will be sent, followed by
xdg_toplevel.configure and xdg_surface.configure.
</description>
<arg name="width" type="int"/>
<arg name="height" type="int"/>
</event>
<!-- Version 5 additions -->
<enum name="wm_capabilities" since="5">
<entry name="window_menu" value="1" summary="show_window_menu is available"/>
<entry name="maximize" value="2" summary="set_maximized and unset_maximized are available"/>
<entry name="fullscreen" value="3" summary="set_fullscreen and unset_fullscreen are available"/>
<entry name="minimize" value="4" summary="set_minimized is available"/>
</enum>
<event name="wm_capabilities" since="5">
<description summary="compositor capabilities">
This event advertises the capabilities supported by the compositor. If
a capability isn't supported, clients should hide or disable the UI
elements that expose this functionality. For instance, if the
compositor doesn't advertise support for minimized toplevels, a button
triggering the set_minimized request should not be displayed.
The compositor will ignore requests it doesn't support. For instance,
a compositor which doesn't advertise support for minimized will ignore
set_minimized requests.
Compositors must send this event once before the first
xdg_surface.configure event. When the capabilities change, compositors
must send this event again and then send an xdg_surface.configure
event.
The configured state should not be applied immediately. See
xdg_surface.configure for details.
The capabilities are sent as an array of 32-bit unsigned integers in
native endianness.
</description>
<arg name="capabilities" type="array" summary="array of 32-bit capabilities"/>
</event>
</interface>
<interface name="xdg_popup" version="6">
<description summary="short-lived, popup surfaces for menus">
A popup surface is a short-lived, temporary surface. It can be used to
implement for example menus, popovers, tooltips and other similar user
interface concepts.
A popup can be made to take an explicit grab. See xdg_popup.grab for
details.
When the popup is dismissed, a popup_done event will be sent out, and at
the same time the surface will be unmapped. See the xdg_popup.popup_done
event for details.
Explicitly destroying the xdg_popup object will also dismiss the popup and
unmap the surface. Clients that want to dismiss the popup when another
surface of their own is clicked should dismiss the popup using the destroy
request.
A newly created xdg_popup will be stacked on top of all previously created
xdg_popup surfaces associated with the same xdg_toplevel.
The parent of an xdg_popup must be mapped (see the xdg_surface
description) before the xdg_popup itself.
The client must call wl_surface.commit on the corresponding wl_surface
for the xdg_popup state to take effect.
</description>
<enum name="error">
<entry name="invalid_grab" value="0"
summary="tried to grab after being mapped"/>
</enum>
<request name="destroy" type="destructor">
<description summary="remove xdg_popup interface">
This destroys the popup. Explicitly destroying the xdg_popup
object will also dismiss the popup, and unmap the surface.
If this xdg_popup is not the "topmost" popup, the
xdg_wm_base.not_the_topmost_popup protocol error will be sent.
</description>
</request>
<request name="grab">
<description summary="make the popup take an explicit grab">
This request makes the created popup take an explicit grab. An explicit
grab will be dismissed when the user dismisses the popup, or when the
client destroys the xdg_popup. This can be done by the user clicking
outside the surface, using the keyboard, or even locking the screen
through closing the lid or a timeout.
If the compositor denies the grab, the popup will be immediately
dismissed.
This request must be used in response to some sort of user action like a
button press, key press, or touch down event. The serial number of the
event should be passed as 'serial'.
The parent of a grabbing popup must either be an xdg_toplevel surface or
another xdg_popup with an explicit grab. If the parent is another
xdg_popup it means that the popups are nested, with this popup now being
the topmost popup.
Nested popups must be destroyed in the reverse order they were created
in, e.g. the only popup you are allowed to destroy at all times is the
topmost one.
When compositors choose to dismiss a popup, they may dismiss every
nested grabbing popup as well. When a compositor dismisses popups, it
will follow the same dismissing order as required from the client.
If the topmost grabbing popup is destroyed, the grab will be returned to
the parent of the popup, if that parent previously had an explicit grab.
If the parent is a grabbing popup which has already been dismissed, this
popup will be immediately dismissed. If the parent is a popup that did
not take an explicit grab, an error will be raised.
During a popup grab, the client owning the grab will receive pointer
and touch events for all their surfaces as normal (similar to an
"owner-events" grab in X11 parlance), while the top most grabbing popup
will always have keyboard focus.
</description>
<arg name="seat" type="object" interface="wl_seat"
summary="the wl_seat of the user event"/>
<arg name="serial" type="uint" summary="the serial of the user event"/>
</request>
<event name="configure">
<description summary="configure the popup surface">
This event asks the popup surface to configure itself given the
configuration. The configured state should not be applied immediately.
See xdg_surface.configure for details.
The x and y arguments represent the position the popup was placed at
given the xdg_positioner rule, relative to the upper left corner of the
window geometry of the parent surface.
For version 2 or older, the configure event for an xdg_popup is only
ever sent once for the initial configuration. Starting with version 3,
it may be sent again if the popup is setup with an xdg_positioner with
set_reactive requested, or in response to xdg_popup.reposition requests.
</description>
<arg name="x" type="int"
summary="x position relative to parent surface window geometry"/>
<arg name="y" type="int"
summary="y position relative to parent surface window geometry"/>
<arg name="width" type="int" summary="window geometry width"/>
<arg name="height" type="int" summary="window geometry height"/>
</event>
<event name="popup_done">
<description summary="popup interaction is done">
The popup_done event is sent out when a popup is dismissed by the
compositor. The client should destroy the xdg_popup object at this
point.
</description>
</event>
<!-- Version 3 additions -->
<request name="reposition" since="3">
<description summary="recalculate the popup's location">
Reposition an already-mapped popup. The popup will be placed given the
details in the passed xdg_positioner object, and a
xdg_popup.repositioned followed by xdg_popup.configure and
xdg_surface.configure will be emitted in response. Any parameters set
by the previous positioner will be discarded.
The passed token will be sent in the corresponding
xdg_popup.repositioned event. The new popup position will not take
effect until the corresponding configure event is acknowledged by the
client. See xdg_popup.repositioned for details. The token itself is
opaque, and has no other special meaning.
If multiple reposition requests are sent, the compositor may skip all
but the last one.
If the popup is repositioned in response to a configure event for its
parent, the client should send an xdg_positioner.set_parent_configure
and possibly an xdg_positioner.set_parent_size request to allow the
compositor to properly constrain the popup.
If the popup is repositioned together with a parent that is being
resized, but not in response to a configure event, the client should
send an xdg_positioner.set_parent_size request.
</description>
<arg name="positioner" type="object" interface="xdg_positioner"/>
<arg name="token" type="uint" summary="reposition request token"/>
</request>
<event name="repositioned" since="3">
<description summary="signal the completion of a repositioned request">
The repositioned event is sent as part of a popup configuration
sequence, together with xdg_popup.configure and lastly
xdg_surface.configure to notify the completion of a reposition request.
The repositioned event is to notify about the completion of a
xdg_popup.reposition request. The token argument is the token passed
in the xdg_popup.reposition request.
Immediately after this event is emitted, xdg_popup.configure and
xdg_surface.configure will be sent with the updated size and position,
as well as a new configure serial.
The client should optionally update the content of the popup, but must
acknowledge the new popup configuration for the new position to take
effect. See xdg_surface.ack_configure for details.
</description>
<arg name="token" type="uint" summary="reposition request token"/>
</event>
</interface>
</protocol>