<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/wayland.h, branch 1.8.1</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.8.1</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.8.1'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2021-06-23T10:37:56Z</updated>
<entry>
<title>wayland: apply CSD/SSD changes in the surface configure event</title>
<updated>2021-06-23T10:37:56Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-06-22T16:58:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=2a83202fddc4423fd102b0d5f19b0b445301a88e'/>
<id>urn:sha1:2a83202fddc4423fd102b0d5f19b0b445301a88e</id>
<content type='text'>
    The configure event asks the client to change its decoration
    mode. The configured state should not be applied immediately.
    Clients must send an ack_configure in response to this event.
    See xdg_surface.configure and xdg_surface.ack_configure for
    details.

In particular, ”the configured state should *not* be applied
immediately”.

Instead, treat CSD/SSD changes like all other window dimension related
changes: store the to-be mode in win-&gt;configure, and apply it in the
surface configure event.

This fixes an issue where foot incorrectly resized the window when the
server switched between CSD/SSD at run-time.
</content>
</entry>
<entry>
<title>selection: add support for TEXT/STRING/UTF8_STRING mime-types in incoming offers</title>
<updated>2021-06-09T09:23:55Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-06-09T07:51:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=49bb00fb64a2af6c677530e07378dafe6d9cbfa2'/>
<id>urn:sha1:49bb00fb64a2af6c677530e07378dafe6d9cbfa2</id>
<content type='text'>
We were already offering these mime types for our own clipboard data,
but ignored them in incoming offers.

Fixes paste issues from Geany.

Closes #583
</content>
</entry>
<entry>
<title>meson: add xdg-activation-v1.xml conditionally</title>
<updated>2021-05-14T11:26:13Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-05-11T15:58:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=03e1b906abc6b29bb4b76b6e0429b8da9e2e2c0e'/>
<id>urn:sha1:03e1b906abc6b29bb4b76b6e0429b8da9e2e2c0e</id>
<content type='text'>
Only enable XDG activation when compiling against wayland-protocols
1.21. Older versions don’t have this protocol.

When available, define HAVE_XDG_ACTIVATION.

Make all usages of xdg_activation_v1 and xdg_activation_token_v1
conditional.
</content>
</entry>
<entry>
<title>xdg-activation: initial support for setting urgency using XDG activation</title>
<updated>2021-05-14T11:26:04Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-05-09T10:13:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3e92361534cdd02e8da8a5f7e8112361b1d6eb67'/>
<id>urn:sha1:3e92361534cdd02e8da8a5f7e8112361b1d6eb67</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ime: move preedit state from terminal struct to the seat struct</title>
<updated>2021-03-25T08:36:07Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-03-23T12:03:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e8ffb05bc7fb3b996752f345b77af4b757f69776'/>
<id>urn:sha1:e8ffb05bc7fb3b996752f345b77af4b757f69776</id>
<content type='text'>
This ensures different seat’s don’t step on each others IME pre-edit
state.

It also removes most dependencies on having a valid term pointer for
many IME operations.

We’re still not all the way, since we support disabling IME with a
private mode, which is per terminal, not seat.

Thus, we still require the seat to have keyboard focus on one of our
windows.

Closes #324. But note that *rendering* of multiple seat’s IME pre-edit
strings is still broken.
</content>
</entry>
<entry>
<title>ime: don’t commit IME changes when we don’t have IME focus</title>
<updated>2021-03-02T08:01:40Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-03-02T08:01:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3f19ee4d921e69e90073d00846fa2a5a37d691af'/>
<id>urn:sha1:3f19ee4d921e69e90073d00846fa2a5a37d691af</id>
<content type='text'>
Fixes log spamming in Sway:

  00:54:07.780 [DEBUG] [wlr] [types/wlr_text_input_v3.c:181] Text input commit received without focus
  00:54:07.780 [INFO] [sway/input/text_input.c:127] Inactive text input tried to commit an update

Closes #384
</content>
</entry>
<entry>
<title>urls: add key binding that toggles whether URLs are displayed on jump-label</title>
<updated>2021-02-21T19:15:31Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-02-14T13:18:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=06a9ffa7632abf201b0ea0270bb5058af4fc4a6b'/>
<id>urn:sha1:06a9ffa7632abf201b0ea0270bb5058af4fc4a6b</id>
<content type='text'>
By default, the URL isn’t shown on the jump-label. For auto-detect
URLs, doing so is virtually always useless, as the URL is already
visible in the grid.

For OSC-8 URLs however, the URL is often _not_ visible in the
grid. Many times, seeing the URL is still not needed (if you’re doing
‘ls --hyperlink’, you already know what the URIs are).

But it is still useful to have a way to show the URLs.

This patch adds a new key binding action that can be used in url-mode
to toggle the URL on and off in the jump label.

