<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/input.c, branch 1.1.0</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.1.0</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.1.0'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2020-01-14T18:32:02Z</updated>
<entry>
<title>input: reset XKB compose state on keyboard leave</title>
<updated>2020-01-14T18:32:02Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-01-14T18:32:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c645a4b1801db6f99839472c6ec22f42520e2590'/>
<id>urn:sha1:c645a4b1801db6f99839472c6ec22f42520e2590</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "input: generate key down events on keyboard-enter"</title>
<updated>2020-01-14T18:28:37Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-01-14T18:28:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3a108499ce443978495cd8413dca814a0b3de249'/>
<id>urn:sha1:3a108499ce443978495cd8413dca814a0b3de249</id>
<content type='text'>
This reverts commit 84739d78c626ad12543417dc1e3038abd6a4e2d5.
</content>
</entry>
<entry>
<title>input: generate key down events on keyboard-enter</title>
<updated>2020-01-13T18:59:18Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-01-13T18:59:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=84739d78c626ad12543417dc1e3038abd6a4e2d5'/>
<id>urn:sha1:84739d78c626ad12543417dc1e3038abd6a4e2d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: reset modifier state on keyboard-leave</title>
<updated>2020-01-13T18:58:57Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-01-13T18:58:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c80cbc9a79c4f29cd0ab1c04e08bde16beb45f9a'/>
<id>urn:sha1:c80cbc9a79c4f29cd0ab1c04e08bde16beb45f9a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: comments</title>
<updated>2020-01-11T17:59:46Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-01-11T17:59:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=53a437007e60c06a6c7041a2fc5f9ce0acaae80b'/>
<id>urn:sha1:53a437007e60c06a6c7041a2fc5f9ce0acaae80b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: keymap_lookup: only do lookup, don't sent to client</title>
<updated>2020-01-11T17:40:27Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-01-11T17:40:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fed0e5c853dd0060412e11a4ee912cefc05250b5'/>
<id>urn:sha1:fed0e5c853dd0060412e11a4ee912cefc05250b5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: add a switch-based function that translates XKB keysym to escape data</title>
<updated>2020-01-11T17:18:31Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-01-11T17:18:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e658fe3da7ba321ec02ba96a6302510f1b5ecba7'/>
<id>urn:sha1:e658fe3da7ba321ec02ba96a6302510f1b5ecba7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: break out keymap lookup to a separate function</title>
<updated>2020-01-11T16:55:45Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-01-11T16:55:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8efedc96556f95dcbfa3dda966344dab74c625b7'/>
<id>urn:sha1:8efedc96556f95dcbfa3dda966344dab74c625b7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: scroll: call term_mouse_up() once, after all term_mouse_down()</title>
<updated>2020-01-04T20:35:38Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-01-04T20:35:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=040a1cd00df4e070174aa5f747ed73cc76fcfb14'/>
<id>urn:sha1:040a1cd00df4e070174aa5f747ed73cc76fcfb14</id>
<content type='text'>
Note that scroll button release events are not actually sent to the
client, but this makes the code more correct, logically.
</content>
</entry>
<entry>
<title>selection: track selection type; normal or block selection</title>
<updated>2020-01-03T22:29:45Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-01-03T22:29:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d706e6828062aa35505d3893fb3c04b84985aa29'/>
<id>urn:sha1:d706e6828062aa35505d3893fb3c04b84985aa29</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: keyboard-leave: move comment to where it belongs</title>
<updated>2020-01-02T18:30:34Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-01-02T18:30:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4be3c04999c821a601951dc47987dec1c8aa4a9c'/>
<id>urn:sha1:4be3c04999c821a601951dc47987dec1c8aa4a9c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: rename term_focus_{in,out} -&gt; term_kbd_focus_{in,out}</title>
<updated>2020-01-02T18:29:42Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-01-02T18:29:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e9325b958f6fb6416f77a1f0d9f8b049f6a6a46b'/>
<id>urn:sha1:e9325b958f6fb6416f77a1f0d9f8b049f6a6a46b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wayland: rename focused/moused to kbd_focus/mouse_focus</title>
<updated>2020-01-02T14:58:52Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-01-02T14:58:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4ecb0ecf4d1f45df918a8dd2dbabd6e9d7090dcc'/>
<id>urn:sha1:4ecb0ecf4d1f45df918a8dd2dbabd6e9d7090dcc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wayland: optionally use the presentation time protocol to measure input lag</title>
<updated>2019-12-31T14:39:40Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-31T14:39:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5a074190960130b6136a398d83da43fd1e8ec7e2'/>
<id>urn:sha1:5a074190960130b6136a398d83da43fd1e8ec7e2</id>
<content type='text'>
This adds a flag, -p,--presentation-timings, that enables input lag
measuring using the presentation time Wayland protocol.

