mirror of
https://github.com/glfw/glfw.git
synced 2025-04-07 06:25:05 +00:00
Wayland: Open the timerfd with cloexec
This commit is contained in:
parent
84d10b32c3
commit
608f055c72
1 changed files with 1 additions and 1 deletions
|
@ -848,7 +848,7 @@ int _glfwPlatformInit(void)
|
|||
|
||||
_glfw.wl.timerfd = -1;
|
||||
if (_glfw.wl.seatVersion >= 4)
|
||||
_glfw.wl.timerfd = timerfd_create(CLOCK_MONOTONIC, 0);
|
||||
_glfw.wl.timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC);
|
||||
|
||||
if (_glfw.wl.pointer && _glfw.wl.shm)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue