<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/wayland.h, branch 1.5.1</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.5.1</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.5.1'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2020-09-15T16:44:54Z</updated>
<entry>
<title>input: don’t use stale keycodes for arrow-up/down</title>
<updated>2020-09-15T16:44:54Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-09-15T16:44:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=cb41db85965698dcf34217f8d26d9163a72a2e70'/>
<id>urn:sha1:cb41db85965698dcf34217f8d26d9163a72a2e70</id>
<content type='text'>
The keycodes will change if the seat’s keymap changes. Make sure we
only do alternate scrolling if the seat has a keyboard, and use
the *current* layout’s keycodes for arrow up/down (instead of
the *first* layout’s).
</content>
</entry>
<entry>
<title>key-binding: deprecate scrollback-up/down, add scrollback-up/down-line</title>
<updated>2020-09-10T16:17:47Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-09-10T16:17:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4d13429235e00290230dd7d070156c610a9502cc'/>
<id>urn:sha1:4d13429235e00290230dd7d070156c610a9502cc</id>
<content type='text'>
This deprecates/renames scrollback-up/down to scrollback-up/down-page.

It also renames scrollback-up/down-half to
scrollback-up/down-half-page, and adds the new bindings
scrollback-up/down-line.
</content>
</entry>
<entry>
<title>config: add scrollback-{up,down}-half key bindings</title>
<updated>2020-09-09T17:40:48Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-09-09T17:40:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=2e3bd5e23c68280ec95498a4afe176b5f94964e0'/>
<id>urn:sha1:2e3bd5e23c68280ec95498a4afe176b5f94964e0</id>
<content type='text'>
These new bindings scroll up/down half a page in the
scrollback (instead of the full page scrolled by
‘scrollback-{up,down}’).

Closes #128.
</content>
</entry>
<entry>
<title>wayland: set BIND_ACTION_KEY_COUNT correctly</title>
<updated>2020-09-08T17:08:26Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-09-08T17:08:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=eb45cb7b6072ffdc6391a8c8fc09cdeffdc9f429'/>
<id>urn:sha1:eb45cb7b6072ffdc6391a8c8fc09cdeffdc9f429</id>
<content type='text'>
This fixes an issue where ‘pipe-selected’ were not recognized as a
valid key action.

Closes #125
</content>
</entry>
<entry>
<title>input: inhibit mouse events to client when a binding has consumed it</title>
<updated>2020-08-22T11:35:36Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-08-22T11:35:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3ddc17937f19b63656ad8d79026e9afa90102ef7'/>
<id>urn:sha1:3ddc17937f19b63656ad8d79026e9afa90102ef7</id>
<content type='text'>
This introduces a new state to a seat's mouse struct, 'consumed'. It
is set on a mouse *press* event that is claimed by a mouse binding.

It is cleared after a mouse *release* event.

While set, *no* mouse motion or button events are sent to the client
application.
</content>
</entry>
<entry>
<title>config: mouse bindings: add select-begin-block and select-row</title>
<updated>2020-08-14T05:38:56Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-08-11T08:17:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4d2bc54fa216dfda98c4b228b9576dcad471858c'/>
<id>urn:sha1:4d2bc54fa216dfda98c4b228b9576dcad471858c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: add mouse specific bind actions</title>
<updated>2020-08-14T05:38:55Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-08-11T07:55:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=20f0334e1314508683651b0e5c59fd637d1d13f5'/>
<id>urn:sha1:20f0334e1314508683651b0e5c59fd637d1d13f5</id>
<content type='text'>
This extends the "normal" bind action enum with mouse specific
actions.

When parsing key bindings, we only check up to the last valid keyboard
binding, while mouse bindings support *both* key actions and mouse
actions.

The new actions are:

* select-begin: starts an interactive selection
* select-extend: interactively extend an existing selection
* select-word: select word under cursor
* select-word-whitespace: select word under cursor, where the only
  word separating characters are whitespace characters.

The old hard-coded selection "bindings" have been converted to instead
use these actions, via default bindings added to the configuration.
</content>
</entry>
<entry>
<title>config: wip: add support for modifiers in mouse bindings</title>
<updated>2020-08-13T16:47:19Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-08-09T20:40:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=544c1b1976544085a2f27497c5c516bf1d9edfa3'/>
<id>urn:sha1:544c1b1976544085a2f27497c5c516bf1d9edfa3</id>
<content type='text'>
Mouse bindings can now include modifiers. They are specified in pretty
much the same way as in keyboard bindings:

  Control+BTN_LEFT
</content>
</entry>
<entry>
<title>config: add tweak.render-timer option</title>
<updated>2020-08-13T16:35:17Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-08-13T16:35:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=17070a0d54e66641839805c68cfe1670c7012525'/>
<id>urn:sha1:17070a0d54e66641839805c68cfe1670c7012525</id>
<content type='text'>
This can be set to 'none' (the default), 'osd', 'log' or 'both'.

