<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/render.c, branch releases/1.2</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=releases%2F1.2</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=releases%2F1.2'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2020-03-06T18:16:54Z</updated>
<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>render: csd: improved look of minimize/maximize/close buttons</title>
<updated>2020-03-06T18:15:09Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-06T18:15:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e5540a0d2ecfe8156946e444d265e4e41818793c'/>
<id>urn:sha1:e5540a0d2ecfe8156946e444d265e4e41818793c</id>
<content type='text'>
* minimize: a downward triangle
* maximize (window): an upward triangle
* maximize (already maximized): a hollow square
* close: a filled square

The glyphs are now rendered using the default background color instead
of hardcoded to black.
</content>
</entry>
<entry>
<title>render: CSD: use *default* foreground, not current foreground</title>
<updated>2020-03-06T18:13:10Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-06T18:13:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f434933824da23ced65e4134d6cb76c99b49897e'/>
<id>urn:sha1:f434933824da23ced65e4134d6cb76c99b49897e</id>
<content type='text'>
Applications may temporarily change the foreground color. Don't use
this when rendering the CSD title bar - use the default
foreground (i.e the default default one, or the one configured by the
user in footrc).
</content>
</entry>
<entry>
<title>render: oops, add missing '}'</title>
<updated>2020-03-03T17:29:46Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-03T17:29:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a78cca74a030782e33646d0719f44e20c585e8ca'/>
<id>urn:sha1:a78cca74a030782e33646d0719f44e20c585e8ca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>render: configure a clip region to exclude the grid margins</title>
<updated>2020-03-03T17:27:59Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-03T17:27:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b81b1b6ff7e0a1c4bbe8eeb1216927f1dc3506b0'/>
<id>urn:sha1:b81b1b6ff7e0a1c4bbe8eeb1216927f1dc3506b0</id>
<content type='text'>
This ensures content in the last column doesn't flow over into the
margins (where they are typically never erased, unless the window is
resized).
</content>
</entry>
<entry>
<title>wayland: set window geometry to exclude the invisible CSD borders</title>
<updated>2020-03-03T17:26:15Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-03T17:26:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d76484ae50efb8ede95e6b0921bdb1fad26dccd9'/>
<id>urn:sha1:d76484ae50efb8ede95e6b0921bdb1fad26dccd9</id>
<content type='text'>
But it *does* include the title bar. This simplifies the 'adjustment'
needed to be done to the configured window size.

It also fixes a number of issues:

* the compositor will now properly snap the window to screen
  edges (before, there was an empty space between the edge and the
  window - the CSD border).
* This also removes the need for the mutter 'commit' workaround. We
  must be doing something right now.
</content>
</entry>
<entry>
<title>render: csd: render surfaces in reverse order</title>
<updated>2020-03-03T17:24:51Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-03T17:24:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=044556ef3e1a04173e4b1c12baa2947b08222fab'/>
<id>urn:sha1:044556ef3e1a04173e4b1c12baa2947b08222fab</id>
<content type='text'>
This ensures the inner most child surfaces are rendered and comitted
before the parent surfaces.
</content>
</entry>
<entry>
<title>render: csd: assert surfaces exist before trying to use them</title>
<updated>2020-03-03T17:24:31Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-03T17:24:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=da91a9de4b6b3d4501a053e1528abe4e44b3a726'/>
<id>urn:sha1:da91a9de4b6b3d4501a053e1528abe4e44b3a726</id>
<content type='text'>
</content>
</entry>
<entry>
<title>render: csd: center 'close' button's cross</title>
<updated>2020-03-03T17:24:09Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-03T17:24:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=09bb9bef33b6e9a2bbac830bd14dca1d14986e69'/>
<id>urn:sha1:09bb9bef33b6e9a2bbac830bd14dca1d14986e69</id>
<content type='text'>
</content>
</entry>
<entry>
<title>render: csd: don't even try to render CSDs when we're in fullscreen mode</title>
<updated>2020-03-03T17:23:52Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-03T17:23:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c9659ecd14d7d94d1c0b26cf1864606f994bd22e'/>
<id>urn:sha1:c9659ecd14d7d94d1c0b26cf1864606f994bd22e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>render: don't try to render CSDs when the terminal is shutting down</title>
<updated>2020-03-03T17:23:37Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-03T17:23:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c10f1d5459568d4883e55d3d7531594d6c93066b'/>
<id>urn:sha1:c10f1d5459568d4883e55d3d7531594d6c93066b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: CSD borders are always invisible</title>
<updated>2020-03-03T17:18:59Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-03T17:18:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c90d70b2bfc93fa7bf58f9e8805a55b191828886'/>
<id>urn:sha1:c90d70b2bfc93fa7bf58f9e8805a55b191828886</id>
<content type='text'>
That is, remove all configuration options and always draw them fully
transparent.
</content>
</entry>
<entry>
<title>render: csd: maximize: change default color to a lighter green</title>
<updated>2020-03-02T20:11:17Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-02T20:11:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=cb6616ef8ac9f778a4e86b713033d0355dc27279'/>
<id>urn:sha1:cb6616ef8ac9f778a4e86b713033d0355dc27279</id>
<content type='text'>
</content>
</entry>
<entry>
<title>render: csd: close: change default color to a lighter blue</title>
<updated>2020-03-02T20:10:25Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-02T20:10:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=63a3d6ce03f0de8bf5f1d7d8ccc789970c8c11c8'/>
<id>urn:sha1:63a3d6ce03f0de8bf5f1d7d8ccc789970c8c11c8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>render: csd: minimize: change default color to a lighter blue</title>
<updated>2020-03-02T20:09:21Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-02T20:09:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b14c217fb62bbdf4350c2877b889f42fe2ba69b8'/>
<id>urn:sha1:b14c217fb62bbdf4350c2877b889f42fe2ba69b8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>render: initial minimize/maximize/close glyphs</title>
<updated>2020-03-02T20:06:15Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-02T20:06:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=20eaa152719156d06cf141db710d54283034cc82'/>
<id>urn:sha1:20eaa152719156d06cf141db710d54283034cc82</id>
<content type='text'>
These are really ugly, but is meant to get something up there, that
can be polished afterwards.
</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>config: make CSD user configurable</title>
<updated>2020-03-02T17:42:49Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-02T17:42:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=22ce09eb44db887d32a5b3a88740939b7285c763'/>
<id>urn:sha1:22ce09eb44db887d32a5b3a88740939b7285c763</id>
<content type='text'>
The user can now configure the following:

* Whether to prefer CSDs or SSDs. But note that this is only a hint to
  the compositor - it may deny our request. Furthermore, not all
  compositors implement the decoration manager protocol, meaning CSDs
  will be used regardless of the user configuration (GNOME/mutter
  being the most prominent one).
* Title bar size and color, including transparency
* Border size and color, including transparency

Also drop support for rendering the CSDs inside the main surface.
</content>
</entry>
<entry>
<title>render: csd: don't try to render a zero-width/height border</title>
<updated>2020-03-01T12:17:54Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-01T12:17:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=875b067f136f05c04db56be9d9de69b3391832c8'/>
<id>urn:sha1:875b067f136f05c04db56be9d9de69b3391832c8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>search: enable/disable weston sub-surface desync quirk when rendering search box</title>
<updated>2020-03-01T12:06:00Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-01T12:06:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b6f8a2e422fe05c1c1e63d39f72857d4c480bc7c'/>
<id>urn:sha1:b6f8a2e422fe05c1c1e63d39f72857d4c480bc7c</id>
<content type='text'>
</content>
</entry>
</feed>
