<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/CHANGELOG.md, branch multi-cursor</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=multi-cursor</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=multi-cursor'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2025-08-25T13:46:19Z</updated>
<entry>
<title>config: value_to_*(): don't overwrite result variable on error</title>
<updated>2025-08-25T13:46:19Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-08-25T12:26:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ed7652db5056c3658afbc11c04e164e77da18650'/>
<id>urn:sha1:ed7652db5056c3658afbc11c04e164e77da18650</id>
<content type='text'>
Some of the value_to_*() functions wrote directly to the output
variable, even when the value was invalid. This often resulted in the
an actual configuration option (i.e. a member in the config struct) to
be overwritten by an invalid value.

For example, -o initial-color-theme=0 would set
conf-&gt;initial_color_theme to -1, resulting in a crash later, when
initializing a terminal instance.
</content>
</entry>
<entry>
<title>server/client: add support for sending SIGUSR to footclient</title>
<updated>2025-08-01T07:38:05Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-07-31T15:37:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b13a8f12d2d360e0923ee30ff40f25b245576bb5'/>
<id>urn:sha1:b13a8f12d2d360e0923ee30ff40f25b245576bb5</id>
<content type='text'>
This patch adds the IPC infrastructure necessary to propagate
SIGUSR1/SIGUSR2 from a footclient process to the server process.

By targeting a particular footclient instance, only that particular
instance changes theme. This is different from when targeting the
server process, where all instances change theme.

Closes #2156
</content>
</entry>
<entry>
<title>changelog: SIGUSR changes in the server</title>
<updated>2025-07-30T10:38:14Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-07-30T10:38:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=70d99a80513f574ac6d74989282b3481572513ce'/>
<id>urn:sha1:70d99a80513f574ac6d74989282b3481572513ce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>url-mode: for some reason we sorted the label letters before assigning them</title>
<updated>2025-07-29T09:18:49Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-07-29T09:18:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=83303bd2a461b5917de51d8740999cbdb46e7986'/>
<id>urn:sha1:83303bd2a461b5917de51d8740999cbdb46e7986</id>
<content type='text'>
Don't do this. Now that we **don't** sort them, the first letter
chosen by the user is always assigned to the bottom most URL.

Closes #2140 (again)
</content>
</entry>
<entry>
<title>changelog: add new 'unreleased' section</title>
<updated>2025-07-23T06:31:30Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-07-23T06:31:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=86d63f08ba118f0051b6941353d0a888f4987d75'/>
<id>urn:sha1:86d63f08ba118f0051b6941353d0a888f4987d75</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: prepare for 1.23.1</title>
<updated>2025-07-23T06:27:59Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-07-23T06:27:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=95e8b18c125c1ad2835ae59204dd0f8b5feaf64b'/>
<id>urn:sha1:95e8b18c125c1ad2835ae59204dd0f8b5feaf64b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc: color reset: read default color from currently active theme</title>
<updated>2025-07-22T11:30:28Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-07-22T11:30:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fcde74a18150a1722f2be2b7990c2f9b45268854'/>
<id>urn:sha1:fcde74a18150a1722f2be2b7990c2f9b45268854</id>
<content type='text'>
</content>
</entry>
<entry>
<title>shm: don't set pixman_fmt_without_alpha twice</title>
<updated>2025-07-21T11:49:57Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-07-21T11:49:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7ab43ebf7464ab72e2041de0a1112feaa81ea89e'/>
<id>urn:sha1:7ab43ebf7464ab72e2041de0a1112feaa81ea89e</id>
<content type='text'>
When selecting 16-bit surfaces, we set pixman_fmt_without_alpha twice,
and never set pixman_fmt_with_alpha.

This caused 10-bit surfaces to be used instead, since it checks if
pixman_fmt_with_alpha has been overridden or not.
</content>
</entry>
<entry>
<title>main: SIGUSR1 selects the first color theme, SIGUSR2 the second</title>
<updated>2025-07-18T06:33:42Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-07-17T08:18:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=01387f9593294f4eb467a162f245e3c712635f35'/>
<id>urn:sha1:01387f9593294f4eb467a162f245e3c712635f35</id>
<content type='text'>
Before this patch, SIGUSR1 toggled between [colors] and
[colors2].

Now, SIGUSR1 changes to [colors], regardless of what the current color
theme is, and SIGUSR2 changes to [colors2].

Closes #2144
</content>
</entry>
<entry>
<title>url-mode: assign label keys in reverse order</title>
<updated>2025-07-17T08:40:20Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-07-17T08:40:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=cc290fa9b0c36e90f6af978f839c083d05f22a95'/>
<id>urn:sha1:cc290fa9b0c36e90f6af978f839c083d05f22a95</id>
<content type='text'>
The _last_ URL is often the one you are interested in, and with this
change, it is always assigned the first (and thus the same) key.

