Kovid Goyal
849dcd424d
Wayland: save energy by not rendering "suspended" windows on compositors that support that
...
Note that this breaks kitty on GNOME 45 which has a bug, but it fine on
GNOME 46.
2024-05-05 13:42:51 +05:30
Kovid Goyal
6e1df67e03
Use xdg-shell version 6
...
This gives us window "suspended" events. Theoretically these could be
used to implement glfwWindowIconified() and thereby not render suspended
OS windows. However let's wait a bit and see how this stabilizes. There
are all sorts of bugs around this currently, for example:
https://gitlab.gnome.org/GNOME/mutter/-/issues/3435
https://gitlab.gnome.org/GNOME/mutter/-/issues/3229
https://bugreports.qt.io/browse/QTBUG-124450
2024-05-05 13:24:45 +05:30
Kovid Goyal
a4c9cb6d28
Small performance increase in SIMD code
...
Use OpenMP annotations with simde as the simde docs recommend.
2024-05-04 09:47:02 +05:30
Kovid Goyal
e84d67170c
Dont clear selections on erase in screen commands unless the erased region intersects a selection
...
Fixes #7408
2024-05-02 19:37:59 +05:30
Kovid Goyal
814412b8ac
kitten @ send-key: Fix some keys being sent in kitty keyboard protocol encoding when not using socket for remote control
...
The @ kitten no longer changes keyboard mode unless actually needed.
2024-05-02 11:04:41 +05:30
Kovid Goyal
5e12c0b144
Fix #7405
2024-05-01 09:40:22 +05:30
Kovid Goyal
0cd476ae22
Add instructions for making desktop environments run kitty via xdg-terminal-exec
...
https://github.com/Vladimir-csp/xdg-terminal-exec
2024-04-30 21:23:48 +05:30
Kovid Goyal
aec7ed7fea
Merge branch 'standardize_kitten_name' of https://github.com/nobe4/kitty
2024-04-30 17:07:49 +05:30
nobe4
f1543a73e8
docs: use the hyphenated kitten name
...
This applies the suggestion in https://github.com/kovidgoyal/kitty/issues/7402#issuecomment-2084726356
2024-04-30 12:43:52 +02:00
Kovid Goyal
e7c4069b91
Make code scanning happy
2024-04-30 11:05:31 +05:30
Kovid Goyal
558ce4179f
Revert simde back to 0.7.6
...
See https://github.com/simd-everywhere/simde/issues/1146
2024-04-30 10:55:05 +05:30
Kovid Goyal
eb07307370
Ignore pedantic warnings from simde headers
2024-04-30 09:54:14 +05:30
Kovid Goyal
8183e9d3ef
Fix CI build failure on macOS
...
Also update simde to version 0.8. Accidental was using it to debug
issues with building against simde, but now that it's done, keep it.
2024-04-30 09:48:51 +05:30
Kovid Goyal
4858716ca0
Update changelog
2024-04-30 07:52:27 +05:30
Kovid Goyal
df819d31d3
Merge branch 'master' of https://github.com/etzrxd/kitty
2024-04-30 07:51:42 +05:30
etzrxd
9093767c25
Seamless rendering of shade characters
2024-04-29 19:28:04 -04:00
Kovid Goyal
aecf07bcba
Wayland: Fix infinite loop causing bad performance when using IME via fcitx5 due to a change in fcitx5
...
Fix #7396
2024-04-28 11:30:48 +05:30
Kovid Goyal
cc5e4e95d3
Clarify actions to clear_terminal to_cursor
2024-04-28 10:01:51 +05:30
Kovid Goyal
c1199c2ca1
Wayland: Fix mouse position for initial click not correct
...
Simply query mouse position if no mouse position has event has yet been
received for the OS window.
2024-04-26 07:54:24 +05:30
Kovid Goyal
66d9db6d0a
focus_visible_window: Fix selecting with mouse click leaving keyboard in unusable state
...
Fixes #7390
2024-04-26 07:30:38 +05:30
Kovid Goyal
9b14946176
Add image_preview.nvim to the integrations docs
2024-04-25 07:39:22 +05:30
Kovid Goyal
82ab44826c
Graphics: Fix aspect ratio of images not being preserved when only a single dimension of the destination rectangle is specified
...
Fixes #7380
2024-04-24 12:28:35 +05:30
Kovid Goyal
8c7994c0ac
Dont call wl_egl_window_resize on every swap
2024-04-24 10:04:06 +05:30
Kovid Goyal
8e59b598e0
Improve logging slightly
2024-04-24 09:38:59 +05:30
Kovid Goyal
72272ab4fe
Remove need for context switching
...
Call wl_egl_window_resize just buffer swapping buffers at which point
the context is already correct.
Also might workaround bugs in the NVIDIA driver: https://github.com/NVIDIA/egl-wayland/issues/52
2024-04-24 09:27:02 +05:30
Kovid Goyal
b7e22a357f
...
2024-04-24 08:57:49 +05:30
Kovid Goyal
d89e68f5e9
Output OpenGL version in debug config
2024-04-24 08:55:56 +05:30
Kovid Goyal
0f00b0cfb6
Use RAII for context management
2024-04-24 08:21:27 +05:30
Kovid Goyal
37864961d7
Add shell integration to the list of things tmux breaks
2024-04-22 22:28:14 +05:30
Kovid Goyal
9755d0d879
Wayland: Ensure context is correct when calling wl_egl_window_resize
...
Fixes #7373 (I hope)
2024-04-22 18:07:34 +05:30
Kovid Goyal
fbefd8600f
output window id is debug logs useful for debugging issues with multiple os windows
2024-04-22 14:04:26 +05:30
Kovid Goyal
4cb74fac2e
...
2024-04-22 09:22:07 +05:30
Kovid Goyal
2cd8322bdc
Highlight some key phrases
2024-04-21 20:04:14 +05:30
Kovid Goyal
abfd51ad0d
Fix #7376
2024-04-21 19:57:48 +05:30
Kovid Goyal
ef9d279305
paste_actions: Fix replace-newline not working with confirm
...
Fixes #7374
2024-04-21 09:10:18 +05:30
Kovid Goyal
5e125c35d1
hints kitten: Report the pattern used when no matches are found
2024-04-20 05:14:03 +05:30
Kovid Goyal
8d1b0e54af
Use double for wayland float calculation
2024-04-19 22:23:01 +05:30
Kovid Goyal
5055c0d98d
Merge branch 'master' of https://github.com/goodactive/kitty
2024-04-19 17:05:27 +05:30
goodactive
6ae24a8c8d
chore: remove repetitive words
...
Signed-off-by: goodactive <goodactive@qq.com >
2024-04-19 18:29:06 +08:00
Kovid Goyal
7f61f1f9f3
version 0.34.1
v0.34.1
2024-04-19 11:05:41 +05:30
Kovid Goyal
bb3b5df99a
better field name
2024-04-18 22:46:20 +05:30
Kovid Goyal
ab26d2204f
Update changelog
2024-04-18 22:36:07 +05:30
Kovid Goyal
2e2caa167a
Better fix for #7263
...
Don't blank the upper 16 bits when copying index from freetype face
2024-04-18 22:36:00 +05:30
Kovid Goyal
4ba6d02ab6
Revert "Workaround for fontconfig returning junk in all but the lowest eight bits for FC_INDEX"
...
This reverts commit d2c21ee297 .
Apparently fontconfig overloads the top 16 bits as "instance index"
which is some kind of index for variable fonts? Who knows. fontconfig is
a natural disaster.
Fixes #7361
2024-04-18 22:06:57 +05:30
Kovid Goyal
b9dc48b798
...
2024-04-18 11:50:30 +05:30
Kovid Goyal
37f842d06a
Merge branch 'build-docs-typo-fix' of https://github.com/timstapl/kitty
2024-04-17 20:28:19 +05:30
Tim Stapleton
2cdabdfebd
fix typo in dependency name
2024-04-17 09:51:31 -05:00
Kovid Goyal
63ffa2606c
Give the close X a distressed look
2024-04-17 11:05:05 +05:30
Kovid Goyal
f66ee68834
Wayland GNOME: Draw the titlebar buttons without using a font
...
Fixes #7349
2024-04-17 10:39:30 +05:30
Kovid Goyal
494892c7e4
Dont create the region unless actually needed
2024-04-16 18:16:28 +05:30