Camilla Löwy
1155c83013
Rename raw input to raw mouse motion, cleanup
...
This renames 'raw input' to 'raw mouse motion' as there are other kinds
of raw input. The update path is restructured to avoid reinitializing
all of disabled cursor mode. Modification of shared state is moved out
into shared code. Raw mouse motion is disabled by default for
compatibility.
Related to #1401 .
ago%!(EXTRA string=6 years)
Nathan Poirier
9e29f556fd
Add GLFW_RAW_INPUT and glfwRawInputSupported
...
This adds runtime per-window control of whether accelerated or raw mouse
motion is provided when the cursor is disabled.
Fixes #1400 .
Closes #1401 .
ago%!(EXTRA string=6 years)
Emmanuel Gil Peyrot
5f9cbd0ebc
Wayland: keyboard repeat rate is given in Hz
...
It was currently interpreted as ms, which is obviously wrong.
Thanks to https://github.com/Smithay/client-toolkit/pull/62 for making
me notice this issue.
ago%!(EXTRA string=6 years)
Camilla Löwy
ec3784f3d7
WGL: Unify query error handling
ago%!(EXTRA string=6 years)
Camilla Löwy
782f7fe0c7
WGL: Fix leak on format attrib query failure
...
This was found by Coverity Scan.
ago%!(EXTRA string=6 years)
Emmanuel Gil Peyrot
bcd8f9aff2
Documentation work
...
Describe #1341 .
ago%!(EXTRA string=6 years)
Emmanuel Gil Peyrot
45bd991ea9
Wayland: Fix auto-iconify on kwin_wayland
...
We now keep track of the fullscreen and activated state and only iconify
if we were previously fullscreen and now we are either not fullscreen or
not activated anymore.
This is the proper way to do it, compared to the previous hack where we
didn’t iconify only if it was the first configure event received.
ago%!(EXTRA string=6 years)
Emmanuel Gil Peyrot
edf0a07174
Wayland: Only auto-iconify fullscreen windows
...
Thanks to kwin for exposing a bug here!
ago%!(EXTRA string=6 years)
Greg V
36ce73bbfd
Wayland: use SHM_ANON on FreeBSD
...
This works like memfd on Linux.
ago%!(EXTRA string=6 years)
Camilla Löwy
1d95acdf56
Cocoa: Fix detection of Clang
ago%!(EXTRA string=6 years)
schraf
2e70950c0f
Fix quoting of CMAKE_C_COMPILER_ID
...
I was getting an error in this cmake file when using 3.10.2 on linux.
Here was the error message I was getting:
[cmake] CMake Error at external/glfw/src/CMakeLists.txt:82 (if):
[cmake] if given arguments:
[cmake]
[cmake] "STREQUAL" "GNU" "OR" "STREQUAL" "Clang"
[cmake]
[cmake] Unknown arguments specified
Adding the quotes around the cmake variables seems to do the trick. That
was also done with the STREQUAL condition earlier on line 66.
Closes #1411 .
ago%!(EXTRA string=6 years)
Camilla Löwy
2a27eb95e4
X11: Fix system cursor used for GLFW_HAND_CURSOR
...
Fixes #1432 .
ago%!(EXTRA string=6 years)
Camilla Löwy
e2fa82ffbb
Cleanup
...
Related to #1431 .
ago%!(EXTRA string=6 years)
Max Risuhin
cf79f06257
Win32: Fix standard cursors not being DPI aware
...
Closes #1431 .
ago%!(EXTRA string=6 years)
Camilla Löwy
90e22947c6
Cleanup
ago%!(EXTRA string=6 years)
Camilla Löwy
463ef7eb71
Cocoa: Fix handling of analog joystick buttons
...
The reported state was not clamped to [0,1], i.e. GLFW_RELEASE and
GLFW_PRESS.
Fixes #1385 .
ago%!(EXTRA string=6 years)
Camilla Löwy
51ca41dd9f
Cocoa: Add missing IOHID page and usages
...
Related to #1385 .
ago%!(EXTRA string=6 years)
Camilla Löwy
530b37f4db
Cocoa: Disable automatic tabbing for GLFW windows
...
Related to #1250 .
ago%!(EXTRA string=6 years)
Camilla Löwy
78e6a0063d
X11: Fix EWMH state update for hidden windows
...
The EWMH window state code assumed the window was mapped.
Fixes #1358 .
ago%!(EXTRA string=6 years)
Camilla Löwy
7f4dde15e4
Allow zero windows for events test
...
glfwWaitEvents is sane now, yay.
ago%!(EXTRA string=6 years)
Camilla Löwy
b41cd34143
Cleanup
ago%!(EXTRA string=6 years)
Camilla Löwy
d5ab3e919a
Cleanup
...
Replace client area with content area.
ago%!(EXTRA string=6 years)
iamCaveLamp
a46104ee69
Removed duplicates of centerCursor function
ago%!(EXTRA string=6 years)
Ivan Achlaqullah
757cd3aea2
Add Visual Studio .vs directory to .gitignore
...
Closes #1419 .
ago%!(EXTRA string=6 years)
maobaoqi
29d8ca4ce4
Fix bug in CrossProduct function in boing example
...
Closes #1418 .
ago%!(EXTRA string=6 years)
Camilla Löwy
3d748cf530
Cleanup
...
Related to #1381 .
ago%!(EXTRA string=6 years)
Doug Binks
babafc13db
WGL: Add array-based call to wglGetPixelFormatAttribivARB
...
This improves performance of pixel format enumeration and helps the very
poor performance reported on a small number of machines.
Closes #1381 .
ago%!(EXTRA string=6 years)
Camilla Löwy
9b0c16596c
Add full screen option to tearing test
ago%!(EXTRA string=6 years)
Camilla Löwy
2053f3ed22
Cleanup
ago%!(EXTRA string=6 years)
Camilla Löwy
55b1a16f90
Remove window requirement for all event functions
...
This lets an application wait for non-window events without needing to
create a window.
Fixes #1317 .
ago%!(EXTRA string=6 years)
Camilla Löwy
ea7eb2ddab
Cocoa: Move app delegate and menu creation to init
...
The application delegate needs to be set at init to receive monitor
events before window creation. Menu creation is moved to
applicationWillFinishLaunching: to play nicer with other toolkits in the
same process.
Related to #1317 .
ago%!(EXTRA string=6 years)
Camilla Löwy
9a9568212c
Cocoa: Move slightly towards modern Objective-C
ago%!(EXTRA string=6 years)
Camilla Löwy
72c3908e14
X11: Fix glfwSetWindowMonitor not flushing buffer
ago%!(EXTRA string=6 years)
Camilla Löwy
cde0aaaab1
X11: Fix glfwSetWindowMonitor not updating hints
...
This makes glfwSetWindowMonitor update the WM_NORMAL_HINTS when resizing
non-user-resizable windowed mode windows.
ago%!(EXTRA string=6 years)
Camilla Löwy
c90c7b9710
Add credit
...
Related to #1383 .
ago%!(EXTRA string=6 years)
Camilla Löwy
1635fe2826
Cleanup
...
Put the non-client painting related message cases with the client ones
so that they can be happy together.
Related to #1383 .
ago%!(EXTRA string=6 years)
Aaron Loucks
9ac9d7b85a
Win32: Disable non-client painting if undecorated
...
Fixes an issue where a small title bar and window caption
buttons were being painted after restoring a minimized
undecorated window.
Closes #1383 .
ago%!(EXTRA string=6 years)
Vallentin
e29882523e
Fix typos
...
Closes #1402 .
ago%!(EXTRA string=6 years)
Camilla Löwy
3531c320af
Fix glfwSetGamma generating ramps of invalid sizes
...
This makes glfwSetGamma generate a gamma ramp of the same size as the
monitor's current ramp, which will avoid failure on non-256 entry
monitors on X11 and avoid ramp interpolation on macOS.
Closes #1387 .
Fixes #1388 .
ago%!(EXTRA string=6 years)
Camilla Löwy
52c7a4fc7f
Fix glfwGetGammaRamp error handling
...
This makes glfwGetGammaRamp return NULL on platform error as specified.
Related to #1387 .
ago%!(EXTRA string=6 years)
Camilla Löwy
3201eedc34
Cleanup
...
We have a usable fminf now.
ago%!(EXTRA string=6 years)
Camilla Löwy
a533c9b3ca
Add credit
...
Related to #1387 .
ago%!(EXTRA string=6 years)
Alexander Monakov
064dfaa549
Wayland: Remove gamma-related TODOs
...
Commit 9c513346ad
("Gamma will never be
supported on Wayland") made it clear that it cannot be implemented, so
this removes the TODO markers and rewords the error messages.
Related to #1387 .
ago%!(EXTRA string=6 years)
Camilla Löwy
751c6f9a27
Fix assertions for glfwSetGamma value
...
The NaN assert was implicit in the other ones. The lower bound assert
incorrectly allowed a value of zero.
Related to #1387 .
ago%!(EXTRA string=6 years)
Camilla Löwy
8c611fd5d0
Win32: Fix build on older versions of Visual C++
...
Older versions did not provide fmin or fmax. This adds internal
versions of fminf and fmaxf that should not be confused with
standards compliant implementations.
ago%!(EXTRA string=6 years)
Camilla Löwy
8e313d911b
Cleanup
...
GLFW_PLATFORM_ERROR should be listed last.
ago%!(EXTRA string=6 years)
Sylvain Boilard
3b255af4c3
Documentation work
...
The error section of the reference documentation for
glfwWaitEventsTimeout was missing.
Closes #1326 .
ago%!(EXTRA string=6 years)
Camilla Löwy
a59315ed6a
Win32: Fix joystick element info memory leak
...
The array was freed on failure but not on success.
Fixes #1396 .
ago%!(EXTRA string=6 years)
Camilla Löwy
f4a304ff03
Remove deprecated event from events test
ago%!(EXTRA string=6 years)
Camilla Löwy
86e7bf4169
Documentation work
ago%!(EXTRA string=6 years)