Closes #2140
</content>
</entry>
<entry>
<title>changelog: add new 'unreleased' section</title>
<updated>2025-07-16T06:31:42Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-07-16T06:31:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=692b22cbbb24efa91cb24446d189bc8c2535c1ac'/>
<id>urn:sha1:692b22cbbb24efa91cb24446d189bc8c2535c1ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: prepare for 1.23.0</title>
<updated>2025-07-16T06:14:54Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-07-16T06:14:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e72e08625d9f085755f476e6deb327de913031c5'/>
<id>urn:sha1:e72e08625d9f085755f476e6deb327de913031c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: add '52' to the DA reply, to indicate PSC-52 support</title>
<updated>2025-06-10T05:12:53Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-06-09T07:19:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=968bc05c32a2e68282fd28e840b06ac63556d82e'/>
<id>urn:sha1:968bc05c32a2e68282fd28e840b06ac63556d82e</id>
<content type='text'>
Note: only *copy* is required to be enabled in security.osc52; paste
is optional, see
https://github.com/contour-terminal/contour/issues/1761#issuecomment-2944492097
</content>
</entry>
<entry>
<title>osc: 52: clear selection if the payload is the empty string</title>
<updated>2025-06-10T05:12:53Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-06-09T07:12:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=499f019deaf6e7b7e7bb6bbb43b93a7296d9b4fe'/>
<id>urn:sha1:499f019deaf6e7b7e7bb6bbb43b93a7296d9b4fe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main: do a theme toggle upon receiving SIGUSR1</title>
<updated>2025-06-10T05:11:45Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-06-09T05:38:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d9675a714016553264ae3b77fee785c6c49d2b6d'/>
<id>urn:sha1:d9675a714016553264ae3b77fee785c6c49d2b6d</id>
<content type='text'>
Caveat: in server mode, *all* instances toggle their themes.
</content>
</entry>
<entry>
<title>quirks: remove subsurface unmap quirk for Sway</title>
<updated>2025-06-09T05:08:24Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-06-09T05:08:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7347f4beb1314df12e834a260f18feae8b775a5a'/>
<id>urn:sha1:7347f4beb1314df12e834a260f18feae8b775a5a</id>
<content type='text'>
Sway used to have an issue where unmapping a subsurface did not damage
the surface below (https://github.com/swaywm/sway/issues/6960).

This has been fixed for quite some time now, so let's remove the
quirk.
</content>
</entry>
<entry>
<title>conf: pad: add center-when-fullscreen and center-when-maximized-and-fullscreen</title>
<updated>2025-05-24T07:56:16Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-05-23T06:38:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5a84f8d841d09e9aa91befbbb8e8b634b7f8959a'/>
<id>urn:sha1:5a84f8d841d09e9aa91befbbb8e8b634b7f8959a</id>
<content type='text'>
Before this patch, the grid content was *always* centered when the
window was maximized or fullscreened, regardless of how the user had
configured padding.

Now, the behavior is controlled by the 'pad' option. Before this
patch, the syntax was

    pad MxN [center]

Now it is

    pad MxN [center|center-when-fullscreen|center-when-maximized-and-fullscreen]

The default is "pad 0x0 center-when-maximized-and-fullscreen", to
match current behavior.

Closes #2111
</content>
</entry>
<entry>
<title>cursor-shape: add 'dnd-ask' and 'all-resize'</title>
<updated>2025-05-22T04:59:33Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-05-21T13:25:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=664cdcc65cf42ab269ea4a2c4962c3ee65d7e92f'/>
<id>urn:sha1:664cdcc65cf42ab269ea4a2c4962c3ee65d7e92f</id>
<content type='text'>
These (non-css) cursor shapes were added to the cursor-shape-v1
protocol in wayland-protocols 1.42.

We don't need (or use them at all) internally, but add them to the
list we use to translate from shape names to shape enums. This allows
users to set a custom shape (via OSC-22), while still using server
side cursors (i.e. no need to fallback to client-side cursors).

If we try to set a shape not implemented by the server, we get a
protocol error and foot exits. This is bad.

So, make sure we don't do that:

1. First, we need to explicitly bind v2 if implemented by the server
2. Track the bound version number in the wayland struct
3. When matching shape enum, skip shapes not supported in the
   currently bound version of the cursor-shape protocol
</content>
</entry>
<entry>
<title>wayland: configure: don't commit if we have a pending refresh</title>
<updated>2025-05-21T11:07:49Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-05-21T11:01:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d26659988113662d1500f600f5c10899920a5e6b'/>
<id>urn:sha1:d26659988113662d1500f600f5c10899920a5e6b</id>
<content type='text'>
Currently, if the following occurs:

1. foot has AxB size
2. Compositor sends CxD size
3. foot detects a resize, acks and saves CxD, but doesn't redraw immediately
4. Compositor sends CxD size again (due to a toplevel state array
   change, for example)

Then foot will detect no resize occurred, and will do an "empty"
commit immediately.

In this particular case that's wrong, since we're effectively
acking+committing the initial AxB size.

Fix by only doing the immediate commit if there's no size
change **and** there's no pending refresh.

Note: normally, we'd resize and refresh+commit immediately, but if
we're waiting for a frame callback, then the refresh+commit will be
delayed (i.e. scheduled). This is what we're checking here.

Closes #2105
</content>
</entry>
<entry>
<title>libxkbcommon: don't require 1.8.0</title>
<updated>2025-05-18T09:36:57Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-05-18T09:35:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3e1e3ea38ce8ed43ee61ddb584298f45dd72f1d5'/>
<id>urn:sha1:3e1e3ea38ce8ed43ee61ddb584298f45dd72f1d5</id>
<content type='text'>
The version bump was done since we now use XKB_VMOD_NAME_*; macros
added in libxkbcommon 1.8.0.

Not all distros have updated libxkbcommon yet (read: Debian). Since
it's fairly easy to work around, let's do that.

Closes #2103
</content>
</entry>
</feed>
