Kovid Goyal
6d4371f596
Properly pass source actions to drop events
...
Implemented for Wayland. Needs implementation for X11 and macOS
2026-05-14 11:07:52 +05:30
Kovid Goyal
c909809bb4
More work on DnD kitten
2026-05-13 08:25:14 +05:30
Kovid Goyal
6b9d449b0d
Fix #9904
2026-04-22 07:43:57 +05:30
Kovid Goyal
dc55052f0c
Wayland: set drop accepted operations
2026-04-07 10:40:14 +05:30
copilot-swe-agent[bot]
2f33460864
Add operations==-3 cancel drag support to glfwStartDrag
...
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/eff7e2c8-ab7a-4967-95b5-e65631245701
Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-02 07:14:36 +00:00
copilot-swe-agent[bot]
6b86e7db5d
Extend glfwGetKeyboardRepeatDelay() to return both initial delay and repeat interval
...
Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/bde9bf2e-a0dd-4ccd-8385-6a37be1e025f
2026-03-23 11:58:48 +00:00
copilot-swe-agent[bot]
998ee22ecb
Add glfwGetKeyboardRepeatDelay() to the GLFW API for X11, Wayland and Cocoa
...
Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/4765810b-ecf5-4348-ae3a-ff0ff481aaae
2026-03-23 11:46:35 +00:00
Kovid Goyal
9f2a4ad2dd
Wayland: Implement ridiculous workaround for broken dnd
...
Wayland is *the worst* window system I have ever had the
displeasure of trying to support.
2026-02-22 16:24:46 +05:30
Kovid Goyal
b737eaad65
Cleanup previous PR
...
Use a single wl_surface for the drag icon. Whther it is attached to the
top level drag or not is determined based on availability.
2026-02-22 15:36:10 +05:30
Kovid Goyal
531fb3e1b1
Change drag thumbnail when in detach/move modes
2026-02-22 13:09:56 +05:30
Kovid Goyal
6506ce1e91
API to change image for drag in progress
2026-02-22 09:10:26 +05:30
Kovid Goyal
a2b7a0cd6d
Port Cocoa drag source backend to new API
2026-02-18 11:20:17 +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
5db41c7ba4
Remove remaining code for the old drop API
...
X11 and cocoa need to be ported to the new API
2026-02-08 22:05:14 +05:30
Kovid Goyal
3cf24afdc0
Refactor drop API and implement it on Wayland
2026-02-08 22:05:14 +05:30
Kovid Goyal
0d465f71a3
More work on cocoa darg drop still not functional
...
I think I am going to rewrite the API to integrate with the event loop,
now that I have a good handle on the semantics of DnD in the two major
platforms.
2026-02-07 23:00:23 +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
Kovid Goyal
9a2ddc887b
Cleanup new chunked drop code and use it in kitty
...
Currently the chunking is useful but it will become useful for a future
drag and drop TUI protocol
2026-02-04 20:34:10 +05:30
copilot-swe-agent[bot]
ed5eb8f45c
Allow reading dropped data in chunks
...
Fixes #9470
2026-02-04 14:18:28 +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]
6744183027
Accept drags based on mime types in drag event callback
...
Fixes #9456
2026-02-02 21:30:25 +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
d0249c1e72
Cleanup X11 momentum-scroll
...
Dont cancel on the synthetic key events x11 generates for scrolling.
Also use correct timestamp for duration and expiry of physical events.
2026-01-26 12:40:42 +05:30
Kovid Goyal
779fb0d5c5
Cancel momentum scroll on button and key events
2026-01-09 13:15:37 +05:30
Kovid Goyal
32f7f8d321
Remove unneeded axis event timestamp
2026-01-05 20:13:33 +05:30
Kovid Goyal
e1199bcee2
Initial implementation of momentum for finger based scrolling on Wayland
...
Needs configuration and possibly the parameter adjustment once pixel
scrolling is merged.
2026-01-05 19:52:44 +05:30
Kovid Goyal
ba3af8f2c3
Refactor GLFW scroll event callback to use a proper event struct
2025-12-31 23:40:34 +05:30
Kovid Goyal
982b5156e1
macOS: When toggling in the quick access terminal move it to the currently active screen
...
Fixes #9003
2025-09-22 20:04:42 +05:30
Kovid Goyal
6f689f3221
Work on keyboard grabbing functionality
2025-05-18 11:37:11 +05:30
Kovid Goyal
8017945551
Wayland: Add support for the xdg-toplevel-tag protocol
...
Now you can use --name or its alias --os-window-tag to set the tag.
2025-05-15 09:35:42 +05:30
Kovid Goyal
88f4c829eb
Improve handling of output names
...
Now can use panel --output-name list to list available outputs.
Also, --output-name works on macOS
2025-05-13 15:29:37 +05:30
Kovid Goyal
9ed6be9272
Quick access terminal: Allow toggling the window to full screen and map using the standard kitty toggle_fullscreen shortcut
...
Fixes #8626
2025-05-12 15:20:48 +05:30
Kovid Goyal
f04fc251bf
Start work on full panel support in X11
2025-05-01 15:44:08 +05:30
Kovid Goyal
c1a9873530
API to set layer shell config for existing window
2025-04-22 11:13:32 +05:30
Kovid Goyal
5e2d44ce15
Make passing layer shell config to glfw not use a global variable
2025-04-22 10:45:28 +05:30
Kovid Goyal
b34a88065b
Wire up clipboard lost events
2025-03-12 09:26:36 +05:30
Kovid Goyal
50f64d5981
Only use window occlusion on platforms where it is supported
2025-02-12 12:02:46 +05:30
Kovid Goyal
754288557d
Track initial color scheme preference read on Linux
2024-11-07 10:38:13 +05:30
Kovid Goyal
8fc96c5bd7
Make the debug logging functions consistent
...
They now all output the same format of:
[time since program start] msg
2024-04-08 12:53:55 +05:30
Kovid Goyal
283eba9667
Wayland: Respect top level bounds sent by compositor
2024-04-06 17:29:17 +05:30
Kovid Goyal
2c4ffba0f3
Wayland: A new option to turn off IME
2024-04-05 14:56:11 +05:30
Kovid Goyal
1bffe89b5d
Wayland GNOME: titlebar color now follows system theme
...
When GNOME system theme is default, the color matches the background
color. When it is dark it is dark.
2024-04-04 21:52:56 +05:30
Kovid Goyal
b76e94059d
Propagate failures to get video mode
2024-04-04 10:31:30 +05:30
Kovid Goyal
7796c15248
Suppress spurious warning from clangd
2024-03-30 11:37:01 +05:30
Kovid Goyal
dd879c413a
Initialize temp wayland buffer with background color
2024-03-26 19:31:27 +05:30
Kovid Goyal
1c9f9a74e8
Wayland KDE: Add support for background_blur under kwin using a kwin private Wayland protocol
2024-03-22 13:41:44 +05:30
Kovid Goyal
d3f14ffbf4
macOS: Fix window shadows not being drawn for transparent windows
...
Re-organize the whole infrastructure for setting window chrome, doing it
in a single function that has access to all settings.
Fixes #2827
Fixes #6416
2023-07-04 11:59:50 +05:30
Kovid Goyal
7c6d40fa0c
Implement background blur for KDE on X11 as well
2023-06-27 14:56:35 +05:30