<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/wayland.h, branch 1.7.0</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.7.0</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.7.0'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2021-03-02T08:01:40Z</updated>
<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>
<entry>
<title>render: delay TIOCSWINSZ while doing an interactive resize</title>
<updated>2021-01-26T18:32:06Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-17T15:12:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9a1df7bb036cffbef206a3f2dbe46559b6f15d89'/>
<id>urn:sha1:9a1df7bb036cffbef206a3f2dbe46559b6f15d89</id>
<content type='text'>
Instead of disabling content centering, delay the TIOCSWINSZ (a.k.a
delay sending the new dimensions to the client) by a small amount
while doing an interactive resize.

Non-interactive resizes are still immediate.

For now, force a resize when the user stops the interactive
resize. This ensures the client application receives the new
dimensions immediately.

It still works without the last, forced, resize, but there typically
be a small delay until the client application receives the final
dimensions.

Closes #301
Closes #283
</content>
</entry>
<entry>
<title>wayland: pending ‘configure’ flags: use ’bool’ in bit-fields</title>
<updated>2021-01-26T18:32:06Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-11T17:45:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=6876ab6bc21fab00ba8b6d97e26bcb2ed567bd18'/>
<id>urn:sha1:6876ab6bc21fab00ba8b6d97e26bcb2ed567bd18</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wayland: track is-resizing state</title>
<updated>2021-01-26T18:32:06Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-10T14:40:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4ebd58e38888939d221d5616debc2e72dcfb4516'/>
<id>urn:sha1:4ebd58e38888939d221d5616debc2e72dcfb4516</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wayland: pack booleans in the “pending” configure struct</title>
<updated>2021-01-26T18:32:06Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-10T14:17:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=77186d16e8f1cf0e1035cbc34a5436c7a5533cf5'/>
<id>urn:sha1:77186d16e8f1cf0e1035cbc34a5436c7a5533cf5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: add ‘select-extend-character-wise’ bind action</title>
<updated>2021-01-14T15:29:29Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-06T10:11:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=767bd4f1dbbb14d9d28acb22cf42a91e6305a69a'/>
<id>urn:sha1:767bd4f1dbbb14d9d28acb22cf42a91e6305a69a</id>
<content type='text'>
This forces the (new) selection mode to be character-wise when
extending a word- or line-wise selection.

Default key binding is ctrl+RMB.
</content>
</entry>
</feed>
