Commit graph

13776 commits

Author SHA1 Message Date
Kovid Goyal
d392aba64d
Wayland CSD: Dont render window shadows for docked windows 2024-04-08 10:59:03 +05:30
Kovid Goyal
597710dd53
Add StartupNotify to kitty.desktop
See https://gitlab.gnome.org/GNOME/mutter/-/issues/2739

Also rename kitty.desktop to kitty-terminal.desktop as otherwise
xdg-menu-install complains about no vendor prefix.
2024-04-08 10:00:06 +05:30
Kovid Goyal
d630b3d8a7
Change the maximize icon to restore when window is maximized 2024-04-08 09:36:38 +05:30
Kovid Goyal
aebfab3777
Merge branch 'dependabot/go_modules/all-go-deps-f04424bbb8' of https://github.com/kovidgoyal/kitty 2024-04-08 09:21:26 +05:30
dependabot[bot]
91f699b571
Bump golang.org/x/sys from 0.18.0 to 0.19.0 in the all-go-deps group
Bumps the all-go-deps group with 1 update: [golang.org/x/sys](https://github.com/golang/sys).


Updates `golang.org/x/sys` from 0.18.0 to 0.19.0
- [Commits](https://github.com/golang/sys/compare/v0.18.0...v0.19.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-08 03:47:53 +00:00
Kovid Goyal
b46d1d8d21
Fix #7321 2024-04-08 07:39:50 +05:30
Kovid Goyal
bf60321466
Use individual surfaces for corner and bar shadows
Simplifies a bunch of code and also gives us the option at a later date
to turn off some shadows selectively when the window is in a tiled
state.
2024-04-07 22:28:41 +05:30
Kovid Goyal
38daac868a
Only run bind --function-names once 2024-04-07 15:15:38 +05:30
Kovid Goyal
0b27f2cbe0
Merge branch 'fish-osc-133' of https://github.com/krobelus/kitty 2024-04-07 15:15:04 +05:30
Kovid Goyal
eb96830aa0
Make CSD API functions naming consistent 2024-04-07 10:18:13 +05:30
Kovid Goyal
334bb36745
Dont enable CSD for non XDG top-level windows such as layer shell surfaces 2024-04-07 10:08:02 +05:30
Kovid Goyal
60f9bcf51c
Document the extra fields in the prompt marking escape code that kitty supports 2024-04-07 09:50:14 +05:30
Kovid Goyal
65fadf4ed3
Update changelog 2024-04-07 09:04:23 +05:30
Johannes Altmanninger
8951581815 fish integration: drop redundant OSC 133 markers in upcoming fish 3.8
The upcoming fish 3.8 release will output OSC 133 sequences
unconditionally [1].

I tested ctrl-shift-{g,x,z} bindings both without and with kitty's
shell integration on top; everything seems to work.

Let's simplify kitty integration by removing the markers for the
upcoming fish >= 3.8.

I have hopes that the native OSC 133 implementation address #7200
though I'm not sure if I could reproduce this bug (I only saw a
similar bug when `fish_handle_reflow` was not enabled, which fish
also does now (same commit)).
cc @iacore let me know if you can reproduce #7200 with latest fish master.

[1]: 3b9e3e251b
2024-04-06 22:47:13 +02:00
Johannes Altmanninger
4dc1e733a7 doc keyboard protocol: mention upcoming support in fish 2024-04-06 22:46:58 +02:00
Kovid Goyal
283eba9667
Wayland: Respect top level bounds sent by compositor 2024-04-06 17:29:17 +05:30
Kovid Goyal
c651312a88
Adjust button colors 2024-04-06 17:24:55 +05:30
Kovid Goyal
5b1fdc34eb
Wire up the buttons 2024-04-06 14:58:31 +05:30
Kovid Goyal
a158fa108b
CSD pointer enter is the same as move 2024-04-06 12:51:09 +05:30
Kovid Goyal
60cb0fa650
Move CSD pointer handling code into CSD file 2024-04-06 12:49:07 +05:30
Kovid Goyal
67314bf2fb
Add settings that are optimal for latency 2024-04-06 11:48:55 +05:30
Kovid Goyal
d4cc5aa698
Report errors when attempts are made to perform actions the compositor doesnt support 2024-04-06 11:09:22 +05:30
Kovid Goyal
235b8dc2e4
Assume all capabilities on compositors that dont support reporting of capabilities 2024-04-06 10:59:28 +05:30
Kovid Goyal
4f6faddbab
Implement rendering of window control buttons in CSD
They still need to be wired up
2024-04-06 08:32:07 +05:30
Kovid Goyal
416d52bdac
... 2024-04-05 21:33:41 +05:30
Kovid Goyal
2d18e0be81
Fix #7311 2024-04-05 20:00:08 +05:30
Kovid Goyal
9225bd772d
Reduce CSD API surface 2024-04-05 19:57:43 +05:30
Kovid Goyal
9e55951d5a
... 2024-04-05 19:37:41 +05:30
Kovid Goyal
d9663aa135
Make code a little clearer 2024-04-05 19:29:51 +05:30
Kovid Goyal
9d86448585
Wayland: Allow hiding window decorations on compositors with SSD as well 2024-04-05 19:23:42 +05:30
Kovid Goyal
2c4ffba0f3
Wayland: A new option to turn off IME 2024-04-05 14:56:11 +05:30
Kovid Goyal
f9e38d3311
Nicer debug output for IME text commit event 2024-04-05 13:53:17 +05:30
Kovid Goyal
1317a7c4ac
show-key kitten: Show plain text received not associated with a key event 2024-04-05 13:40:41 +05:30
Kovid Goyal
8f19d7aa8b
... 2024-04-05 13:29:56 +05:30
Kovid Goyal
18b595a7e7
Map keymap fd using MAP_PRIVATE as required by the spec
Also report failures
2024-04-05 13:10:04 +05:30
Kovid Goyal
676c426e87
Use 1 rather than 0 as the keycode for the special mouse click key in fish
zero is used for key events from the wayland text input system that have
only text and no associated key
2024-04-05 13:01:58 +05:30
Kovid Goyal
0198b7fa5a
... 2024-04-05 12:57:58 +05:30
Kovid Goyal
8413d298df
remove unused code 2024-04-05 12:09:08 +05:30
Kovid Goyal
77d637cc47
Wayland GNOME: Less jarring title introducer in CSD 2024-04-05 11:44:43 +05:30
Kovid Goyal
9faeb3e2ce
Add the XM and xm terminfo capabilities
These are apparently used by vim for mouse protocol detection. Sigh.
2024-04-05 08:08:00 +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
bdfa57039c
Get rid of frame dependent size storage in kitty layer
This unifies behaviour with CSD and SSD. Now, in both cases the
remembered size is the size of the content area.
2024-04-04 19:39:02 +05:30
Kovid Goyal
f51c2f08a5
DRYer 2024-04-04 19:11:21 +05:30
Kovid Goyal
ecee7086a8
Report compositor missing capabilities in debug output 2024-04-04 16:56:13 +05:30
Kovid Goyal
76999d1a67
Fix creation of single pixel buffer to use 32 bits per color channel 2024-04-04 16:13:28 +05:30
Kovid Goyal
20375ee77a
Fix #7310 2024-04-04 15:08:58 +05:30
Kovid Goyal
cd67184432
Output some info about compositor capabilities for --debug-rendering 2024-04-04 11:46:41 +05:30
Kovid Goyal
b3197e4498
Wayland: Add fractional scale support to CSD 2024-04-04 11:25:17 +05:30
Kovid Goyal
90d2b8330a
... 2024-04-04 10:59:51 +05:30
Kovid Goyal
02c6f024d1
Merge branch 'master' of https://github.com/kindhuge/kitty 2024-04-04 10:56:22 +05:30