<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/terminal.c, branch 1.2.3</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.2.3</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.2.3'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2020-03-14T21:34:03Z</updated>
<entry>
<title>term: use logical DPI+scale factor when scaling fonts</title>
<updated>2020-03-14T21:34:03Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-11T15:10:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=36ef0463b7157199aac1876ad4cc9725403fff4a'/>
<id>urn:sha1:36ef0463b7157199aac1876ad4cc9725403fff4a</id>
<content type='text'>
This fixes an issue where the fonts were rendered too small when the
output had fractional scaling.

For integral scaling, using the logical (scaled) DPI multiplied with
the scaling factor results in the same final DPI value as if we had
used the physical DPI.

But for fractional scaling, this works around the fact that the
compositor downscales the surface after we've rendered it.

Closes #5
</content>
</entry>
<entry>
<title>terminal: appky scale factor when force-resizing on font reload</title>
<updated>2020-03-14T21:32:01Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-10T17:07:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c8ea1d137ef280b1a25ec8685e38bcd9c47a17d6'/>
<id>urn:sha1:c8ea1d137ef280b1a25ec8685e38bcd9c47a17d6</id>
<content type='text'>
If we don't, we'll end up e.g. increasing the window size when moving
the window between outputs with different scaling.

Closes #3
</content>
</entry>
<entry>
<title>render: never render CSD and/or search box "immediately"</title>
<updated>2020-03-06T18:16:54Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-06T18:16:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c5a1af4e534f0f290ea885b221d7d37d020ac994'/>
<id>urn:sha1:c5a1af4e534f0f290ea885b221d7d37d020ac994</id>
<content type='text'>
Handle the CSDs and the search box the same way we handle the main
grid; when we need to redraw them, call
render_refresh_{csd,search}(). This sets a flag that is checked after
each FDM iteration. All actual rendering is done here.

This also ties the commits of the Wayland sub-surfaces to the commit
of the main surface.
</content>
</entry>
<entry>
<title>quirks: add shortcut for flipping all CSD surfaces sync/desync state</title>
<updated>2020-03-03T17:20:09Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-03T17:19:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e077290c56022255a986c0560f4d496a29bab55e'/>
<id>urn:sha1:e077290c56022255a986c0560f4d496a29bab55e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csd: initial implementation of minimize/maximize/close buttons</title>
<updated>2020-03-02T19:29:28Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-02T19:29:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9699c9b8bfcbd7f9ebef5ee4ffe370cb03b1c8a2'/>
<id>urn:sha1:9699c9b8bfcbd7f9ebef5ee4ffe370cb03b1c8a2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>terminal: workaround founds with negative line gaps</title>
<updated>2020-03-02T17:43:23Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-02T17:43:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f235bfdfdf2a33f9cf0a7074fb3c1722722ffb7b'/>
<id>urn:sha1:f235bfdfdf2a33f9cf0a7074fb3c1722722ffb7b</id>
<content type='text'>
Some fonts, even monospaced ones, have a negative line gap (line
height &lt; ascent + descent).

Using the font's line height as cell height will result in some glyphs
overflowing into the cell above or below.

