Commit graph

17235 commits

Author SHA1 Message Date
Kovid Goyal
ca43d57cdf
Fix enumeration of pasteboard items in the source 2026-02-22 13:32:55 +05:30
Kovid Goyal
531fb3e1b1
Change drag thumbnail when in detach/move modes 2026-02-22 13:09:56 +05:30
Kovid Goyal
a4514fcf66
... 2026-02-22 12:12:23 +05:30
Kovid Goyal
9a58af12b4
Fix tab bar visibility while dragging tabs around 2026-02-22 12:09:41 +05:30
Kovid Goyal
aaa9ff51b5
Fix tab bar not being redrawn when tab is moved out and then brought back in prev position 2026-02-22 11:59:14 +05:30
Kovid Goyal
cad8f3fd17
Only re-order tabs when dropping in the actual tab bar of the origin window 2026-02-22 11:54:57 +05:30
Kovid Goyal
449abb69bc
Cleanup previous PR 2026-02-22 11:13:57 +05:30
copilot-swe-agent[bot]
0c0c5a62f7
Implement changing drag image in the various backends
Fixes #9542
2026-02-22 09:26:14 +05:30
Kovid Goyal
6506ce1e91
API to change image for drag in progress 2026-02-22 09:10:26 +05:30
Kovid Goyal
8ad22e7859
On Wayland detach even on drag cancel
Wayland compositors contravene their own spec and make it impossible to
distinguish between drop-but-not-accept and drag-cancel cases.
https://gitlab.freedesktop.org/wayland/wayland/-/issues/140
2026-02-22 08:19:31 +05:30
Kovid Goyal
eb23c18821
Dont detach when user presses esc to cancel drag and there is no drop 2026-02-22 07:42:42 +05:30
Kovid Goyal
0f10380773
Cocoa backend: distinguish between cancelling drop by esc key/dragging to trash and dropping in unsupported place 2026-02-22 07:34:27 +05:30
Kovid Goyal
f91da73b95
Update changelog
Fixes #9296
2026-02-22 06:49:48 +05:30
Kovid Goyal
d4bd05a948
Cleanup drag start handling 2026-02-22 06:44:40 +05:30
Kovid Goyal
80367cdb7b
Add option to control tab bar drag threshold 2026-02-22 06:39:57 +05:30
Kovid Goyal
60ee969028
Cleanup previous PR 2026-02-22 06:31:13 +05:30
copilot-swe-agent[bot]
15644d1eed
Add tab title above window screen shot
Fixes #9540
2026-02-21 22:27:33 +05:30
copilot-swe-agent[bot]
56a9dd1bb7
Place drag icon below cursor on macOS
Fixes #9539
2026-02-21 22:06:49 +05:30
Kovid Goyal
2e1e89f280
Cleanup previous PR 2026-02-21 21:30:24 +05:30
Kovid Goyal
c32cc2233a
Merge branch 'macos-dock-badge-on-bell' of https://github.com/pietervdheijden/kitty 2026-02-21 21:19:17 +05:30
Kovid Goyal
b3a74cb8f4
Update changelog 2026-02-21 20:58:34 +05:30
copilot-swe-agent[bot]
bcba8fc04c
Wayland: Add support for ext-background-effects
Fixes #9536
Fixes #9534
2026-02-21 20:56:40 +05:30
Kovid Goyal
6bd0aa5269
Fix #9538 2026-02-21 20:38:34 +05:30
Kovid Goyal
43bd80c01a
Merge branch 'master' of https://github.com/maxdexh/kitty 2026-02-21 20:01:23 +05:30
Max Dexheimer
b023f5b1b3 Fix horizontal alignment cropping symbols off
Calculate horizontal alignment delta based on the unscaled rather
than scaled canvas width to avoid shifting too far and cropping
2026-02-21 13:42:20 +01:00
Kovid Goyal
dea3ad5eed
API for registering MIME types for drag enter 2026-02-21 17:25:25 +05:30
Kovid Goyal
57e7dc2cdc
Add some more common types 2026-02-21 17:25:03 +05:30
Kovid Goyal
7efba91ffc
Register UTI for tab drag mime on Cocoa 2026-02-21 16:59:58 +05:30
Kovid Goyal
aab60b7967
Fix mime <-> UTI roundtripping 2026-02-21 16:37:04 +05:30
Kovid Goyal
e93e50293a
Bump zlib for CVE 2026-02-21 15:51:48 +05:30
Kovid Goyal
5e84935838
DRYer 2026-02-21 15:22:00 +05:30
Kovid Goyal
96c01b74d8
Detach tab via drag and drop now implemented 2026-02-21 15:15:33 +05:30
Kovid Goyal
e10451dbcb
Fix dropping of tab into other os window breaking tab bar layout 2026-02-21 14:41:22 +05:30
Kovid Goyal
0682c5bc8a
Get basic tab move from one OS window to another via drag working 2026-02-21 14:27:17 +05:30
Kovid Goyal
c56d4223af
Refactor state tracking for tab drag
Drop into same window now works
2026-02-21 13:31:04 +05:30
Kovid Goyal
0b6636eb0f
Get tab re-ordering on drag in same window to work
Still need to implement multiple windows and detach and the actual drop
event.
2026-02-20 12:22:56 +05:30
Pieter van der Heijden
e1643ae68a
Add macos_dock_badge_on_bell config option
Set a "!" badge on kitty's dock icon when a bell fires and kitty is not
focused, providing a persistent visual indicator for background
notifications. The badge is automatically cleared when kitty regains
focus via NSApplicationDidBecomeActiveNotification. The option defaults
to yes and can be disabled with `macos_dock_badge_on_bell no`.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 22:01:07 +01:00
Kovid Goyal
7123f727fc
Handoff tab drag to OS 2026-02-19 14:15:29 +05:30
copilot-swe-agent[bot]
acd2db20eb
Fix screenshot generation to handle colors correctly
We want to convert premult sRGB in output framebuffer to sRGB
non premult pixels.

Fixes #9525
2026-02-19 12:58:13 +05:30
Kovid Goyal
dc57e5bdb8
Start work on drag and drop for tabs 2026-02-19 12:37:31 +05:30
Kovid Goyal
37c2dae810
DRYer 2026-02-18 21:04:51 +05:30
copilot-swe-agent[bot]
f1df140e7d
Add function to take screenshot of single window
Fixes #9524
2026-02-18 21:01:01 +05:30
copilot-swe-agent[bot]
b9c9986111
Do scaling of OS Window screenshot on GPU
Fixes #9523
2026-02-18 20:42:58 +05:30
Kovid Goyal
dc328012f4
Allow passing zero thumbnail size 2026-02-18 20:20:37 +05:30
Kovid Goyal
5db53e8f1d
Function to take screenshot of OS Window 2026-02-18 20:16:57 +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
3cd2aa6a2f
Add some docs for the drag source API 2026-02-18 16:05:27 +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
76a29273c8
Dont send non-finger based zero size scroll events on Wayland 2026-02-17 11:23:49 +05:30