A. Tombs
5ae781586f
X11: Handle Selection* events despite NULL window
...
X11 event processing currently discards events that can not be mapped to
a current GLFW window. However, this breaks clipboard functionality by
failing to respond to SelectionRequest and SelectionClear events.
This commit moves processing of these important clipboard events to
before the NULL window test so that they are always considered.
Fixes #961 .
Closes #963 .
ago%!(EXTRA string=8 years)
Camilla Löwy
798d7c6d68
Implement glfwGetJoystickHats
...
This moves the buttons-as-hats logic to shared code and adds the
GLFW_JOYSTICK_HAT_BUTTONS input mode as a way to disable this legacy
behavior.
Fixes #889 .
ago%!(EXTRA string=8 years)
IntellectualKitty
368dec7ac7
Add glfwGetJoystickHats
...
This merges the public part of the glfwGetJoystickHats work by
@IntellectualKitty . The implementation needs replacing due to
refactoring in preparation for gamecontrollerdb support.
Closes #906 .
ago%!(EXTRA string=8 years)
Emmanuel Gil Peyrot
0e0862cfc7
Wayland: Fix broken build
...
Regression caused by e9560ef021
.
ago%!(EXTRA string=8 years)
Camilla Löwy
5b306f0390
Cleanup
ago%!(EXTRA string=8 years)
Camilla Löwy
d88347ee7d
Mir: Fix broken build
...
Regression caused by e9560ef021
.
ago%!(EXTRA string=8 years)
Camilla Löwy
7a8516d296
Cleanup
ago%!(EXTRA string=8 years)
Camilla Löwy
c50aba1335
Cocoa: Add support for MainMenu.nib loading
ago%!(EXTRA string=8 years)
Camilla Löwy
6d9a58bfef
Add glfwInitHint
...
This allows setting hints that control how the library is initialized,
transforming more compile-time options into run-time ones.
ago%!(EXTRA string=8 years)
Camilla Löwy
071a049f07
Documentation work
...
[ci skip]
ago%!(EXTRA string=8 years)
Camilla Löwy
e019f7e7f2
Remove misleading platform API documentation
...
[ci skip]
ago%!(EXTRA string=8 years)
Camilla Löwy
315c9455d5
OSMesa: Use framebuffer size for framebuffer
ago%!(EXTRA string=8 years)
Camilla Löwy
97b0c645bf
Remove unused stub
ago%!(EXTRA string=8 years)
Camilla Löwy
53f46d32e2
Make OSMesa backend an almost proper null backend
...
It still depends on POSIX time and TLS.
ago%!(EXTRA string=8 years)
Camilla Löwy
e9560ef021
Add GLFW_OSMESA_CONTEXT_API
...
This allows the creation of OpenGL contexts via OSMesa on existing
platforms. It does not add a compile- or link-time dependency on
OSMesa.
Fixes #281 .
ago%!(EXTRA string=8 years)
Camilla Löwy
a44f2c0e65
Win32: Fix VC++ warning
ago%!(EXTRA string=8 years)
Camilla Löwy
ce8fe645f4
Cleanup
ago%!(EXTRA string=8 years)
Camilla Löwy
9950d8a319
Cleanup
ago%!(EXTRA string=8 years)
Camilla Löwy
4928e2bf0a
Clarify undocumented platform errors
ago%!(EXTRA string=8 years)
Camilla Löwy
a570d0a129
X11: Use XI_RawMotion for disabled cursor motion
...
Related to #125 .
ago%!(EXTRA string=8 years)
Camilla Löwy
918b4e81d2
Win32: Move to WM_INPUT for disabled cursor motion
...
Related to #125 .
ago%!(EXTRA string=8 years)
Camilla Löwy
dd96d0ac93
Win32: Fix mouse button messages lost by capture
...
Fixes #954 .
ago%!(EXTRA string=8 years)
Camilla Löwy
3817b4e1c5
Add more assertions
ago%!(EXTRA string=8 years)
Camilla Löwy
2ba461e348
Formatting
ago%!(EXTRA string=8 years)
Camilla Löwy
5352e2caa0
X11: Fix read past top of stack on 64-bit
...
Fixes #951 .
ago%!(EXTRA string=8 years)
Camilla Löwy
980f955f6c
Fix undefined behavior
...
Fixes #950 .
ago%!(EXTRA string=8 years)
Camilla Löwy
343288c1f6
Fix line endings
...
[ci skip]
ago%!(EXTRA string=8 years)
Camilla Löwy
355b46e6c5
Win32: Fix screensaver and blanking prevention
...
On Vista and later, Handling WM_SYSCOMMAND is not enough to prevent
password protected screensavers or monitor blanking.
Fixes #851 .
ago%!(EXTRA string=8 years)
Camilla Löwy
366b90be1a
Documentation work
ago%!(EXTRA string=8 years)
Camilla Löwy
77a8f103d8
Add GLFW_COCOA_GRAPHICS_SWICTHING
...
This provides control over whether the context should participate in
macOS Automatic Graphics Switching.
Closes #377 .
Closes #935 .
ago%!(EXTRA string=8 years)
Camilla Löwy
558afefc04
X11: Fix sonames for dynamically loaded libraries
...
Fixes #941 .
ago%!(EXTRA string=8 years)
Camilla Löwy
21eabd3938
Documentation work
ago%!(EXTRA string=8 years)
Camilla Löwy
0c090a8c8b
Perform full termination on platform init failure
ago%!(EXTRA string=8 years)
Camilla Löwy
926d2beddb
Move initialized flag into library struct
ago%!(EXTRA string=8 years)
Camilla Löwy
98bdd36231
Fix glfwVulkanSupported semantics
ago%!(EXTRA string=8 years)
Camilla Löwy
8e870d4cc0
Win32: Fix bad error from glfwVulkanSupported
...
A VK_ERROR_OUT_OF_HOST_MEMORY error would be passed on to client code on
systems that had a Vulkan loader but no ICD.
Fixes #916 .
ago%!(EXTRA string=8 years)
Camilla Löwy
5a74b5008d
Cleanup
...
Related to #842 .
ago%!(EXTRA string=8 years)
Liam Middlebrook
72ac5badb0
Add GLFW_CENTER_CURSOR
...
Adds a hint for controlling whether the cursor is centered over newly
created full screen windows.
Fixes #749 .
Closes #842 .
ago%!(EXTRA string=8 years)
Camilla Löwy
ef5a21496c
X11: Fix set not being reset each call to select
ago%!(EXTRA string=8 years)
Camilla Löwy
67a55efa27
Add null joystick backend
...
This prepares the X11 backend to support other joystick APIs, for
example the FreeBSD libusb one.
ago%!(EXTRA string=8 years)
Camilla Löwy
c5694b3013
Linux: Fix joystick disconnection detection
...
Joystick disconnection was not dectected by the event processing
functions and required calling a joystick function.
Fixes #932 .
ago%!(EXTRA string=8 years)
Camilla Löwy
9cfaf0944c
Fix file API version number
ago%!(EXTRA string=8 years)
Camilla Löwy
bfd564f257
Move internals to shared joystick objects
...
Preparation for gamecontrollerdb support and the gamepad API.
ago%!(EXTRA string=8 years)
Camilla Löwy
43c1910453
Win32: Cleanup
ago%!(EXTRA string=8 years)
Camilla Löwy
260dbf0a1d
Win32: Cleanup
ago%!(EXTRA string=8 years)
Camilla Löwy
f3e20ca437
Pass scancode with synthetic key release events
ago%!(EXTRA string=8 years)
Camilla Löwy
a2867ff6ea
Cleanup
ago%!(EXTRA string=8 years)
Camilla Löwy
9689f7b925
Remove superfluous comments
ago%!(EXTRA string=8 years)
Emmanuel Gil Peyrot
f4c5e6568e
Wayland: Commit shell surface creation
...
This fixes any program using hidden windows, like tests/windows.c.
ago%!(EXTRA string=8 years)
Emmanuel Gil Peyrot
865bf67b1a
OSMesa: Fix context struct indentation
ago%!(EXTRA string=8 years)