mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 08:43:25 +00:00
Removed redundant tests
This commit is contained in:
parent
680cef6aaf
commit
bd80f1a3d3
@ -1459,7 +1459,7 @@ static void handleEvents(double* timeout)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((fds[CURSOR_FD].fd > 0 ) && (fds[CURSOR_FD].revents & POLLIN))
|
if (fds[CURSOR_FD].revents & POLLIN)
|
||||||
{
|
{
|
||||||
uint64_t repeats;
|
uint64_t repeats;
|
||||||
|
|
||||||
@ -1467,7 +1467,7 @@ static void handleEvents(double* timeout)
|
|||||||
incrementCursorImage(_glfw.wl.pointerFocus);
|
incrementCursorImage(_glfw.wl.pointerFocus);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((fds[LIBDECOR_FD].fd > 0 ) && (fds[LIBDECOR_FD].revents & POLLIN))
|
if (fds[LIBDECOR_FD].revents & POLLIN)
|
||||||
{
|
{
|
||||||
if (libdecor_dispatch(_glfw.wl.libdecor.context, 0) > 0)
|
if (libdecor_dispatch(_glfw.wl.libdecor.context, 0) > 0)
|
||||||
event = GLFW_TRUE;
|
event = GLFW_TRUE;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user