Commit Graph

13688 Commits

Author SHA1 Message Date
Kovid Goyal
399a9d65d2 Improve docs on how to use icat without access to the TTY device 2024-03-28 09:23:23 +05:30
Kovid Goyal
8335a5212e macOS: Fix an abort due to an assertion when a program tries to set an invalid window title
Fixes #7271
2024-03-27 19:02:43 +05:30
Kovid Goyal
e5a7554c30 Forgot to handle suspend/resume in example code for setting uservar in nvim 2024-03-26 22:04:08 +05:30
Kovid Goyal
5d5f3ff1b5 Add --app-id as alias for --class
On Wayland we have application ids instead of WM_CLASS. Bloody dumb.
2024-03-26 19:59:59 +05:30
Kovid Goyal
aca13a619a Retry all the ssh kitten tests on failure once 2024-03-26 19:45:20 +05:30
Kovid Goyal
dd879c413a Initialize temp wayland buffer with background color 2024-03-26 19:31:27 +05:30
Kovid Goyal
f8dda12024 Lower the limit of number of fallback fonts again
No need to raise as the issue was caused bya  bug in fontconfig
2024-03-26 18:33:55 +05:30
Kovid Goyal
d2c21ee297 Workaround for fontconfig returning junk in all but the lowest eight bits for FC_INDEX
Fixes #7263
2024-03-26 18:32:44 +05:30
Kovid Goyal
351e96ca75 Ensure temp buffer is destroyed once normal swapping is in place 2024-03-26 17:13:31 +05:30
Kovid Goyal
610390ed69 abort ready loop if window receives a close event 2024-03-26 15:44:02 +05:30
Kovid Goyal
a40a36d191 Wayland: Remove the 120ms penalty from waiting for window creation
When showing the window we loop in the wayland backend using a
temporary buffer of blank pixels to force the compositor to finish
setting up the top level surface pronto.

TODO: Set the color of the temmporary buffer to the background color
2024-03-26 15:40:13 +05:30
Kovid Goyal
073f78badb ... 2024-03-26 14:09:19 +05:30
Kovid Goyal
0c5e8be49a ... 2024-03-26 14:06:39 +05:30
Kovid Goyal
3363de8549 ... 2024-03-26 14:03:23 +05:30
Kovid Goyal
2009a20561 ... 2024-03-26 13:42:19 +05:30
Kovid Goyal
bb45062ef6 Use monotonic() instead of time of day for logging
Time of day is verbose and I have never found it to be of any use
2024-03-26 13:32:07 +05:30
Kovid Goyal
ede332fecf Use our monotonic everywhere
Gives nicer times relative to process start time than the python stdlib
monotonic
2024-03-26 13:26:18 +05:30
Kovid Goyal
304c68ba6f Merge branch 'symbol-fix' of https://github.com/stribor14/kitty 2024-03-26 13:17:37 +05:30
Kovid Goyal
f7a7765ba2 Clean up debug rendering output 2024-03-26 13:06:08 +05:30
Kovid Goyal
adf5917325 Wayland: Only launch child after OS Window achieves its final size
Avoids a bunch of SIGIWNCH during child startup as not all programs
handle these correctly. Sadly adds about 0.1 seconds of latency to
startup. Will have to look into reducing that. The Wayland protocol is
*so badly* designed.
2024-03-26 12:48:45 +05:30
stribor14
08378de48c Fix Smooth mosaic terminal graphic characters from quaters to thirds 2024-03-26 08:00:34 +01:00
Kovid Goyal
f5314cb862 ... 2024-03-26 11:48:57 +05:30
Kovid Goyal
cbd7aa565b Increase max number of fallback fonts 2024-03-26 11:18:55 +05:30
Kovid Goyal
6398dd5b75 Move xdg confugure response into its own function 2024-03-26 11:17:27 +05:30
Kovid Goyal
2edd332759 Flag to indicate that we expect scale from compositor 2024-03-26 10:41:40 +05:30
Kovid Goyal
8bd9dbcee8 In --debug-rendering output when SIGWINCH is sent to child 2024-03-26 10:37:51 +05:30
Kovid Goyal
9149f6e34c Get version of hyprland as well 2024-03-26 10:04:05 +05:30
Kovid Goyal
c5fc65b56a ... 2024-03-26 09:55:52 +05:30
Kovid Goyal
83fcd472bb Debug output: Show name and version of Wayland compositor 2024-03-26 09:54:38 +05:30
Kovid Goyal
006a047276 Also output pointer shape changes when debugging 2024-03-26 09:18:06 +05:30
Kovid Goyal
db3a49fc4b Wayland KDE: Fix mouse cursor hiding not working in Plasma 6
kwin in Plasma 6 now requires usage of pointer_enter_serial instead of
last received serial for wl_set_cursor_image(). Hopefully, this wont
break any other compositors.

Fixes #7265
2024-03-26 09:02:59 +05:30
Kovid Goyal
cd5099d6f7 Splits layout: Fix move_window_forward not working
Fixes #7264
2024-03-26 08:21:03 +05:30
Kovid Goyal
1ae607f924 Merge branch 'optimize-images' of https://github.com/C0rn3j/kitty 2024-03-26 08:06:51 +05:30
Kovid Goyal
4d93801d5f Retry flaky test 2024-03-26 08:03:20 +05:30
Martin Rys
efcacd0885 Oxipng/svgo images to save some 150KB~ 2024-03-25 23:42:56 +01:00
Kovid Goyal
7ade6f97e9 Cleanup DPI change handling 2024-03-25 18:55:29 +05:30
Kovid Goyal
a58187943d ... 2024-03-25 18:31:02 +05:30
Kovid Goyal
06316eee26 DRYer: Maintain font and DPI per OSWindow information in one place 2024-03-25 18:26:47 +05:30
Kovid Goyal
7cebb37c93 Use up-to-date scale in layer shell callback 2024-03-25 17:55:40 +05:30
Kovid Goyal
396def91e5 kwin requires layer properties to be set at creation time 2024-03-25 17:40:14 +05:30
Kovid Goyal
ebee3f1c02 ... 2024-03-25 16:15:18 +05:30
Kovid Goyal
c9701a9b05 Update changelog 2024-03-25 16:04:23 +05:30
Kovid Goyal
cc76732058 ... 2024-03-25 14:01:45 +05:30
Kovid Goyal
3adf05244d Allow using --debug-rendering with panel kitten 2024-03-25 13:56:35 +05:30
Kovid Goyal
0dd2c3ea27 Edge panels now work
Tested under sway
2024-03-25 13:52:20 +05:30
Kovid Goyal
d56fbb88e5 More work on getting layer to actually render 2024-03-25 12:46:31 +05:30
Kovid Goyal
46db1f7b76 Get the layer sizing function working 2024-03-25 12:15:38 +05:30
Kovid Goyal
85a980ea3e Slightly nicer initial scale guess on wayland 2024-03-25 12:02:33 +05:30
Kovid Goyal
e9689ea50d Fix wayland backend windowfocused() implementation 2024-03-25 10:33:27 +05:30
Kovid Goyal
3fa5125f24 Ensure layer shell hint is set just before actual layer shell window creation 2024-03-25 09:42:56 +05:30