<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/input.c, branch 1.10.2</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.10.2</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.10.2'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2021-12-01T19:04:01Z</updated>
<entry>
<title>input: always update the xcursor shape in pointer enter/motion events</title>
<updated>2021-12-01T19:04:01Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-01T19:04:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1619e83c13875f71f79e5ca0e4504dd59dd81d79'/>
<id>urn:sha1:1619e83c13875f71f79e5ca0e4504dd59dd81d79</id>
<content type='text'>
Now that term_xcursor_update_for_seat() takes the current surface into
account (i.e. doesn’t assume the cursor is over the main grid),
there’s no longer any need to call render_xcursor_set() directly.

Thus, we can simply call term_xcursor_update_for_seat() on **all**
pointer enter and motion events. As long as we take care to update the
internal state to reflect the, possibly new, current surface before
doing so.

Also make sure to **always** reset the seat’s “current” xcursor
pointer on pointer leave events. This is done without actually sending
anything to the compositor, but is necessary to ensure that we *do*
send a request to update the xcursor on the next pointer enter event.
</content>
</entry>
<entry>
<title>input: fix debug log format specifier; ‘count’ is a size_t</title>
<updated>2021-12-01T19:03:18Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-01T19:03:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=63e8b1b2924aef94316e621513fd938eb0acc4e9'/>
<id>urn:sha1:63e8b1b2924aef94316e621513fd938eb0acc4e9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: make csd_data variable ‘const’</title>
<updated>2021-11-30T21:15:13Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-30T21:15:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fce13c4106afa3509536802d2c7d74e4d8b8e50d'/>
<id>urn:sha1:fce13c4106afa3509536802d2c7d74e4d8b8e50d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'window-menu'</title>
<updated>2021-11-30T21:10:27Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-30T21:10:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=90cfdcf1a5ddbaad44a46fb88b8dbafd319ee0ad'/>
<id>urn:sha1:90cfdcf1a5ddbaad44a46fb88b8dbafd319ee0ad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: regression: reset view (and cancel selection) on “handled” input</title>
<updated>2021-11-29T18:31:48Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-29T18:31:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=73a048f9d37af86264c5c48b7889e20f3e57f693'/>
<id>urn:sha1:73a048f9d37af86264c5c48b7889e20f3e57f693</id>
<content type='text'>
This fixes a regression, where the view (and selection) was only reset
if the keyboard input resulted in plain text. That is, key presses
like enter, arrows etc did not.
</content>
</entry>
<entry>
<title>input: Add support for xdg_toplevl.show_window_menu()</title>
<updated>2021-11-29T15:26:40Z</updated>
<author>
<name>Jonas Ådahl</name>
<email>jadahl@gmail.com</email>
</author>
<published>2021-11-19T14:08:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=38741baf9afc2697c7e508cb87c3b2983de9f0af'/>
<id>urn:sha1:38741baf9afc2697c7e508cb87c3b2983de9f0af</id>
<content type='text'>
This makes, if the compositor supports it, the window menu appear when
right clicking on the title bar.
</content>
</entry>
<entry>
<title>input: Update mouse x/y coordinates on wl_pointer_enter</title>
<updated>2021-11-29T15:26:40Z</updated>
<author>
<name>Jonas Ådahl</name>
<email>jadahl@gmail.com</email>
</author>
<published>2021-11-19T14:04:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c0ce131f1a4195585cc89f58ab65cfd7658ca0b7'/>
<id>urn:sha1:c0ce131f1a4195585cc89f58ab65cfd7658ca0b7</id>
<content type='text'>
Otherwise if you don't receive motion event before e.g. button pressed,
the coordinates will be incorrect. This happens when e.g. you get
alt-tabbed so that the mouse cursor ends up on top of the terminal
window, but the mouse never actually moved.
</content>
</entry>
<entry>
<title>terminal: Make seat xcursor update focus aware</title>
<updated>2021-11-29T15:26:40Z</updated>
<author>
<name>Jonas Ådahl</name>
<email>jadahl@gmail.com</email>
</author>
<published>2021-11-19T14:02:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5c2557b42116dd6d0f86c90b2cf04cd43f80a36e'/>
<id>urn:sha1:5c2557b42116dd6d0f86c90b2cf04cd43f80a36e</id>
<content type='text'>
When term_xcursor_update_for_seat() was called on e.g. keyboard focus
loss, it'd update the curret xcursor to 'text' even if it was e.g. on
top of the window title, or resize areas. This makes the function a bit
more focus aware, and will not be so eager to set the text xcursor.
</content>
</entry>
<entry>
<title>input: regression: special keys don’t reset view and cancel selection</title>
<updated>2021-11-28T15:48:30Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-28T15:48:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a55a3daae7280350f413bcb7570104480fcbebcd'/>
<id>urn:sha1:a55a3daae7280350f413bcb7570104480fcbebcd</id>
<content type='text'>
This fixes an issue where e.g. holding down ctrl would cancel the
selection, thus making it impossible to copy text to the clipboard.
</content>
</entry>
<entry>
<title>input: kitty: use `XKB_CONSUMED_MODE_GTK` when retrieving consumed mods</title>
<updated>2021-11-28T14:14:56Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-27T17:45:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8f41a8dc941c4bddbe7134498a25c41546c5188f'/>
<id>urn:sha1:8f41a8dc941c4bddbe7134498a25c41546c5188f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: get_current_modifiers(): use xkb_state_key_get_consumed_mods2()</title>
<updated>2021-11-28T14:14:56Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-27T17:44:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=913dd8b4a600538a0d90c2847395d0ad92ae5ea4'/>
<id>urn:sha1:913dd8b4a600538a0d90c2847395d0ad92ae5ea4</id>
<content type='text'>
Explicitly request consumed modifiers using the `XKB` mode.
</content>
</entry>
<entry>
<title>input: legacy: use ALEN(mod_param_map)</title>
<updated>2021-11-28T14:14:55Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-21T14:07:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=546bcd66b7a96ab9dfc3e3e598efd604a6e95858'/>
<id>urn:sha1:546bcd66b7a96ab9dfc3e3e598efd604a6e95858</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: grammar: “an UTF-8” -&gt; “a UTF-8”</title>
<updated>2021-11-28T14:14:55Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-21T14:06:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=42d1fcb48443091672ac11a76985297f994f08c0'/>
<id>urn:sha1:42d1fcb48443091672ac11a76985297f994f08c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: legacy: reduce size of reply buffer</title>
<updated>2021-11-28T14:14:55Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-21T14:05:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ce8ea2db66db0f81312df8fc993aa47d200a1305'/>
<id>urn:sha1:ce8ea2db66db0f81312df8fc993aa47d200a1305</id>
<content type='text'>
Its maximum size is known; the only two variables are two integers. We
know the maximum length of an integer converted to a string.
</content>
</entry>
<entry>
<title>input: only report modifiers when “Report all keys as escape codes” is enabled</title>
<updated>2021-11-28T14:14:55Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-21T12:53:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=07068165ece205666cbb82196c3746e6b2b30776'/>
<id>urn:sha1:07068165ece205666cbb82196c3746e6b2b30776</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: kitty: add shift/alt/ctrl/super/hyper/meta keys</title>
<updated>2021-11-28T14:14:54Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-21T11:40:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=6930abe9452487d1b0e5842081d55437766ee469'/>
<id>urn:sha1:6930abe9452487d1b0e5842081d55437766ee469</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: kitty: add ‘media’ keys</title>
<updated>2021-11-28T14:14:54Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-21T11:39:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9933284ab1d1dd4baf0a3bd5c056b7c9dc5c70f4'/>
<id>urn:sha1:9933284ab1d1dd4baf0a3bd5c056b7c9dc5c70f4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: kitty: map ISO_Left_Tab to Tab</title>
<updated>2021-11-28T14:14:54Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-21T11:20:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1ec218c3ac0bf101a6b3e94945fc8fe0ed337c5f'/>
<id>urn:sha1:1ec218c3ac0bf101a6b3e94945fc8fe0ed337c5f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: rename ‘meta’ to ‘super’</title>
<updated>2021-11-28T14:14:54Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-21T11:01:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=66171f104588a280e598ceb38dc90d9acdce060f'/>
<id>urn:sha1:66171f104588a280e598ceb38dc90d9acdce060f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: kitty: only emit CSIs for Caps- and Num-Lock when they aren’t modifiers</title>
<updated>2021-11-28T14:14:54Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-21T10:59:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a08494a766973cb580dc09ff4d5b3efb40f6ecb5'/>
<id>urn:sha1:a08494a766973cb580dc09ff4d5b3efb40f6ecb5</id>
<content type='text'>
</content>
</entry>
</feed>
