Emmanuel Gil Peyrot
e0b83bbe8d
Wayland: Use HiDPI cursors on decorations
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
321062833a
Wayland: Load a bigger cursor theme for HiDPI
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
5ea6e6cda2
Wayland: Add support for animated standard cursors
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
dede6d6886
Wayland: Add a timerfd for animated cursors
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
685f2a5f91
Wayland: Close forgotten timerfd on terminate.
ago%!(EXTRA string=7 years)
Greg V
0a3c4f5d80
Add support for Wayland on FreeBSD and other OSes
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
0d4534733b
Wayland: Destroy subcompositor and viewporter on terminate
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
a8e551cffa
Fix resizing and moving under xdg-shell
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
9f7ec6b094
Implement window decorations
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
9dc18a62a6
Rename wl_pointer to pointer
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
5b65b9b860
Prevent a crash when giving focus to a non-GLFWwindow surface
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
552e40a4be
Add wl_subcompositor support
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
79e16baca3
Add wp_viewporter support
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
d6b9d00ceb
Wayland: Handle monitor removal
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
608f055c72
Wayland: Open the timerfd with cloexec
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
84d10b32c3
Wayland: Ask xkbcommon whether to repeat a key
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
8bc0c5c2c0
Wayland: dlsym() xkb_keymap_key_repeats
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
97bf16e5b6
Wayland: Check for wayland protocol version
...
wl_keyboard version 4 is more recent than the libwayland available in
Ubuntu 14.04.
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
90f5edc0b8
Wayland: Use a timerfd for key repeat
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
c14a35e21e
Wayland: Obtain keyboard repeat_info
...
This had to bump the seat version, we now may get the seat name but we
don’t do anything with it.
ago%!(EXTRA string=7 years)
Camilla Löwy
53b193a161
Wayland: Fix uninitialized variable warning
...
Related to #1143 .
Fixes #1197 .
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
525ad7bfb8
Close the libwayland-cursor handle after destroying the cursor theme
...
Fixes a segfault on glfwTerminate().
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
14856e8b60
Wayland: Bind, listen and destroy xdg_wm_base
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
440e7e36f3
Fix typography of error messages
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)
Emmanuel Gil Peyrot
6e69f63ffa
Use the _glfw_dlopen/dlsym/dlclose define
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
eb732457ea
Prevent a race between surface destruction and focus
...
The Wayland protocol is asynchronous, by the time we destroy a surface,
the compositor may have sent a wl_keyboard::enter or wl_pointer::enter
events which now point to no surface, yet we receive it after.
To prevent this race, we can just ignore any enter event targetting a
NULL surface.
Fixes #1150 .
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
93186e4999
Wayland: Fix glfwTerminate segfault on failed init
...
Closes #1172 .
ago%!(EXTRA string=8 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=8 years)
Camilla Löwy
8dab9f6ab1
Wayland: Clarify assertion
...
Related to #1143 .
ago%!(EXTRA string=8 years)
Camilla Löwy
0e8c4ea7ce
Add lock key modifier bits input mode
...
This adds the GLFW_MOD_CAPS_LOCK and GLFW_MOD_NUM_LOCK modifier bits.
Set the GLFW_LOCK_KEY_MODS input mode to enable these for all callbacks
that receive modifier bits.
Fixes #946 .
ago%!(EXTRA string=8 years)
Emmanuel Gil Peyrot
65166858ff
Wayland: Add support for the idle-inhibit protocol
...
Closes #955 .
ago%!(EXTRA string=8 years)
Emmanuel Gil Peyrot
d18431338a
Wayland: Disable the compose key on old xkbcommon
ago%!(EXTRA string=8 years)
Emmanuel Gil Peyrot
cc87d5ab10
Wayland: Assert that we only get a known axis
ago%!(EXTRA string=8 years)
Emmanuel Gil Peyrot
a7a70cf34d
Wayland: Add dynamic loading of libxkbcommon
ago%!(EXTRA string=8 years)
Emmanuel Gil Peyrot
0019f7a45e
Wayland: Stop crashing when Compose is unavailable
...
There was a missing check for when no Compose key was configured in the
xkb file, making _glfw.wl.xkb.composeState NULL and crashing on key
press.
Closes #1059 .
ago%!(EXTRA string=8 years)
Camilla Löwy
549308051d
Linux: Update joystick API in version strings
ago%!(EXTRA string=8 years)
pengo
4884232360
Wayland: Update serial on button callback
...
The serial needs to be update for starting operations like moving and
resizing a window.
Closes #992 .
ago%!(EXTRA string=8 years)
Camilla Löwy
aaf2800c9c
Add internal TLS support
...
Related to #970 .
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
f474b6da85
Wayland: Fix missing scancode for Space key
...
Fixes #936 .
ago%!(EXTRA string=9 years)
Camilla Löwy
04f559e28d
Restructure monitor enumeration
...
This way is both kinder on event-based enumeration and less work to
unwind allocations for when properly implementing GLFW_OUT_OF_MEMORY.
ago%!(EXTRA string=9 years)
Emmanuel Gil Peyrot
046d281abc
Wayland: Implement compose key for character input
...
This commit has been copied almost verbatim from Bryce Harrington’s
patch against Weston’s toytoolkit[1]. He gave his agreement to
relicense it under zlib[2].
[1] https://patchwork.freedesktop.org/patch/114661/
[2] https://github.com/glfw/glfw/pull/879#issuecomment-252988257
ago%!(EXTRA string=9 years)
Emmanuel Gil Peyrot
a49601ba87
Wayland: Rename snake_case identifiers to camelCase for consistency
ago%!(EXTRA string=9 years)
Emmanuel Gil Peyrot
aa10ec6e45
Wayland: Replace all deprecated xkbcommon aliases.
ago%!(EXTRA string=9 years)
Emmanuel Gil Peyrot
be935debe9
Wayland: Properly unref all xkbcommon objects.
ago%!(EXTRA string=9 years)
Emmanuel Gil Peyrot
1c8a74b661
Wayland: Properly destroy all bound objects.
ago%!(EXTRA string=9 years)
Emmanuel Gil Peyrot
2eb1657d91
Wayland: Only input a character on GLFW_PRESS action
...
Closes #804 .
ago%!(EXTRA string=9 years)
Camilla Berglund
e6a32db7b9
Cleanup
ago%!(EXTRA string=9 years)