Kovid Goyal
9721346387
XWayland: Fix a regression where some wheel mice were not scrolling properly
...
We assume increment == 1 and delta * 120 == integer means we have
V120 events in units of 1/120.
Fixes #9770
2026-03-29 14:43:48 +05:30
copilot-swe-agent[bot]
36be8be951
Fix massive scroll on focus return by resetting X11 scroll valuators on focus loss
...
When kitty loses focus and the user scrolls in another
application, X11 XI scroll valuators accumulate position values. When the
user returns to kitty and scrolls, delta (value - v->value) uses the stale
pre-focus-loss value, causing a massive unexpected scroll jump.
Fix: reset scroll valuators (mark them uninitialized) on FocusOut so the
first scroll event after focus is regained sets the baseline without firing
a scroll event.
Fixes #9703
Fixes #9707
2026-03-19 15:31:22 +05:30
Kovid Goyal
c0b549fee8
Make XI2 scroll offset type detection more robust
...
Since we have to use heuristics, lets at least collect stats for a few
events before deciding.
2026-03-12 21:44:20 +05:30
copilot-swe-agent[bot]
4706243380
Fix GLFW drop API to always present full original MIME type list to callbacks
...
Fixes #9633
2026-03-10 20:10:44 +05:30
copilot-swe-agent[bot]
0dfb01e8c5
Implement X11 drag source backend for the new API
...
Fixes #9522
2026-02-18 16:55:52 +05:30
Kovid Goyal
e5eb63fcd0
Refactor drag source API to be async
...
Wayland implementation done. Other two backends remain.
2026-02-17 13:07:55 +05:30
Kovid Goyal
34ffc6cdce
X11: port drop code to new API
2026-02-09 07:54:40 +05:30
copilot-swe-agent[bot]
7ca6fd66f8
Fix self drag not working under Wayland
...
Fixes #9483
2026-02-07 15:10:54 +05:30
copilot-swe-agent[bot]
5ea35cbbfc
Refactor drag API to make it asynchronous
...
Fixes #9477
2026-02-07 08:59:34 +05:30
copilot-swe-agent[bot]
fac4420804
Simplify new drag/drop API
...
Fixes #9466
2026-02-03 22:02:51 +05:30
copilot-swe-agent[bot]
9b35c1b535
Allow changing drag acceptance asynchronously
...
Fixes #9465
2026-02-03 14:43:44 +05:30
copilot-swe-agent[bot]
fa6c76d3e3
Add a GLFW API to support starting drag operations
...
Fixes #9454
Fixes #9455
2026-02-02 20:49:00 +05:30
Kovid Goyal
0d0ee5474d
Cleanup previous PR
2026-01-15 19:26:27 +05:30
copilot-swe-agent[bot]
6436cda482
Add is_finger_based field to XIScrollDevice with detection logic
...
Fixes #9385
2026-01-15 19:18:27 +05:30
Kovid Goyal
da170555fa
Ignore master pointer device events since we use the slave devices
2026-01-11 12:57:56 +05:30
copilot-swe-agent[bot]
bfc21fc7a4
X11: handle XI device hotplugging
...
Fixes #9370
2026-01-10 09:00:37 +05:30
Kovid Goyal
813c560e29
Implement proper scroll event type detection in X11
...
Uses libinput scroll mode property to detect high res devices.
2026-01-10 08:38:45 +05:30
Kovid Goyal
15206eda0b
Add XIGetQuery
2026-01-10 06:17:53 +05:30
copilot-swe-agent[bot]
c1a54a0cc0
Add XI2 smooth scrolling support for X11 backend
...
Fixes #9369
2026-01-09 17:13:24 +05:30
Kovid Goyal
43be32a3d7
More atoms
2025-05-02 12:20:54 +05:30
Kovid Goyal
11cb3adb8f
Reduce roundtrips to X server to fetch atom values
2025-05-02 09:28:24 +05:30
Kovid Goyal
f04fc251bf
Start work on full panel support in X11
2025-05-01 15:44:08 +05:30
Kovid Goyal
7c6d40fa0c
Implement background blur for KDE on X11 as well
2023-06-27 14:56:35 +05:30
Kovid Goyal
98eacb2067
panel kitten: Do not depend on xprop
2022-09-24 15:44:54 +05:30
Kovid Goyal
2cef9abbd3
Get rid of one call to xprop in the panel kitten
2022-09-24 15:17:11 +05:30
Kovid Goyal
7e1380cc0d
Start work on giving GLFW a proper clipboard API
2022-09-08 12:45:34 +05:30
Luflosi
d7cd6edaa5
GLFW: X11: Include X Shape extension headers
...
From upstream: 68e4261d73 .
2020-07-16 23:50:26 +02:00
Luflosi
6a472bd6da
GLFW: X11: Fix disabling of GLFW_MOUSE_PASSTHROUGH
...
From upstream: e81d381256 .
2020-07-16 23:24:48 +02:00
Luflosi
d0c6ce9fd7
GLFW: Add support for mouse input transparency
...
From upstream: d285a9fdeb .
2020-07-16 22:25:12 +02:00
Luflosi
a2f80740d7
Remove EGL and OSMesa struct member macros
...
From upstream: bcb8558189 .
2020-06-26 12:51:11 +02:00
Luflosi
d7a7509da6
EGL: Replace native handle macros with functions
...
From upstream: d7f7b0e1b5 .
2020-06-26 12:17:13 +02:00
Kovid Goyal
2458c3a7c6
Implement drag and drop of text/plain for Wayland as well
2020-03-19 13:28:21 +05:30
Kovid Goyal
e827e6fa21
X11: Allow drag and drop of text/plain in addition to text/uri-list
...
Fixes #2441
2020-03-18 22:37:23 +05:30
Luflosi
74bed658e1
X11: Fix no window position events during resize
...
From upstream: fe57e3c292 .
2020-01-15 13:19:32 +01:00
Kovid Goyal
e142083d53
Remove unused code
...
Strip out the GLFW timer code, since we use our own kitty based
monotonic clock.
2019-12-19 16:27:25 +05:30
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
bdc4558a43
Update GLFW copyright years
...
Reduces the difference to upstream.
From ab118b2529 .
2019-07-20 00:30:13 -05:00
Kovid Goyal
3cd1fef4cb
X11: Clean up EWMH feature detection
...
From upstream: fad9896d38
2019-07-01 05:57:17 +05:30
Luflosi
bada795320
Reduce the difference of glfw/x11_* to glfw upstream
...
This only changes some formatting, whitespace, etc.. There are no
changes to the functionality.
Let me know if you don't like some of those changes.
2019-06-11 17:57:39 +02:00
Kovid Goyal
fe62700825
Get rid of GLFWbool
2019-06-08 08:12:42 +05:30
Kovid Goyal
c95d3b19b3
X11 backend: Get rid of override redirect
...
Was used for hackish fullscreen, which we no longer support
2019-05-12 15:59:16 +05:30
Kovid Goyal
4c4c6ab0e6
Various fixes for monitor work area retrieval from upstream
2019-03-06 09:08:08 +05:30
Kovid Goyal
0899019518
Add glfwGetMonitorWorkarea
...
From upstream: be295ccbea
2019-03-06 08:47:01 +05:30
Kovid Goyal
8efbc479e1
Remove unused code
2019-01-09 10:13:43 +05:30
Kovid Goyal
ed934a0206
Fix #758
2018-07-29 11:07:36 +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
cdee601137
Start work on IBUS support
2018-07-12 18:18:16 +05:30
Kovid Goyal
93b1919a38
Update glfw from upstream, to allow kitty to react to Xft.dpi changes
2018-06-11 07:12:06 +05:30
Kovid Goyal
dd085a9297
Update glfw from upstream
...
Fixes https://github.com/glfw/glfw/issues/1281
2018-06-07 21:46:01 +05:30
Kovid Goyal
238508fc0a
Update glfw from upstream
...
Proper cross-platform fix for issue of mouse cursor not being restored
over un-focused windows.
2018-04-26 08:31:52 +05:30