summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-06-09 17:34:13 +0100
committerPhil Jones <philj56@gmail.com>2022-06-09 17:34:13 +0100
commit68132ab8fb66a0462b77304a5bbc9313f3dcb7bc (patch)
tree25c93385e204064ac54c221eed3c130f7471d201 /src/main.c
parent05861ed6737f6b7b139895c4eeb26791edc333b4 (diff)
Speed up Cairo initialisation.
Rather than using cairo_paint() and re-drawing the middle of the window multiple times, use cairo_rectangle() + cairo_stroke(). This especially helps for large (e.g. fullscreen) windows.
Diffstat (limited to 'src/main.c')
0 files changed, 0 insertions, 0 deletions