Workaround by using which ever value is the largest: the line height
or ascent + descent.
</content>
</entry>
<entry>
<title>term: visual_focus_{in,out}: use quirk_weston_subsurface_desync_{on,off}</title>
<updated>2020-03-01T12:09:25Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-01T12:09:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=70cdb7af08fd4237f063ec241383b7c27e9685b3'/>
<id>urn:sha1:70cdb7af08fd4237f063ec241383b7c27e9685b3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>render: csd: split up positioning from rendering</title>
<updated>2020-02-29T17:02:38Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-29T17:02:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=92d638eb1c34859a08605ffc79be8f0a4a3c63a3'/>
<id>urn:sha1:92d638eb1c34859a08605ffc79be8f0a4a3c63a3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: loop through all sub-surfaces when switching sync/desync mode</title>
<updated>2020-02-29T08:26:49Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-29T08:26:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8c98dfc51a4b313c3f4c019533069a6cc7c08a09'/>
<id>urn:sha1:8c98dfc51a4b313c3f4c019533069a6cc7c08a09</id>
<content type='text'>
</content>
</entry>
<entry>
<title>terminal: error out when we fail to load the primary font</title>
<updated>2020-02-28T17:35:05Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-28T17:35:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=40f3d4c24ccfd116a53120e36df796a959ca6499'/>
<id>urn:sha1:40f3d4c24ccfd116a53120e36df796a959ca6499</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csd: position CSD sub-surfaces *outside* the main window</title>
<updated>2020-02-26T11:17:58Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-26T11:17:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=2f587f6f3d29c2dbfc6625e94144bf325263d090'/>
<id>urn:sha1:2f587f6f3d29c2dbfc6625e94144bf325263d090</id>
<content type='text'>
For now, this behavior is controlled with an ifdef. At least kwin
seems very buggy when the decorations are positioned like this (but
normally you'd use server-side decorations with kwin anyway).

This commit also changes 'use_csd' to be a tri-state variable;
when instantiating a window it is set to 'unknown'.

If there's no decoration manager available (e.g. weston), we
immediately set it to 'yes' (use CSDs).

Otherwise, we wait for the decoration manager callback to indicate
whether we should use CSDs or not.
</content>
</entry>
<entry>
<title>term: visual_focus_in/out: redraw CSDs</title>
<updated>2020-02-25T19:31:37Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-25T19:31:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e9d3e7d87f820d9f7d1f63eef7e8a9a5fa5e5718'/>
<id>urn:sha1:e9d3e7d87f820d9f7d1f63eef7e8a9a5fa5e5718</id>
<content type='text'>
We draw the CSDs in a darker color when we're inactive.

Weston seems to be buggy with synchronized subsurfaces, so temporarily
reconfigure them to desynchronized surfaces.
</content>
</entry>
<entry>
<title>render: resize with with/height == 0 resizes to user configured dimensions</title>
<updated>2020-02-25T19:29:44Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-25T19:29:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ef53729242596344f07b1e9329ffaad51252b0c3'/>
<id>urn:sha1:ef53729242596344f07b1e9329ffaad51252b0c3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main: geometry defaults to 800x600 pixels</title>
<updated>2020-02-25T18:05:48Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-25T18:05:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ac32bcda07015dbf00f3b804f5e4595cd7994245'/>
<id>urn:sha1:ac32bcda07015dbf00f3b804f5e4595cd7994245</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: add term_surface_kind(), and track currently active surface</title>
<updated>2020-02-24T21:38:35Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-24T21:38:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7f270a9f01f8c2674a29a1fcd1b91c8ea67cf6ea'/>
<id>urn:sha1:7f270a9f01f8c2674a29a1fcd1b91c8ea67cf6ea</id>
<content type='text'>
This is needed to handle pointer motion and button events correctly,
since mouse actions in e.g. CSD surfaces are very different from mouse
actions in the main window.
</content>
</entry>
<entry>
<title>term: scroll: call sixel_delete_*() instead of manually erasing sixel images</title>
<updated>2020-02-24T17:42:52Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-24T17:41:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=77fcb43ea50a2a7ab22465eda202dac8a5cf041a'/>
<id>urn:sha1:77fcb43ea50a2a7ab22465eda202dac8a5cf041a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: term_erase(): call sixel_delete_*()</title>
<updated>2020-02-24T17:42:46Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-24T17:40:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4c6f2ea340d1432e50973961579ebd0eb4ca2c0f'/>
<id>urn:sha1:4c6f2ea340d1432e50973961579ebd0eb4ca2c0f</id>
<content type='text'>
This ensures sixel images are removed, regardless of _how_ the screen
was erased.
</content>
</entry>
<entry>
<title>term: scroll: don't delete sixel images on the 'other' grid</title>
<updated>2020-02-22T23:41:10Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-22T23:41:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=6d6931163061d4cdd9599e212dbbe857a17d0cee'/>
<id>urn:sha1:6d6931163061d4cdd9599e212dbbe857a17d0cee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sixel: rename: purge_at_cursor() -&gt; delete_at_cursor()</title>
<updated>2020-02-22T22:06:11Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-22T22:06:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=86d640ef71938a621e08461701b20203d37ae2a9'/>
<id>urn:sha1:86d640ef71938a621e08461701b20203d37ae2a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sixel: purge images at current cursor row</title>
<updated>2020-02-22T20:35:45Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-22T20:35:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=80361ca04e12b65396d27fa1d981f6739861e453'/>
<id>urn:sha1:80361ca04e12b65396d27fa1d981f6739861e453</id>
<content type='text'>
When printing a character, or starting a new sixel image, purge all
images that cover the cursor's current row.
</content>
</entry>
</feed>