When 'osd' is enabled, we'll render the frame rendering time to a
sub-surface after each frame.

When 'log' is enabled, the frame rendering time is logged on stderr.
</content>
</entry>
<entry>
<title>config: add 'hide-when-typing'</title>
<updated>2020-07-31T15:09:06Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-31T15:09:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d4ee9be4d767ff4927c9e322bdbf958841dc091d'/>
<id>urn:sha1:d4ee9be4d767ff4927c9e322bdbf958841dc091d</id>
<content type='text'>
When enabled, the mouse cursor is hidden when the user types in the
terminal. It is un-hidden when the user moves the mouse, or when the
window loses keyboard focus.
</content>
</entry>
<entry>
<title>config: add 'pipe-selected' key binding</title>
<updated>2020-07-31T15:04:30Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-31T15:02:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=639a61abd86c7db3e47f2cd70fc16b7d6c6afaf4'/>
<id>urn:sha1:639a61abd86c7db3e47f2cd70fc16b7d6c6afaf4</id>
<content type='text'>
This works just like pipe-visible and pipe-scrollback, but pipes the
user-selected text, if any, to the external tool.

Closes #51
</content>
</entry>
<entry>
<title>config: tokenize key bindings' pipe command when loading the configuration</title>
<updated>2020-07-30T16:53:51Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-30T16:53:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7767041c2cb4f7739881cb8433a8ce7f9ef6d08c'/>
<id>urn:sha1:7767041c2cb4f7739881cb8433a8ce7f9ef6d08c</id>
<content type='text'>
This allows us to detect syntax errors early on, and is also more
efficient since we don't have to re-tokenize the command line every
time the binding is executed.
</content>
</entry>
<entry>
<title>Merge branch 'master' into diagonal-dpi</title>
<updated>2020-07-28T18:01:56Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-28T18:01:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=295083059ca8f642437abf44329698d1bbbb0067'/>
<id>urn:sha1:295083059ca8f642437abf44329698d1bbbb0067</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wayland: add scrollback indicator surface + sub-surface to wl_window</title>
<updated>2020-07-26T08:00:50Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-26T08:00:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=2815c1c0764cbc79625aa9c6623601d2188e0500'/>
<id>urn:sha1:2815c1c0764cbc79625aa9c6623601d2188e0500</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wayland: calculate a single, scaled DPI value</title>
<updated>2020-07-26T05:41:57Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-26T05:41:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e955a14dd0bf7ed23a9e42f28a93e3357643300c'/>
<id>urn:sha1:e955a14dd0bf7ed23a9e42f28a93e3357643300c</id>
<content type='text'>
Previously, we calculated the monitors horizontal and vertical PPI
values.

For font sizing, we used the vertical PPI value. It seems however,
that using the diagonal PPI value, i.e. diagonal_px / diagonal_inch,
gives more consistent results.

This is still a PPI value, but since it is intended to be used as a
FontConfig DPI value, name it 'dpi'.
</content>
</entry>
<entry>
<title>conf: bindings: allow several mappings for the same action</title>
<updated>2020-07-15T14:43:11Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-15T14:39:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1541531765f517067dcb92b4870d64e1be9bd230'/>
<id>urn:sha1:1541531765f517067dcb92b4870d64e1be9bd230</id>
<content type='text'>
If the bindings has different pipe command associated with them, treat
them as different actions.
</content>
</entry>
<entry>
<title>input: wip: initial support for piping scrollback/view to external tools</title>
<updated>2020-07-15T11:34:32Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-15T11:34:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=062b0eb7ab69e7821ab79763bfdc3648fdbb5f40'/>
<id>urn:sha1:062b0eb7ab69e7821ab79763bfdc3648fdbb5f40</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: parse_key_binding: free key-codes list if 'bindings' is NULL</title>
<updated>2020-07-15T11:26:13Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-15T11:26:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f21ea97037bd11f2375fff5f82dc2d08d0d552b9'/>
<id>urn:sha1:f21ea97037bd11f2375fff5f82dc2d08d0d552b9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>conf: add definitions for pipe-{scrollback,view} bindings</title>
<updated>2020-07-15T07:46:13Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-15T07:46:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=85c50099afa792a45671664275d3cd33bb8606e6'/>
<id>urn:sha1:85c50099afa792a45671664275d3cd33bb8606e6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wayland: read XCURSOR_{THEME,SIZE} in reload_xcursor theme</title>
<updated>2020-07-10T10:06:55Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-10T10:06:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=bf62519d8330204b12e9e3743fb332e3abde0ed0'/>
<id>urn:sha1:bf62519d8330204b12e9e3743fb332e3abde0ed0</id>
<content type='text'>
</content>
</entry>
</feed>
