26 Commits

Author SHA1 Message Date
Kovid Goyal
ab960ea12d
Linux: Fix slow startup on some systems caused by GLFW searching for joysticks. Since kitty does not use joysticks, disable joystick support.
Fixes #830
2018-08-31 07:51:19 +05:30
Kovid Goyal
009ef54de7
Implement high precision scrolling with the trackpad on platforms such as macOS and Wayland that implement it.
Fixes #819. Note that I have no idea whether the code works well on
retina screens, might have to multiple the pixel count by the scale
factor on those screens?
2018-08-24 11:00:58 +05:30
Kovid Goyal
c6c6a18375
Handle keys returned by IBUS 2018-07-12 18:18:19 +05:30
Kovid Goyal
6879a492dc
Give watches and timers names to ease debugging 2018-07-12 18:18:18 +05:30
Kovid Goyal
99ea6c08a7
Implement timers for the linux event loops
Needed for dbus integration. Also cleanup the event handling code.
X11 and Wayland now share most of their event polling and dispatch logic.
2018-07-12 18:18:17 +05:30
Kovid Goyal
3d6995d1e6
Work on integration of DBUS into event loop 2018-07-12 18:18:17 +05:30
Kovid Goyal
e91eb27e56
Refactor linux backend event loops
Allow waiting for events on an arbitrary number of fds. Needed
for async DBUS integration.
2018-07-12 18:18:17 +05:30
Kovid Goyal
3a4b614ae0
IBUS does not need a connection to the DBUS session bus 2018-07-12 18:18:16 +05:30
Kovid Goyal
cdee601137
Start work on IBUS support 2018-07-12 18:18:16 +05:30
Kovid Goyal
2491fafe98
Update glfw from upstream 2018-06-23 14:59:36 +05:30
Kovid Goyal
44b84ba295
Update glfw from upstream 2018-06-08 14:27:30 +05:30
Kovid Goyal
eecf80469e
Update glfw from upstream
Adds glfwpostemptyevent not working fix to wayland backend as well
2018-06-08 09:14:14 +05:30
Kovid Goyal
9edfafcac2
Update glfw 2018-03-31 12:21:37 +05:30
Kovid Goyal
caf9a12b34
Update glfw from upstream
libxkbcommon based keyboard handling now works (at least the basic
stuff, haven't tested compose/mapnotify etc.)
2018-03-31 12:21:36 +05:30
Kovid Goyal
80f3fe6e9f
... 2018-03-29 00:05:37 +05:30
Kovid Goyal
9ba2c4b397
Update glfw from upstream 2018-03-28 19:57:01 +05:30
Kovid Goyal
bfa53d4b45
Update glfw from upstream
Includes proper fix for Wayland key repeat
2018-03-28 15:26:56 +05:30
Kovid Goyal
69f3ceb903
Merge glfw upstream changes to build on Wayland on FreeBSD 2018-03-28 09:47:16 +05:30
Kovid Goyal
1edf1524f8
Update bundled glfw 2018-03-03 11:21:09 +05:30
Kovid Goyal
77d46630d7
Update bundled glfw 2018-02-08 09:15:40 +05:30
Kovid Goyal
6ad21fc98f
Update bundled glfw 2018-01-29 12:30:05 +05:30
Kovid Goyal
d43d6ab0a9
Update bundled glfw 2018-01-12 05:34:53 +05:30
Kovid Goyal
2f4f3e3331
Update bundled glfw 2017-12-20 09:07:06 +05:30
Kovid Goyal
fb41ecb2e5
Update bundled glfw 2017-12-01 12:16:16 +05:30
Kovid Goyal
85fcd51ea3
Enable building of glfw-wayland backend 2017-12-01 12:16:13 +05:30
Kovid Goyal
9307486254
Initial import of glfw 2017-12-01 12:15:36 +05:30