aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md (follow)
Commit message (Collapse)AuthorAgeLines
* changelog: prepare 1.22.2Daniel Eklöf2025-04-30-9/+3
|
* scripts: srgb: use 2.2 gamma TF instead of piece-wise sRGB TFDaniel Eklöf2025-04-30-0/+15
|
* changelog: add new 'unreleased' sectionDaniel Eklöf2025-04-30-0/+11
|
* changelog: prepare for 1.22.1Daniel Eklöf2025-04-26-7/+6
|
* changelog: add missing bug refDaniel Eklöf2025-04-26-0/+1
|
* render: regression: alpha applied to inversed text/selectionsDaniel Eklöf2025-04-25-0/+2
| | | | | | Introduced by 5f83278afd0530c323d4192e1095b3d1dea644c9 Closes #2073
* changelog: zero-width grapheme breaking codepoints causing fallback font to be usedDaniel Eklöf2025-04-24-0/+4
|
* Revert "term: append zero-width grapheme breaking characters to previous cell"Daniel Eklöf2025-04-24-2/+2
| | | | This reverts commit 76503fb86a8b8a6b5c3ce1be87c15a55af38508d.
* Revert "term: ignore LTR+RTL markers (U+200E + U+200F)"Daniel Eklöf2025-04-24-9/+0
| | | | This reverts commit 70b324b24c86473a99528feb6f1f91ca70e11a02.
* term: ignore LTR+RTL markers (U+200E + U+200F)Daniel Eklöf2025-04-24-0/+9
| | | | | | | | | Foot doesn't implement RTL, and explicit LTR markers is neither needed, nor used in anyway. In fact, they cause issues with font lookup, as fcft often fails to find the marker codepoint in the primary font, causing a fallback font to be used instead. Closes #2049
* input: reset modifiers in keyboard_leave()Daniel Eklöf2025-04-19-0/+3
| | | | Closes #2034
* csi: don't allow client app to enable grapheme-shaping when disabled at compile-timeDaniel Eklöf2025-04-19-0/+5
| | | | Closes #2039
* render: fix colors.alpha-mode=matchingDaniel Eklöf2025-04-19-0/+4
| | | | | | Before this patch, it only matched RGB color sources. It did not match the default bg color, or indexed colors. That is, e.g. CSI 43m didn't apply alpha, even if the color3 matched the default background color.
* changelog: add new 'unreleased' sectionDaniel Eklöf2025-04-17-0/+11
|
* changelog: prepare for 1.22.0Daniel Eklöf2025-04-17-5/+11
|
* changelog: move 'alpha-mode' to next-releaseDaniel Eklöf2025-04-14-3/+5
|
* config: add alpha_mode optionFazzi2025-04-14-0/+3
|
* url-mode: fix double-width characters not being handled correctlyDaniel Eklöf2025-04-13-0/+3
| | | | | | | | | When a regex matches a string containing double-width characters, the CELL_SPACER values were included in the URL string. This meant the final URL (either launched, or copied) weren't handled correctly, as invalid UTF-8 sequences were inserted in the middle of the string. Closes #2027
* changelog: move vmod support in config from "changed" to "added"Daniel Eklöf2025-04-10-4/+4
|
* wayland+input: add support for toplevel edge constraintsDaniel Eklöf2025-04-07-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Edge constraints are new (not yet available in a wayland-protocols release) toplevel states, acting as a complement to the existing tiled states. Tiled tells us we shouldn't draw shadows etc *outside our window geometry*. Constrained tells us the window cannot be resized in the constrained direction. This patch does a couple of things: * Recognize the new states when debug logging * Change is_top_left() etc to look at the new constrained state instead of the tiled state. These functions are used when both choosing cursor shape, and when determining if/how to resize a window on a CSD edge click-and-drag. * Update cursor shape selection to use the default (left_ptr) shape when on a constrained edge (or corner). * Update CSD resize triggering, to not trigger a resize when attempted on a constrained edge (or corner). See https://gitlab.freedesktop.org/wayland/wayland-protocols/-/commit/86750c99ed062c306e837f11bb9492df572ad677: An edge constraint is an complementery state to the tiled state, meaning that it's not only tiled, but constrained in a way that it can't resize in that direction. This typically means that the constrained edge is tiled against a monitor edge. An example configuration is two windows tiled next to each other on a single monitor. Together they cover the whole work area. The left window would have the following tiled and edge constraint state: [ tiled_top, tiled_right, tiled_bottom, tiled_left, constrained_top, constrained_bottom, constrained_left ] while the right window would have the following: [ tiled_top, tiled_right, tiled_bottom, tiled_left, constrained_top, constrained_bottom, constrained_right ] This aims to replace and deprecate the `gtk_surface1.configure_edges` event and the `gtk_surface1.edge_constraint` enum.
* config: update default URL regexDaniel Eklöf2025-04-07-0/+5
| | | | | | | | | | | | | | | | | | | The old one is in some cases too liberal. The new one is stricter in two ways: 1. The protocol list is now explicit, rather than matching anything:// 2. Allowed characters are now limited to the "safe character set", the "reserved character set", and some from the "unsafe character set" Furthermore, some of the characters are restricted in how/when they are allowed: 1. Periods, commas, question marks etc are allowed inside an URL, but not at the end. 2. [ ], ( ), " " and ' ' are allowed but only when balanced. This allows us to match e.g. [http://foo.bar/foo[bar]] correctly. Closes #2016
* changelog: reword, and remove section that no longer appliesDaniel Eklöf2025-03-31-7/+2
|
* key-binding: recognize virtual modifiers, and translate to the corresponding real modifier.Daniel Eklöf2025-03-31-2/+7
|
* input: xkb: ignore virtual modifiersDaniel Eklöf2025-03-31-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | Some compositors (mutter/GNOME is one) adds _virtual_ modifiers to the set of active modifiers when e.g. Alt, Meta, Super or Hyper is pressed. For example, pressing Alt+b would result in *both* the Alt *and* the Mod1 modifier being set. Since foot makes close to zero assumptions on how the modifiers should be interpreted, this causes various breakages. For example, a foot shortcut defined as Mod1+b will not match, since the Alt modifiers is also set. This has forced users to redefine/override some of the default key bindings to include the additional modifiers. It also causes issues with the kitty keyboard protocol, for some key combinations. Mainly whether or not to use unshifted key or not, resulting in incorrect escape sequences. Since all the "real" modifiers are always set as well, we can safely ignore the virtual modifiers. Closes #2009
* grid: reflow: fix empty line coalescingDaniel Eklöf2025-03-29-0/+3
| | | | | | | If a range of empty lines ended with a non-empty line at the very bottom of the to-be-resized grid, all those empty lines were removed. Closes #2011
* meson: add foot (render.c) -> srgb.h depAlex Xu (Hello71)2025-03-26-0/+1
| | | | | | | otherwise, depending on ninja dependency resolution order and parallel build, srgb.h may not be built in time Fixes: ccf625b991 ("render: gamma-correct blending")
* render: dim and brighten using linear rgb interpolationSam McCall2025-03-23-0/+6
| | | | | | Adds setting tweak.dim-amount, similar to bold-text-in-bright-amount. Closes #2006
* changelog: url-mode: show-urls-persistent regression fixDaniel Eklöf2025-03-20-0/+7
|
* vt: utf8: don't discard current byte when an invalid UTF-8 sequence is detectedDaniel Eklöf2025-03-18-0/+4
| | | | | | | | | | | | | | | | Example: printf "pok\xe9mon\n" would result in 'pokon' - the 'm' has been discarded along with E9. While correct, in some sense, it's perhaps not intuitive. This patch changes the VT parser to instead discard everything up to the invalid byte, but then try the invalid byte from the ground state. This way, invalid UTF-8 sequences followed by both plain ASCII, or longer (and valid) UTF-8 sequences are printed as expected instead of being discarded.
* changelog: add new 'unreleased' sectionDaniel Eklöf2025-03-17-0/+11
|
* changelog: prepare for 1.21.0Daniel Eklöf2025-03-17-4/+13
|
* config: remove deprecated options 'notify' and 'notify-focus-inhibit'Daniel Eklöf2025-03-17-0/+2
| | | | They've been deprecated since 1.18.0
* ime: fix initial cursor rectangle being reported as 0,0,0,0Daniel Eklöf2025-03-17-0/+3
| | | | Closes #1994
* meson: require wayland-protocols >= 1.41Daniel Eklöf2025-03-13-0/+1
|
* meson: require fcft-3.3.1Daniel Eklöf2025-03-13-1/+1
| | | | fcft-3.3.0 is not binary compatible with 3.2.x, and earlier.
* changelog: mention some of the side-effects the new fcft requirement bringsDaniel Eklöf2025-03-12-0/+3
|
* fcft: require fcft >= 3.3.0, add support for new scaling-filtersDaniel Eklöf2025-03-12-1/+1
| | | | | | | | Update tweak.scaling-filter to recognize the new scaling filters added in fcft-3.3.0. Since fcft_set_scaling_filter() is deprecated in 3.3.0, don't use it anymore, and set the scaling filter via fcft_font_options instead.
* changelog: kitty: release events for composed keysDaniel Eklöf2025-03-11-0/+2
|
* term: tweak linebreakingDaniel Eklöf2025-03-05-0/+6
| | | | | | | | | Don't set linebreak on linefeed. Instead, rely on the default value of true, and that it is only cleared when a character is printed while LCF=1. Note that printing to a row that has linebreak cleared, will set the linebreak flag again.
* render: gamma-correct blendingDaniel Eklöf2025-03-05-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements gamma-correct blending, which mainly affects font rendering. The implementation requires compile-time availability of the new color-management protocol (available in wayland-protocols >= 1.41), and run-time support for the same in the compositor (specifically, the EXT_LINEAR TF function and sRGB primaries). How it works: all colors are decoded from sRGB to linear (using a lookup table, generated in the exact same way pixman generates it's internal conversion tables) before being used by pixman. The resulting image buffer is thus in decoded/linear format. We use the color-management protocol to inform the compositor of this, by tagging the wayland surfaces with the 'ext_linear' image attribute. Sixes: all colors are sRGB internally, and decoded to linear before being used in any sixels. Thus, the image buffers will contain linear colors. This is important, since otherwise there would be a decode/encode penalty every time a sixel is blended to the grid. Emojis: we require fcft >= 3.2, which adds support for sRGB decoding color glyphs. Meaning, the emoji pixman surfaces can be blended directly to the grid, just like sixels. Gamma-correct blending is enabled by default *when the compositor supports it*. There's a new option to explicitly enable/disable it: gamma-correct-blending=no|yes. If set to 'yes', and the compositor does not implement the required color-management features, warning logs are emitted. There's a loss of precision when storing linear pixels in 8-bit channels. For this reason, this patch also adds supports for 10-bit surfaces. For now, this is disabled by default since such surfaces only have 2 bits for alpha. It can be enabled with tweak.surface-bit-depth=10-bit. Perhaps, in the future, we can enable it by default if: * gamma-correct blending is enabled * the user has not enabled a transparent background
* config: add search-bindings.delete-to-{start,end} key bindingsAdrian fxj9a2025-03-05-0/+4
| | | | | | Defaults to ctrl+u and ctrl+k respectively. Closes #1972
* term: reset the grapheme clustering state on cursor movementsDaniel Eklöf2025-03-04-0/+1
|
* config+render: allow cursor.style=hollowDaniel Eklöf2025-02-19-0/+2
| | | | Closes #1965
* term: set_app_id(): app_id may be NULL, in which case we can't do strlen()Daniel Eklöf2025-02-18-0/+3
| | | | Closes #1963
* changelog: --server=FD failing on FreeBSDDaniel Eklöf2025-02-16-0/+2
|
* term: append zero-width grapheme breaking characters to previous cellDaniel Eklöf2025-02-16-0/+4
| | | | | | | | | | | | | | | | | | When compiled with grapheme clustering support, zero-width characters that also are grapheme breaks, were ignored (not stored in the grid). When utf8proc says the character is a grapheme break, we try to print the character to the current cell. But this is only done when width > 0. As a result, zero width grapheme breaks were simply discarded. This only happens when grapheme clustering is enabled; when disabled, all zero width characters are appended. Fix this by also requiring the width to be non-zero when if we should append the character or not. Closes #1960
* grid: reflow: fix cursor reflow when LCF is setDaniel Eklöf2025-02-13-0/+3
| | | | | | | | | | When the cursor is at the end of the line, with a pending wrap (LCF set), the lcf flag should be cleared *and* the cursor moved one cell to the right. Before this patch, we cleared LCF, but didn't move the cursor. Closes #1954
* themes: update Tokyo Night LightLudovico Gerardi2025-02-13-0/+1
|
* changelog: text-sizing protocolDaniel Eklöf2025-02-06-1/+2
|
* term: insert-mode: handle combining characters correctlyDaniel Eklöf2025-02-06-0/+4
| | | | | | | | | | | | | | | | | When the client application emits combining characters, for example multi-codepoint emojis, in insert-mode, we ended up pushing partial graphemes to the right, for each codepoint, resulting in too many cells (and with the wrong content) being inserted. The fix is fairly simple; don't "insert" when appending characters to an existing grapheme cluster. This isn't something we can detect easily in print_insert() (it would require us to do grapheme clustering again). Fortunately, we do have the required information in action_utf8_print(). So, pass this information as a boolean to term_print(). Closes #1947
* changelog: custom regex'sDaniel Eklöf2025-02-05-0/+5
|
* config: remove url.{uri-characters,protocols}Daniel Eklöf2025-02-05-0/+7
|
* input: close fd on no/unrecognized keymap formatAttila Fidan2025-01-30-0/+2
|
* key-bindings: try all bindings in translated mode before matching untranslated, and then finally rawDaniel Eklöf2025-01-27-0/+3
| | | | | | | | | | | | | | | | | | | When trying to match key bindings, we do three types of matching: * Match the _translated_ symbol (e.g. Control+C) * Match the _untranslated_ symbol (e.g. Control+Shift+c) * Match raw keyboard codes This was done for *each* key binding. This meant we sometimes matched a keybinding in raw mode, even though there was a translated/untranslated binding that would match it too. All depending on the internal order of the key binding list. This patch changes it, so that we first try all bindings in translated mode, then all bindings in untranslated mode, and finally all bindings in raw mode. Closes #1929
* render: resize: configure with only one dimension being zeroDaniel Eklöf2025-01-26-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The protocol states: If the width or height arguments are zero, it means the client should decide its own window dimension. This may happen when the compositor needs to configure the state of the surface but doesn't have any information about any previous or expected dimension. The wording is a bit ambiguous; does it mean we should set *both* width and height to values we choose, even if only one dimension is zero in the configure event? Or does it mean that we should choose the value for the dimension that is zero in the configure event? Regardless, it's pretty clear that it does *not* mean we should *only* choose width and height if *both* dimensions are zero in the configure event. This is foot's behavior before this patch, meaning if only one of them is zero, foot assumed the compositor wanted us to set the width (or height) to zero... Change this, so that we now choose value for the "missing" dimension, but do use the compositor provided value for the other dimension. Closes #1925 Relevant issues: * https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/155 * https://github.com/YaLTeR/niri/issues/1050
* grid: reflow: regression: remove (truncate) SPACER cells at the end of lineDaniel Eklöf2025-01-25-0/+4
| | | | | | | | | | | | | | | | | | | | When printing a double-width glyph at the end of the line, it will get pushed to the next line if there's only one cell left on the current line. That last cell on the current line is filled with a SPACER value. When reflowing the text, the SPACER cell should be "removed", so that the double-width glyph continues directly after the text on the previous line. 9567694bab7149afbb4e4fcc4c754272a8d25aba fixed an issue where reflowing e.g. neofetch output incorrectly removed spaces between the logo, and the system info. But also introduced a regression where SPACER values no longer are removed. This patch tries to fix it, by adding back empty cells, but NOT SPACER cells.
* changelog: cwd > 1024 charsDaniel Eklöf2025-01-24-0/+3
|
* input: kitty: fix alternate codepoint sometimes not being reportedDaniel Eklöf2025-01-20-0/+7
| | | | | | | | | | | | | | | | | | | | | When alternate key reporting is enabled (i.e. when we're supposed to report the shifted key along with the unshifted key), we try to figure out whether the key really is shifted or not (and thus which xkb keysym to use for the unshifted and shifted keys in the escape). This was done by getting the layout's *all* modifier combinations that produce the shifted keysym, and if any of of them contained a modifier that isn't supported by the kitty protocol, the shifted and unshifted keys are derived from the same keysym. This is to ensure we handle things like AltGr-combos correctly. The issue is, since there may be more than one modifier combination generating the shifted keysym, we may end up using the wrong keysym just because _another_ combination set contains modifiers not supported by the kitty protocol. What we're interrested in is whether the *pressed* set of modifiers contains such modifiers. Closes #1918
* Merge branch 'releases/1.20'Daniel Eklöf2025-01-18-6/+19
|\
| * changelog: move utf8proc entry to correct release1.20.2releases/1.20Daniel Eklöf2025-01-18-3/+3
| |
| * changelog: add back entry to 1.20.1, removed in de3becef96f30b96f0fceddf73805c3951ccb59fDaniel Eklöf2025-01-18-0/+3
| |
| * changelog: prepare for 1.20.2Daniel Eklöf2025-01-18-6/+5
| |
| * term: cursor_refresh(): don't try to dirty the grid if we don't have oneDaniel Eklöf2025-01-18-0/+4
| | | | | | | | | | | | | | | | | | | | | | If the compositor sends a keyboard enter event before our window has been mapped, foot crashes; the enter event triggers a cursor refresh (hollow -> non-hollow block cursor), which crashes since we haven't yet allocated a grid. Fix by no-op:ing the refresh if the window hasn't been configured yet. Closes #1910
| * changelog: colors.flash-alpha=1.0Daniel Eklöf2025-01-18-0/+6
| |
| * Revert "config: don't allow colors.flash-alpha to be 1.0"Alexander Orzechowski2025-01-18-3/+0
| | | | | | | | This reverts commit 56d2c3e990509d18de31e6009e0d0c6254f99b67.
| * changelog: 'CSI 21 t' and 'OSC 176 ?' disabledDaniel Eklöf2025-01-18-0/+7
| |
| * changelog: utf8proc.h not foundDaniel Eklöf2025-01-18-0/+3
| |
| * changelog: add missing issue refDaniel Eklöf2025-01-18-1/+1
| |
| * changelog: add new 'unreleased' sectionDaniel Eklöf2025-01-18-0/+11
| |
* | Add support for the new Wayland protocol xdg-system-bellDaniel Eklöf2025-01-17-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From the release notes: system bell - allowing e.g. terminal emulators to hand off system bell alerts to the compositor for among other things accessibility purposes The new protocol is used when the new config option bell.system=yes (and the compositor implements the protocol, obviously). The system bell is rung independent of whether the foot window has keyboard focus or not (thus relying on compositor configuration to determine whether anything should be done or not in response to the bell). The new option is enabled by default.
* | term: cursor_refresh(): don't try to dirty the grid if we don't have oneDaniel Eklöf2025-01-09-0/+4
| | | | | | | | | | | | | | | | | | | | | | If the compositor sends a keyboard enter event before our window has been mapped, foot crashes; the enter event triggers a cursor refresh (hollow -> non-hollow block cursor), which crashes since we haven't yet allocated a grid. Fix by no-op:ing the refresh if the window hasn't been configured yet. Closes #1910
* | changelog: colors.flash-alpha=1.0Daniel Eklöf2025-01-09-0/+6
| |
* | Revert "config: don't allow colors.flash-alpha to be 1.0"Alexander Orzechowski2025-01-09-3/+0
| | | | | | | | This reverts commit 56d2c3e990509d18de31e6009e0d0c6254f99b67.
* | changelog: 'CSI 21 t' and 'OSC 176 ?' disabledDaniel Eklöf2025-01-07-0/+7
| |
* | changelog: utf8proc.h not foundDaniel Eklöf2025-01-04-0/+3
| |
* | changelog: add missing issue refDaniel Eklöf2025-01-03-1/+1
| |
* | changelog: add new 'unreleased' sectionDaniel Eklöf2025-01-03-0/+11
|/
* changelog: prepare for 1.20.1Daniel Eklöf2025-01-03-9/+3
|
* render: fix order we're checking custom codepointsDaniel Eklöf2025-01-03-0/+7
| | | | | | | Fixes a crash when trying to print a "Legacy Computing" symbol (U+1FB00-U+1FB9B). Closes #1901
* config: don't allow colors.flash-alpha to be 1.0Daniel Eklöf2025-01-02-0/+3
| | | | | | | | | | | | | | | | | | A compositor will not send a frame callback for our main window if it is fully occluded (for example, by a fully opaque overlay...). This causes the overlay to stuck. For regular buffers, it _should_ be enough to *not* hint the compositor it's opaque. But at least some compositor special cases single-pixel buffers, and actually look at their pixel value. Thus, we have two options: implement frame callback handling for the overlay sub-surface, or ensure we don't use a fully opaque surface. Since no overlays are fully opaque by default, and the flash surface is the only one that can be configured to be opaque (colors.flash-alpha), and since adding frame callback handling adds a lot of boilerplate code... let's go with the simpler solution of
* term: limit app-id to 2048 charactersDaniel Eklöf2025-01-02-0/+7
| | | | | | | | | | | | Unsure if the protocol imposes a limit (haven't found any documentation), or if the issue is in the libwayland implementation, or wlroots (triggers in at least sway+river). The issue is that setting a too long app-id causes the compositor (river at least) to peg the CPU at 100%, and stop sending e.g. frame callbacks to foot. Closes #1897
* changelog: add missing issue refDaniel Eklöf2025-01-01-0/+2
|
* changelog: add new 'unreleased' sectionDaniel Eklöf2025-01-01-0/+11
|
* changelog: prepare for 1.20.0Daniel Eklöf2025-01-01-5/+9
|
* kitty kbd: don't generate release events for plain Enter+Tab+BackspaceDaniel Eklöf2025-01-01-0/+4
| | | | | | | | | | | From the specification: The Enter, Tab and Backspace keys will not have release events unless Report all keys as escape codes is also set, so that the user can still type reset at a shell prompt when a program that sets this mode ends without resetting it. Closes #1892
* osc: add option to disable OSC-52, partially or fullyDaniel Eklöf2024-12-22-0/+3
| | | | Closes #1867
* selection: fix crash when tripple clicking in a region containing NUL charactersDaniel Eklöf2024-12-22-0/+1
| | | | | | | If a cell contains a NUL character, it was incorrectly treated as a quote, later triggering an assertion. Patch by Johannes Altmanninger
* term: set_app_id() + set_window_title(): only allow printable charactersDaniel Eklöf2024-12-17-0/+2
|
* box-drawings: implement octantsDaniel Eklöf2024-12-08-0/+3
|
* char32: use utf8proc_charwidth() instead of wcwidth(), when availableDaniel Eklöf2024-11-02-0/+5
| | | | | | | | | | It appears to be slightly more up-to-date with recent Unicode versions. In particular, it handles the new "Symbols for Legacy Computing Supplement" block, introduced in Unicode 16. Closes #1865
* osc: 9: ignore ConEmu/Windows Terminal sequencesDaniel Eklöf2024-11-02-0/+6
| | | | | OSC-9 sequences starting with "<number>;" are now ignored, as they are ConEmu sequences, and not iTerm notifications.
* unicode: update data files to 16.0Daniel Eklöf2024-10-31-0/+6
| | | | Yup, there's no _actual_ changes 🤷
* changelog: osc-9/777 crash when body is emptyDaniel Eklöf2024-10-31-0/+7
|
* changelog: add new 'unreleased' sectionDaniel Eklöf2024-10-23-0/+11
|
* changelog: prepare for 1.19.0Daniel Eklöf2024-10-23-5/+8
|
* uri: skip query/fragment parsing when dealing with file:// URIsDaniel Eklöf2024-10-23-0/+4
| | | | | | | Also, ignore invalid query/fragments (i.e. if the fragment comes before the query). Closes #1840
* config: add color.sixelN optionsDaniel Eklöf2024-10-23-0/+2
| | | | These options allows you to configure the default sixel color palette.
* render: sixels: update damage region when rendering sixelsDaniel Eklöf2024-10-05-0/+4
| | | | | | | | | | | | | | This fixes flickering when foot is forced to double-buffer (e.g when running under KDE, or smithay based compositors). Since the damage region isn't updated, the sixel images aren't included in the memcpy that is done to transfer the last frame's updated regions to the next frame. As a result, every other frame will have the sixels, while the others don't. Closes #1851
* changelog: #1715: "ghost" lines when selecting textDaniel Eklöf2024-09-21-0/+4
|
* render: xcursor_is_valid(): don't crash when there's no theme loadedDaniel Eklöf2024-09-21-0/+2
| | | | | | | | | | | | When trying to set a custom cursor shape, we first validate it. This is done by checking against known server-side names, and then trying to load the cursor from the client side cursor theme. But, if we're using server side names, there is no theme loaded, and foot crashed. Fix by checking if we have a theme loaded, and if not, fail the cursor shape name validation.