GamesTrap
4a66bf3b60
Added documentation to window.dox
2023-02-05 04:19:15 +01:00
GamesTrap
74dac5cfb4
Win32: glfwSetWindowTaskbarProgress now emits GLFW_FEATURE_UNAVAILABLE on Windows Vista and older
2023-02-05 03:03:54 +01:00
GamesTrap
f590075121
Removed taskbar-progress from branch local GH Actions workflow
2023-02-05 02:53:47 +01:00
GamesTrap
19f9247a68
Added documentation
2023-02-05 02:50:53 +01:00
GamesTrap
c8fd71c7e7
Added credit
2023-02-03 23:38:45 +01:00
GamesTrap
fb6826c934
Fixed Cocoa linker error
2023-02-03 23:35:29 +01:00
GamesTrap
efac372213
Fixed Wayland linker error
2023-02-03 23:31:02 +01:00
GamesTrap
8b1b11c3c4
Fixed GitHub Action errors
2023-02-03 23:27:45 +01:00
GamesTrap
48818fc7a9
Unified X11/Wayland code path using _glfwUpdateTaskbarProgressDBusPOSIX()
2023-02-03 23:23:25 +01:00
GamesTrap
7d5bb13b88
Enabled GitHub Action for the taskbar-progress branch
2023-02-03 22:48:47 +01:00
Jan Schürkamp
48e08616d9
Merge branch 'glfw:master' into taskbar-progress
2023-02-01 00:28:58 +01:00
Camilla Löwy
8f470597d6
Add support for manually running build workflow
2023-01-26 18:41:46 +01:00
Camilla Löwy
57cbded076
Add credit
...
Related to #2225
2022-12-16 13:44:59 +01:00
Takuro Ashie
41d8da1cea
Wayland: Fix wrong array size for _GLFWofferWayland
...
Closes #2225
2022-12-16 13:40:36 +01:00
TheBrokenRail
00967cbb8a
Linux: Fix joystick input being disabled
...
Closes #2192
2022-12-15 20:18:59 +01:00
GamesTrap
11ddcdde9f
Merge remote-tracking branch 'upstream/master' into taskbar-progress
2022-10-14 18:05:48 +02:00
Camilla Löwy
dd8a678a66
Update Doxyfile template for Doxygen 1.9.5
...
This is mostly to disable Doxygen HTML output dark mode (for now).
2022-09-20 19:38:37 +02:00
Camilla Löwy
97b9e49637
Documentation work
2022-09-20 17:03:30 +02:00
Camilla Löwy
b2b087cd8e
Fix documented errors for gamma ramp functions
...
Fixes #2186
2022-09-20 17:02:51 +02:00
Camilla Löwy
d299d9f788
Remove Doxyfile tags deprecated by Doxygen 1.9.5
2022-09-15 22:25:10 +02:00
Camilla Löwy
ed1d9e1ca7
Document X11 WM_CLASS hint behavior
...
Fixes #2180
2022-09-15 22:25:10 +02:00
Camilla Löwy
ab3ea8ac9f
Win32: Remove unhelpful helper function
2022-09-15 22:25:10 +02:00
Camilla Löwy
c812b9d87c
Add conditional compilation for platform units
...
This is a step towards being able to compile GLFW manually without
needing to duplicate a lot of platform- or OS-specific logic.
2022-09-15 22:24:39 +02:00
Camilla Löwy
8a72918bcd
Move helper macros to single point of use
2022-09-15 22:14:41 +02:00
Camilla Löwy
ab1b1edfd0
EGL: Cleanup
...
Both config parameters are "desired", but one is older and never had its
name updated.
This commit at least makes it clearer that they are similar.
2022-09-15 22:14:41 +02:00
Camilla Löwy
93e93135f2
EGL: Add better error for no stereo
2022-09-15 22:14:41 +02:00
Camilla Löwy
e057666642
EGL: Add better errors for client API mismatch
...
Because EGL ties client API support to configs, attempts to create
a context with an unavailable client API will fail with the unhelpful
"failed to find suitable config" error description.
This attempts to detect cases where there are usable configs for the
other client API and emit a hopefully more helpful error.
Related to #2173
2022-09-15 22:09:56 +02:00
Jan Schürkamp
ec524797cc
Merge branch 'glfw:master' into taskbar-progress
2022-09-02 03:15:13 +02:00
GamesTrap
827cf79f63
Linux Added support for taskbar progress (KDE & Unity)
2022-09-02 02:49:53 +02:00
Camilla Löwy
6b57e08bb0
Check if context creation APIs match when sharing
2022-08-22 19:17:12 +02:00
Camilla Löwy
2c0f34b60f
WGL: Fix count of displayable pixel formats
...
We only care about displayable pixel formats (as defined in
WGL_ARB_pixel_format) for window context creation.
This changes pixel format enumeration to ignore non-displayable formats,
which are specified to be listed after displayable ones, by always using
the return value of DescribePixelFormat as the pixel format count.
2022-08-22 19:15:41 +02:00
Jan Schürkamp
fb4c22ed9c
Merge branch 'glfw:master' into taskbar-progress
2022-08-06 16:38:09 +02:00
Camilla Löwy
ef6c9d8b4f
Wayland: Fix window opacity on older systems
...
On systems lacking the EGL_EXT_present_opaque extension, some
compositors treat any buffer with an alpha channel as per-pixel
transparent.
This commit ignores any EGLConfig with an alpha channel if the extension
is missing and the window is created with GLFW_TRANSPARENT_FRAMEBUFFER
set to false.
This is technically not a breaking change since GLFW_ALPHA_BITS is not
a hard constraint, but it is still going to inconvenience anyone using
the framebuffer alpa channel to store other kinds of data.
Related to #1895
2022-08-01 19:19:51 +02:00
Camilla Löwy
c18851f52e
GLX: Add support for loading glvnd libGLX
2022-07-29 19:14:04 +02:00
Camilla Löwy
55aad3c37b
EGL: Add support for loading glvnd libOpenGL
2022-07-29 19:14:04 +02:00
Camilla Löwy
0f9a9578f3
Add window hints for initial position
...
This adds window hints for the initial position, in screen coordinates,
of a window. The special value GLFW_ANY_POSITION means the window
manager will be allowed to position the window.
It is not possible to set window positions on Wayland and GLFW will
always behave as if these hints are set to GLFW_ANY_POSITION.
Fixes #1603
Fixes #1747
2022-07-29 11:50:13 +02:00
Camilla Löwy
7d73629e50
X11: Preserve unrelated values in WM_NORMAL_HINTS
...
This stops GLFW overwriting the whole WM_NORMAL_HINTS property every
time it updates size-related parts of it.
2022-07-28 22:50:17 +02:00
Camilla Löwy
2efc598d70
Fix native access macros being mutually exclusive
...
The documentation was updated with the introduction of run-time platform
selection, but the preprocessor logic was not.
2022-07-28 15:56:47 +02:00
TheChocolateOre
2e12ef00bb
Fix typos and other issues in docs
...
This fixes spelling, grammar and punctuation issues, missing words and
stray words across the documentation. A confusing sentence was removed
from the tutorial.
Closes #2085
2022-07-28 15:56:18 +02:00
Camilla Löwy
3a60992a41
Wayland: Add error for unsupported feature
2022-07-25 18:02:57 +02:00
Camilla Löwy
3a5c726d1b
Wayland: Remove unreachable code
...
This platform function is only called if the cursor is enabled.
2022-07-25 18:02:57 +02:00
Camilla Löwy
7be6a2cabe
Wayland: Clean up pointer helper function order
2022-07-25 18:02:57 +02:00
Camilla Löwy
488008e0a2
Add cursor mode GLFW_CURSOR_CAPTURED
...
This adds a cursor mode that provides a visible cursor confined to the
content area of the window.
Fixes #58
2022-07-25 18:02:57 +02:00
Camilla Löwy
a46f829de8
Refactor cursor mode paths
...
This is the refactoring part of adding GLFW_CURSOR_CAPTURED, separated
out to help keep 3.3-stable similar to the main branch.
Related to #58 .
2022-07-25 18:02:57 +02:00
Camilla Löwy
03af6b3d4c
Wayland: Fix leaks of pointer related objects
2022-07-25 18:02:35 +02:00
Camilla Löwy
09ebf3f0bf
Wayland: Fix error for missing protocol
...
A protocol not being available is not a platform error. The platform is
doing fine; we're just sad that it lacks a feature we want.
2022-07-25 18:00:59 +02:00
Camilla Löwy
e85b645b8a
Wayland: Clean up pointer locking
...
Shorten names and allow C99 declarations. Replace helper function with
the NULL check it was hiding. Separate cursor hiding from pointer
locking.
2022-07-25 17:53:04 +02:00
Michael Pennington
b9ed25d2e9
Wayland: Add GLFW_WAYLAND_APP_ID window hint
...
This adds a window hint string for the xdg_toplevel::app_id, which is
used by desktop environments to connect windows with application icons
and other information. This is similar to the WM_CLASS property on X11.
A few very minor fixes were done by @elmindreda during merge.
Fixes #2121
Closes #2122
2022-07-24 17:51:54 +02:00
GamesTrap
8acb72b9a1
Win32 Added support for taskbar progress
2022-07-23 21:28:35 +02:00
Camilla Löwy
26b85215c0
Wayland: Static function more static when static
2022-07-22 18:00:40 +02:00