Kovid Goyal
5bb2cb06a9
Fix #5477
2022-09-05 21:43:56 +05:30
Kovid Goyal
cd369f633a
Wayland: Ensure that opengl buffer swapping does not happen till the xdg surface is configured
2022-06-28 10:47:33 +05:30
Kovid Goyal
a36d5dcde1
GLFW API for changing colorspace of windows on cocoa
2022-04-26 10:56:34 +05:30
Kovid Goyal
d95a00df73
GLFW API to check if window is fullscreen
2021-11-11 12:33:12 +05:30
Kovid Goyal
00828cb804
More reloading work for various options
2021-06-07 09:30:15 +05:30
Kovid Goyal
abc1e3f289
Remove the function used to init glfw key events
...
Instead use C99 struct initializers. Much less error prone.
2021-01-16 20:52:14 +05:30
Kovid Goyal
a681162326
Start work on supporting arbitrary unicode keys
2021-01-16 20:52:11 +05:30
Luflosi
dd54db47a9
GLFW: Move mouse passthrough before window showing
...
From upstream: dfeacee000
.
2020-07-17 00:07:36 +02:00
Luflosi
44775e4644
GLFW: Remove no-op call at window creation
...
From upstream: 1095a43708
.
2020-07-16 23:55:24 +02:00
Luflosi
805921d6a3
GLFW: Move management of shared state to shared code
...
From upstream: 6d2003d07a
.
2020-07-16 23:54:16 +02:00
Luflosi
d0c6ce9fd7
GLFW: Add support for mouse input transparency
...
From upstream: d285a9fdeb
.
2020-07-16 22:25:12 +02:00
Luflosi
bd31c2b484
Add GLFW_CONTEXT_DEBUG window hint alias
...
From upstream: b420ca7404
.
2020-06-29 15:30:38 +02:00
Anders Eurenius
4619259e26
Implement resize by increment
2019-12-09 08:33:32 +01:00
Benoit de Chezelles
7f2b98fad7
Rename all uses of 'scancode' to 'native_key' where relevant
2019-10-16 02:25:20 +02:00
Luflosi
f3b9ff5f9f
Use datatype monotonic_t instead of double to keep track of time
...
The time is stored in a signed 64 bit integer with nanosecond accuracy. This eliminates the possibility of floating-point inaccuracies.
`monotonic_t` can currently hold values large enough to work correctly for more than 200 years into the future.
Using a typedef instead of directly using `int64_t` everywhere will also allow easily changing the datatype in the future should the need arise for more precise or bigger time values.
2019-09-25 17:43:11 +02:00
Benoit de Chezelles
53275c9137
Extract key event data to struct
2019-09-24 19:15:35 +02:00
Luflosi
28bb123be8
Update the GLFW version number from 3.3 to 3.4
...
Closes https://github.com/kovidgoyal/kitty/issues/1884 .
From a337c56848
.
2019-08-02 11:00:16 -05:00
Luflosi
b8d2b76ee4
Reduce the difference of glfw to upstream
2019-07-28 00:10:50 -05:00
Luflosi
489f3e6c9d
Add C dialect reminders to each glfw source file
...
Reduces the difference to upstream.
From 56aad76b16
.
2019-07-20 21:07:27 -05:00
Luflosi
bdc4558a43
Update GLFW copyright years
...
Reduces the difference to upstream.
From ab118b2529
.
2019-07-20 00:30:13 -05:00
Kovid Goyal
841c907efc
Build glfw with all warnings enabled
2019-07-01 10:42:07 +05:30
Kovid Goyal
47acc9ff2f
Get rid of GLFW_(TRUE|FALSE)
2019-06-08 08:14:30 +05:30
Kovid Goyal
fe62700825
Get rid of GLFWbool
2019-06-08 08:12:42 +05:30
Kovid Goyal
1fa9b8f102
X11: use the window manager's native full-screen implementation when making windows full-screen
...
This matches the behavior on Cocoa and Wayland.
Fixes #1605
2019-05-12 15:53:06 +05:30
Kovid Goyal
e9e4ac13ee
Fix #1472
2019-03-16 07:37:36 +05:30
Kovid Goyal
d3cee832ce
Wayland: Dont try to focus window on create/show since it is not allowed anyway
2019-03-07 18:14:12 +05:30
Kovid Goyal
3bd1ca0ac3
Avoid using timing related hacks to detect the end of a live resize on macOS
...
Since cocoa provides start/end notifications for live resizing, rely on
those instead.
2019-03-04 19:52:46 +05:30
Kovid Goyal
f0a2c34eca
Port cocoa backed to use glfw mainloop
2019-03-04 19:52:46 +05:30
Kovid Goyal
dcb2d95f9a
GLFW: Add support for window occluded notifications on macOS
...
Based on: https://github.com/glfw/glfw/pull/1123
2019-02-18 10:03:21 +05:30
Kovid Goyal
cb7eb48768
Cleanup
...
From upstream: d5ab3e919a
2019-02-03 20:04:54 +05:30
Kovid Goyal
419b078104
Remove duplicate centerCursor function
...
From upstream: a46104ee69
2019-02-03 19:56:16 +05:30
Kovid Goyal
c887df6ab4
GLFW upstream commit to allow waiting on events without a window
...
55b1a16f90
2019-01-20 14:55:36 +05:30
Luflosi
09183772d3
Respect the default system double-click interval
2018-10-26 11:57:33 +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
f5cc2fd8ad
Update GLFW from upstream
2018-09-04 09:49:18 +05:30
Kovid Goyal
c6c6a18375
Handle keys returned by IBUS
2018-07-12 18:18:19 +05:30
Kovid Goyal
56063b283e
Implement text commit from the IME system
2018-07-12 18:18:19 +05:30
Kovid Goyal
4e6d929e20
Update glfw from upstream
2018-06-01 09:15:35 +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
d0f839bbd8
Fix audible bell not working under Wayland
2018-03-27 19:45:19 +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
a5078afd1e
Move the bell implementation into glfw
2017-12-01 12:16:13 +05:30
Kovid Goyal
9307486254
Initial import of glfw
2017-12-01 12:15:36 +05:30