Kovid Goyal
0195e7f841
Wayland: Add support for animated cursors
2018-09-10 11:54:22 +05:30
Kovid Goyal
141b8a1481
Update glfw from upstream
2018-09-10 09:51:06 +05:30
Kovid Goyal
0fa12a687d
Linux: Turn off IME unless the GLFW_IM_MODULE=ibus env var is set
2018-09-07 16:07:01 +05:30
Kovid Goyal
aa9de47da3
Support compose sequences with no symbol
...
Compose sequences can be defined without an associated symbol. To test for
completeness, we now also rely on XKB’s reported compose state.
Fixes #880 .
2018-09-06 14:53:16 +02:00
Kovid Goyal
33f0ac83c1
Wayland: Allow using the --class to set the app id
...
Fixes #862
2018-09-06 06:54:38 +05:30
Kovid Goyal
1949f3c3d5
Wayland fix self copy detection across multiple processes
2018-09-05 21:45:32 +05:30
Kovid Goyal
6a51ce5dc4
Wayland: Work on supporting drop of file paths
2018-09-05 21:41:47 +05:30
Kovid Goyal
c0c8e1ce5e
Fill up the rest of the v1 data_source listener struct
2018-09-05 20:04:38 +05:30
Kovid Goyal
6a3d6191bd
Implement the rest of the the data_offer listener callbacks
2018-09-05 19:58:55 +05:30
Kovid Goyal
b2aa07d29f
Wayland: Fix missing data source canceled listener
2018-09-05 19:37:55 +05:30
Kovid Goyal
c84fb68bf8
Wayland: fix copy/pasting into self
2018-09-05 19:23:42 +05:30
Kovid Goyal
128b9e1cd0
Wayland: Implement support for clipboard copy/paste
...
Fix #855
2018-09-05 17:54:26 +05:30
Kovid Goyal
ace052ee70
Move data device initialization into its own function
2018-09-05 07:51:15 +05:30
Kovid Goyal
547959c1ef
Linux: Fix numpad arrow keys not working when num lock is off
...
Fixes #857
2018-09-05 07:31:55 +05:30
Kovid Goyal
f3a1ee7b9f
Wayland backend: Add support for copy to clipboard
2018-09-04 22:22:43 +05:30
Kovid Goyal
f5cc2fd8ad
Update GLFW from upstream
2018-09-04 09:49:18 +05:30
Kovid Goyal
e630b76fac
Don't patch glfw when importing since the patch has moved upstream
2018-09-04 09:46:09 +05:30
Kovid Goyal
14f44e79f7
Remove debug printf
2018-08-31 07:56:21 +05:30
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
Luflosi
1d91edfb00
dont -> don't
2018-08-29 03:18:25 +02:00
Kovid Goyal
ec9bb2302c
...
2018-08-24 11:03:30 +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
96c444d041
Workaround for bug in glfw causing crash when hotplugging monitors
...
Fixes #812
2018-08-21 12:52:16 +05:30
Kovid Goyal
ec1c72e9a3
Fix compiler warning
2018-08-20 10:55:49 +05:30
Kovid Goyal
f9b1f6be5c
Fix #809
2018-08-20 10:24:09 +05:30
Kovid Goyal
ecbe79e04f
Update glfw from upstream
2018-08-12 21:36:19 +05:30
Kovid Goyal
a143faaf05
macOS: Fix control+tab key combination not working
...
Fixes #801
2018-08-11 07:18:24 +05:30
Kovid Goyal
1f90238b18
If malloc fails remove timer from queue
2018-08-09 08:52:22 +05:30
Kovid Goyal
89b636376e
Possible fix for #784
2018-08-09 08:26:25 +05:30
Kovid Goyal
ddd8209c45
Fix crash when pressing enter while using IBUS
2018-08-06 10:35:46 +05:30
Kovid Goyal
d964146f8c
Use ctermid() instead of hardcoding /dev/tty
2018-08-04 20:58:01 +05:30
Kovid Goyal
ab7f3310c4
Dont crash if XRRGetCrtcInfo() returns NULL
2018-08-03 16:17:25 +05:30
Kovid Goyal
9af3081f45
The focus_follows_mouse option now also works across top-level kitty OS windows
...
Fixes #772
2018-07-30 21:26:20 +05:30
Kovid Goyal
cb289125ab
Use _GNU_SOURCE instead of POSIX_SOURCE for fileno()
...
Maybe that will work with FreeBSD
2018-07-29 21:43:02 +05:30
Kovid Goyal
3d1e604a6c
Make the glfw strdup implementation more efficient
2018-07-29 12:21:56 +05:30
Kovid Goyal
1ca49b9380
Fix #761
2018-07-29 12:15:21 +05:30
Kovid Goyal
ed934a0206
Fix #758
2018-07-29 11:07:36 +05:30
Kovid Goyal
97401f843a
Sigh. Apparently _XOPEN_SOURCE is needed on older linux systems for fileno()
2018-07-28 23:54:23 +05:30
Kovid Goyal
02635d506e
Dont use _XOPEN_SOURCE when building
...
Apparently it has exactly opposite semantics for glibc and whatever libcs
are used on BSD. What a clusterfuck.
2018-07-28 22:56:18 +05:30
Kovid Goyal
bd4831e2ee
Some explicit includes needed for FreeBSD
2018-07-26 19:50:38 +05:30
Kovid Goyal
1486af8770
More debug output when using --debug-keyboard
2018-07-26 08:41:16 +05:30
Kovid Goyal
55556aaac4
Ensure queued display events are dispatched when polling/waiting for events
2018-07-13 10:56:12 +05:30
Kovid Goyal
31853ee20c
Handle errno better when polling for events
2018-07-13 10:33:18 +05:30
Kovid Goyal
037bfeff82
Give IBUS a maximum of three seconds to respond to a key press
...
Previously was using the default timeout, which is 25 seconds
2018-07-12 18:18:21 +05:30
Kovid Goyal
98ede457a0
Do not hand on startup if the ibus daemon is hung
2018-07-12 18:18:21 +05:30
Kovid Goyal
1a1aa2d6aa
Nicer debug print for key debugging
2018-07-12 18:18:20 +05:30
Kovid Goyal
6e9aecdff3
Fix Shift key not working with IBUS
...
Fixes #721
2018-07-12 18:18:20 +05:30
Kovid Goyal
95187632bf
Allow using GLFW_IM_MODULE to activate ibus
2018-07-12 18:18:20 +05:30
Kovid Goyal
e3e28a023c
Fix exporting to glfw
2018-07-12 18:18:20 +05:30
Kovid Goyal
29dd766a67
Fix unused vars warning
2018-07-12 18:18:20 +05:30