<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/input.c, branch releases/1.4</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=releases%2F1.4</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=releases%2F1.4'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2020-07-29T04:57:22Z</updated>
<entry>
<title>input: margins are not selectable</title>
<updated>2020-07-29T04:57:22Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-26T10:31:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d675cf872022e0e1bf2100211d7607773de1016c'/>
<id>urn:sha1:d675cf872022e0e1bf2100211d7607773de1016c</id>
<content type='text'>
* Fix col/row calculation in pointer-enter event; we did not take the
  margins into account.
* seat-&gt;mouse.col,row are now set to -1 if the cursor is inside the
  margins. That is, col/row are only ever valid when the mouse is
  actually over the grid, and not in the margins.
* Use regular 'left-ptr' mouse cursor when mouse is inside the
  margins, to not make the user think he/she can start a selection.

Besides making things clearer, this also fixes a crash that occurred
if you started a selection in e.g. the right margin.
</content>
</entry>
<entry>
<title>selection: extending a selection is now interactive</title>
<updated>2020-07-27T14:44:41Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-27T14:44:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7127a0a6c393ee888a7b640c5481e191e0744519'/>
<id>urn:sha1:7127a0a6c393ee888a7b640c5481e191e0744519</id>
<content type='text'>
That is, a selection extension can be resized just like an ordinary
extension.
</content>
</entry>
<entry>
<title>input: pipe: avoid goto's where variables may be uninitialized</title>
<updated>2020-07-22T17:34:07Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-22T17:34:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=10f53325e1e0b546f97e40214678d6e64a2af439'/>
<id>urn:sha1:10f53325e1e0b546f97e40214678d6e64a2af439</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: pipe-{visible,scrollback}: redirect stdout/stderr to /dev/null</title>
<updated>2020-07-15T16:17:28Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-15T16:17:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=22c73eaf4ba37ff8a7982de893e3546cd209aa79'/>
<id>urn:sha1:22c73eaf4ba37ff8a7982de893e3546cd209aa79</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: comments</title>
<updated>2020-07-15T14:47:01Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-15T14:47:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=be9c566622959d2435caaab0004e498a79d683ca'/>
<id>urn:sha1:be9c566622959d2435caaab0004e498a79d683ca</id>
<content type='text'>
</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>input: keyboard: keymap: close(fd) on early-return when failing to mmap</title>
<updated>2020-07-14T06:55:20Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-14T06:55:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=21674ab382a07fa799af2aee399325f1cb4f1876'/>
<id>urn:sha1:21674ab382a07fa799af2aee399325f1cb4f1876</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: keyboard: keymap: use xkb_keymap_new_from_buffer()</title>
<updated>2020-07-14T06:52:42Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-14T06:52:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=0ed02e9676a6d5e1b81ee473afa17e4c2e8f7c17'/>
<id>urn:sha1:0ed02e9676a6d5e1b81ee473afa17e4c2e8f7c17</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: keyboard: detect failure to mmap keymap</title>
<updated>2020-07-14T06:52:11Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-14T06:52:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=307eead98774af7d63d3d307cacacf11a21e09d8'/>
<id>urn:sha1:307eead98774af7d63d3d307cacacf11a21e09d8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: include seat name in debug log output</title>
<updated>2020-07-11T09:13:45Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-11T09:13:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b5776487ab30d4c437682fc675f03602c472d07d'/>
<id>urn:sha1:b5776487ab30d4c437682fc675f03602c472d07d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>seat: use separate 'enter' serials for keyboard and mouse</title>
<updated>2020-07-09T09:20:46Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-09T09:20:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=71584aed388935908588686e5df7ec42855f3698'/>
<id>urn:sha1:71584aed388935908588686e5df7ec42855f3698</id>
<content type='text'>
</content>
</entry>
<entry>
<title>multi-seat: improve handling of multiple (mouse) pointers</title>
<updated>2020-07-09T07:52:11Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-09T07:52:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4e48d550efba98ebecf4b60045004e52c585c52d'/>
<id>urn:sha1:4e48d550efba98ebecf4b60045004e52c585c52d</id>
<content type='text'>
* xcursor always set for all pointers
* xcursor sometimes not updated when it should be
* mouse grabbed state wasn't per seat, but global (i.e. "does at least
  one seat enable mouse grabbing")
* selection enabled state wasn't per seat
</content>
</entry>
<entry>
<title>focus in/out: terminal checks whether it is a state change or not</title>
<updated>2020-07-09T07:16:54Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-09T07:16:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=6bbd4a5110c148841e73efd4786ebae1c335ef80'/>
<id>urn:sha1:6bbd4a5110c148841e73efd4786ebae1c335ef80</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: only call term_kbd_focus_{in,out}() on actual state change</title>
<updated>2020-07-09T06:46:25Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-09T06:46:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fc9fde88c3ea2f9a5d4923229df146d3b96bab9f'/>
<id>urn:sha1:fc9fde88c3ea2f9a5d4923229df146d3b96bab9f</id>
<content type='text'>
That is, only call term_kbd_focus_in() if we're the *first* seat
focusing that terminal, and only call term_kbd_focus_out() if we're
the *last* seat that focused it.
</content>
</entry>
<entry>
<title>xcursor: trigger theme reload in pointer-enter event</title>
<updated>2020-07-08T17:52:17Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-08T17:52:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d377221e247f67f7b5e6363f81ae2268e16aa32d'/>
<id>urn:sha1:d377221e247f67f7b5e6363f81ae2268e16aa32d</id>
<content type='text'>
Previously, we triggered a theme reload on output changes. This is
completely wrong. We may get a new output with a scale different from
the output the pointer is actually on.

Now, we store the current scale along with the theme. We then trigger
a call to reload the xcursor theme *every* time the pointer enters a
surface. When it does, we use the current scale factor of the terminal
that owns that surface.

If the terminal covers multiple outputs, with different scale factors,
we'll use the largest scale factor. This may not be 100% correct. But
to fix that, we'd need to track which regions of a surface are mapped
on which outputs. Too complicated I say.
</content>
</entry>
<entry>
<title>multi-seat: re-enable selection support (excluding OSC 52)</title>
<updated>2020-07-08T16:41:09Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-08T16:41:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4c7d29f7eb95b10a0fadc406924db537a18b12ca'/>
<id>urn:sha1:4c7d29f7eb95b10a0fadc406924db537a18b12ca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>multi-seat: re-enable scrollback search support</title>
<updated>2020-07-08T16:20:34Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-08T16:20:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=04e566492cd831f038afb5ef8908453efca84cde'/>
<id>urn:sha1:04e566492cd831f038afb5ef8908453efca84cde</id>
<content type='text'>
</content>
</entry>
</feed>