When enabled, we store a timestamp when we *send* a key to the
slave. Then, when we commit a frame for rendering to the compositor,
we request presentation feedback. We also store a timestamp for when
the frame was committed.

The 'presented' callback then looks at the input and commit
timestamps, and compares it with the presented timestamp.

The delay is logged at INFO when the delay was less than one frame
interval, at WARN when it was one frame interval, and at ERR when it
was two or more frame intervals.

We also update statistic counters that we log when foot is shut down.
</content>
</entry>
<entry>
<title>term: term_spawn_new(): new function, spawns a new foot/footclient process</title>
<updated>2019-12-21T14:27:17Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-21T14:27:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=57de9feaa508fdd83c0d08c499232187c5f4b6c1'/>
<id>urn:sha1:57de9feaa508fdd83c0d08c499232187c5f4b6c1</id>
<content type='text'>
Bind ctrl+shift+return to it
</content>
</entry>
<entry>
<title>cursor blink: move reset to pty input</title>
<updated>2019-12-19T06:23:58Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-19T06:23:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=81840b4e8e45f190574f509beafd492df65f49ef'/>
<id>urn:sha1:81840b4e8e45f190574f509beafd492df65f49ef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: restart cursor blink on keyboard input</title>
<updated>2019-12-16T20:33:44Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-16T20:33:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=66b948750e8faaf97a1e2ef673132f8e19ed4e7a'/>
<id>urn:sha1:66b948750e8faaf97a1e2ef673132f8e19ed4e7a</id>
<content type='text'>
This makes the cursor stay unblinking while typing.
</content>
</entry>
<entry>
<title>input: discard canceled compose sequences</title>
<updated>2019-12-02T20:32:09Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-02T20:32:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f1c876884acb416120539fae6d51076f5ad61b0b'/>
<id>urn:sha1:f1c876884acb416120539fae6d51076f5ad61b0b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: mouse reporting functions no longer take modifier state</title>
<updated>2019-11-30T16:11:00Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-30T16:11:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fbeb1e96103681b6a3fac49443e64ed13ae28737'/>
<id>urn:sha1:fbeb1e96103681b6a3fac49443e64ed13ae28737</id>
<content type='text'>
The mouse reporting functions are called from input when we receive
Wayland mouse events.

We used to pass the current keyboard modifier (shift, alt, ctrl, etc)
to the terminal functions.

This however is wrong, since we may receive Wayland mouse events
without having keyboard focus. When we don't have keyboard focus, the
modifier state doesn't apply to us.

Remove the modifier arguments from the terminal mouse reporting
functions. These functions now read this state directly instead, but
only when the terminal instance in question has keyboard focus.
</content>
</entry>
<entry>
<title>input: doh! mouse_scroll: first argument to keyboard_key() is a struct wayland</title>
<updated>2019-11-30T15:54:41Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-30T15:54:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=664041d04f7ace891914eea98a781ba5c9372a70'/>
<id>urn:sha1:664041d04f7ace891914eea98a781ba5c9372a70</id>
<content type='text'>
This is the problem with void* user data pointers in callbacks...
</content>
</entry>
</feed>
