Emmanuel Gil Peyrot
60e82ba472
Handle scaling factor (hidpi) correctly
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
f51c219b1c
Handle maximized size correctly
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
31cea7fa24
Remove decorations when fullscreen
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
58b21d336c
Factorise moving to fullscreen
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
8ed91e8a77
Only create decorations if wp_viewporter is supported
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
4e31dc5e6e
Make it possible to toggle window decorations
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
1f8ec20b55
Correctly destroy subsurfaces on window destroy
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
4a42364a19
Return correct values for frame size
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
9f7ec6b094
Implement window decorations
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
9a7656364e
Split shm buffer creation out of _glfwPlatformCreateCursor
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
2de3605b4c
Make createAnonymousFile static
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
f67b610dd4
Wayland: Handle repeats which missed a timer
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
90f5edc0b8
Wayland: Use a timerfd for key repeat
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
f5d3954568
Stop checking for resizing
...
Fixes #1197
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
eb7c9994bf
Prevent auto-iconify from firing on window creation
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
f2617a671f
Add a roundtrip after creating the xdg-surface
...
The specification says we must not attach a buffer until we’ve received
a configure event.
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
4778d02c67
Ignore _glfwPlatformShowWindow when already visible
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
f710db6504
Ignore configure events of 0×0px
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
0e759c9422
Don’t set min/max size on GLFW_DONT_CARE
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
ae44a28125
Wayland: Add an alternate surface role using xdg-shell
...
This protocol matches desktops much better than the deprecated
wl_shell, fixing a bunch of race conditions, removing undefined
behaviour, adding missing features, and generally providing a much more
user-friendly experience.
Since most compositors don’t support it yet, the wl_shell_surface role
is kept as fallback for now.
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
a199efae44
Wayland: Emit an error when wl_shell is absent or unusable
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
407a3e2860
Load libwayland-cursor at runtime
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
5fbf4ddde8
Load libwayland-egl at runtime
ago%!(EXTRA string=7 years)
Camilla Löwy
973bf29622
Remove use of non-standard function strdup
...
Related to #873 .
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
6c421f131d
Wayland: Implement scale callback
...
Closes #1181 .
ago%!(EXTRA string=7 years)
Camilla Löwy
ee9dffcd66
Add GLFW_HOVERED for polling cursor hover state
...
This window attribute corresponds to the cursor enter/leave callback.
Fixes #1166 .
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
65166858ff
Wayland: Add support for the idle-inhibit protocol
...
Closes #955 .
ago%!(EXTRA string=8 years)
Camilla Löwy
11e47f08b1
Add glfwGetWindowOpacity and glfwSetWindowOpacity
...
This adds support for setting the opacity of the whole window, including
any decorations.
Fixes #1089 .
ago%!(EXTRA string=8 years)
Camilla Löwy
31cbb20ba2
Deprecate window parameter of clipboard functions
ago%!(EXTRA string=8 years)
Camilla Löwy
bf09dba95b
Cleanup
ago%!(EXTRA string=8 years)
Camilla Löwy
16bf872117
Add content scale queries
...
This adds glfwGetWindowContentScale and glfwGetMonitorContentScale for
querying the recommended drawing scale factor for DPI-aware rendering.
Parts of this patch are based on code by @ferreiradaselva .
Fixes #235 .
Fixes #439 .
Fixes #677 .
Fixes #845 .
Fixes #898 .
ago%!(EXTRA string=8 years)
Emmanuel Gil Peyrot
95e282d5a0
Wayland: Add transparency support
...
Closes #788 .
ago%!(EXTRA string=8 years)
Camilla Löwy
32e78aeb2e
Add GLFW_TRANSPARENT attribute and documentation
...
This completes support for window framebuffer transparency on Windows,
macOS and X11. Note that the hint/attribute may be renamed before
release to clarify its relationship to GLFW_OPACITY.
Fixes #197 .
Closes #1079 .
Related to #663 .
Related to #715 .
Related to #723 .
Related to #1078 .
ago%!(EXTRA string=8 years)
Camilla Löwy
e3be6b8ae0
Cleanup
...
Break up some overly long lines.
ago%!(EXTRA string=8 years)
Camilla Löwy
82284b86eb
Cleanup
...
Thanks to glfwGetKeyScancode we can now pass only a scancode to the
platform layer for glfwGetKeyName.
ago%!(EXTRA string=8 years)
Camilla Löwy
baa9cd8968
Cleanup
...
Closes #988 .
ago%!(EXTRA string=8 years)
Felipe Ferreira da Silva
412eb6a611
Add glfwRequestWindowAttention
...
Related to #988 .
ago%!(EXTRA string=8 years)
Emmanuel Gil Peyrot
0e0862cfc7
Wayland: Fix broken build
...
Regression caused by e9560ef021
.
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)
Camilla Löwy
9e56099edd
Add glfwSetWindowAttrib
...
This function allows updating the GLFW_DECORATED, GLFW_RESIZABLE,
GLFW_FLOATING and GLFW_AUTO_ICONIFY attributes for existing windows.
Fixes #537 .
ago%!(EXTRA string=9 years)
Emmanuel Gil Peyrot
a49601ba87
Wayland: Rename snake_case identifiers to camelCase for consistency
ago%!(EXTRA string=9 years)
Camilla Berglund
e6a32db7b9
Cleanup
ago%!(EXTRA string=9 years)
Camilla Berglund
bb3cb8f233
Cleanup
...
Clean up code and documentation for glfwGetKeyScancode and add
implementation for Wayland and Mir.
Related to #830 .
ago%!(EXTRA string=9 years)
Michael Stocker
e745b0dd47
Add glfwGetKeyScancode
...
Allows retrieval of platform scancode from GLFW_KEY_*. Implemented for
Win32, Cocoa and X11. Stubs for Mir and Wayland.
Closes #830 .
ago%!(EXTRA string=9 years)
Camilla Berglund
5ff7d9505f
Simplify Vulkan extension checks
...
Related to #478 .
ago%!(EXTRA string=9 years)
Camilla Berglund
53fafad915
Start 3.3
ago%!(EXTRA string=9 years)
Camilla Berglund
fcdef1d0a0
Fix potential context resource leaks
...
There is a gap between the creation of the context and the call to
_glfwRefreshContextAttribs.
ago%!(EXTRA string=9 years)
Camilla Berglund
d5e00e6b0f
Initialize context creation APIs on demand
ago%!(EXTRA string=9 years)
Camilla Berglund
bda031f4ac
Cleanup
ago%!(EXTRA string=9 years)
Camilla Berglund
797ee8d8e3
Move all cursor positioning to platform code
...
Due to Wayland, shared code cannot rely on cursor positioning being
supported by the underlying platform.
This implicitly fixes #617 as it moves cursor centering into
_glfwPlatformSetCursorMode, thus separating it from the stale value of
_glfw.cursorWindow.
Fixes #617 .
ago%!(EXTRA string=9 years)