It is bound to ctrl+t by default.
</content>
</entry>
<entry>
<title>wayland: drop ‘_surface’ suffix from subsurface struct instances</title>
<updated>2021-02-17T20:48:08Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-02-12T11:00:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5c8579043dd22a08e872d90a20011f5d6d8d3dc1'/>
<id>urn:sha1:5c8579043dd22a08e872d90a20011f5d6d8d3dc1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>render-timer: use wayl_win_subsurface_new/destroy()</title>
<updated>2021-02-17T20:48:08Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-02-12T10:53:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=438853a2d8b6479a2fbbd82d9ef59dbefbc9d297'/>
<id>urn:sha1:438853a2d8b6479a2fbbd82d9ef59dbefbc9d297</id>
<content type='text'>
</content>
</entry>
<entry>
<title>scrollback-indicator: use wayl_win_subsurface_new/destroy()</title>
<updated>2021-02-17T20:48:08Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-02-12T10:50:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c8324943de5cb56f480e2a3477f6b129054ff2b4'/>
<id>urn:sha1:c8324943de5cb56f480e2a3477f6b129054ff2b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>search: use wayl_win_subsurface_new/destroy()</title>
<updated>2021-02-17T20:48:07Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-02-12T10:47:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e049124f6d57fb2fd444138ec588b5b3cab80ecc'/>
<id>urn:sha1:e049124f6d57fb2fd444138ec588b5b3cab80ecc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csd: use wayl_win_subsurface_new/destroy()</title>
<updated>2021-02-17T20:48:07Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-02-12T10:39:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=587f04f2e1fd432993cecf75fe4ffd23c9b2b243'/>
<id>urn:sha1:587f04f2e1fd432993cecf75fe4ffd23c9b2b243</id>
<content type='text'>
</content>
</entry>
<entry>
<title>url-mode: convert struct wl_url to use wayl_win_subsurface_new()</title>
<updated>2021-02-17T20:48:07Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-02-12T10:31:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9d362158e3810bc0cbfe1990238e2abd3786e4c1'/>
<id>urn:sha1:9d362158e3810bc0cbfe1990238e2abd3786e4c1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wayland: add wayl_win_subsurface_new() and wayl_win_subsurface_destroy()</title>
<updated>2021-02-17T20:47:57Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-02-12T10:29:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=bb4d9a5fd33cf1a7c08c096721e5640022de0315'/>
<id>urn:sha1:bb4d9a5fd33cf1a7c08c096721e5640022de0315</id>
<content type='text'>
These are utility functions to create a Wayland subsurface associated
with the window.
</content>
</entry>
<entry>
<title>key-bindings: refactor: use a single type for all key bindings</title>
<updated>2021-02-08T09:09:14Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-02-07T13:46:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=03bac9dada76690971943f824637407100f7a3ee'/>
<id>urn:sha1:03bac9dada76690971943f824637407100f7a3ee</id>
<content type='text'>
Up until now, the various key binding modes (“normal”, “search” and
“url”) have used their own struct definitions for their key bindings.

The only reason for this was to have a properly typed “action” (using
the appropriate “action” enum).

This caused lots of duplicated code. This patch refactors this to use
a single struct definition for the “unparsed” key bindings handled by
the configuration, and another single definition for “parsed” bindings
used while handling input.

This allows us to implement configuration parsing, keymap translation
and so on using one set of functions, regardless of key binding mode.
</content>
</entry>
<entry>
<title>config: add show-urls-copy action</title>
<updated>2021-02-07T15:33:32Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-02-04T19:55:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=93181649b32249f572bc4c6892c99155186fc714'/>
<id>urn:sha1:93181649b32249f572bc4c6892c99155186fc714</id>
<content type='text'>
This works just like show-urls-launch, except that instead of opening
the URL (typically using xdg-open), it is placed in the clipboard when
activated.
</content>
</entry>
<entry>
<title>config: rename ‘show-urls’ to ‘show-urls-launch’</title>
<updated>2021-02-07T15:33:32Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-02-04T19:39:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=0a1c5e44c4459390e927440a59acafafc8372da5'/>
<id>urn:sha1:0a1c5e44c4459390e927440a59acafafc8372da5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>urls: initial support for detecting URLs and rendering jump-labels</title>
<updated>2021-02-07T15:33:31Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-31T10:12:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=2cc84db97978388475504592c88911046bcd2eb6'/>
<id>urn:sha1:2cc84db97978388475504592c88911046bcd2eb6</id>
<content type='text'>
The jump labels work, but is currently hardcoded to use xdg-open
</content>
</entry>
<entry>
<title>config: add infrastructure to handle URL mode specific key bindings</title>
<updated>2021-02-07T15:33:31Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-30T11:43:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ee39966dedf9e8fbee5528c324c807b92b9a6c23'/>
<id>urn:sha1:ee39966dedf9e8fbee5528c324c807b92b9a6c23</id>
<content type='text'>
* Add “show-urls” action to regular key bindings
* Add url-bindings section to foot.ini
* Add “cancel” action to URL mode key bindings
</content>
</entry>
<entry>
<title>Send text_input_rectangle requests for text-input</title>
<updated>2021-01-29T05:22:01Z</updated>
<author>
<name>Tadeo Kondrak</name>
<email>me@tadeo.ca</email>
</author>
<published>2020-12-20T22:01:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=95c0c89cac5cef4ea73a1391b8ecd20f5dcfb2ff'/>
<id>urn:sha1:95c0c89cac5cef4ea73a1391b8ecd20f5dcfb2ff</id>
<content type='text'>
</content>
</entry>
</feed>
