i3/include
Uli Schlachter b23c8875f7 font: Get rid of temporary cairo surface
i3 actually manages to have two different cairo surfaces referring to
the same drawable. One comes from the code in draw_util. The second is
temporarily created while rendering text via draw_text(). No idea how
well cairo handles this case.

This commit instead changes the code to pass the already existing cairo
surface from the caller through.

This might or might not fix https://github.com/i3/i3/pull/4357. My
thinking here is that cairo now knows the actual size of the drawable
and thus does not clip the drawing to a smaller size.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2021-03-05 11:37:03 +01:00
..
2019-10-09 02:31:52 +03:00
2020-10-20 09:36:44 +02:00
2017-09-13 17:41:05 +02:00
2018-10-13 21:10:10 +03:00
2016-11-08 13:46:43 -08:00
2019-10-03 06:09:57 +00:00
2019-10-14 03:31:24 +03:00
2020-10-18 17:28:14 +02:00
2020-04-20 05:54:17 +02:00