summaryrefslogtreecommitdiff
path: root/src/entry.c
AgeCommit message (Collapse)Author
2021-11-15Multiple smaller changes.Phil Jones
- Remove the background image and libpng dependency - Add a prompt - Add xmalloc with out-of-memory handling - Add beginnings of a rofi-like run cache
2021-11-15Switch from subsurface setup to just one surface.Phil Jones
The subsurface was playing havoc with layer shell stuff, and I don't think any potential efficiency gain is worth the complicated code to work out how big the subsurface should be. Instead, the entry code now just draws directly onto the main surface. Damage information should be passed to glTexSubImage2D() in future, to avoid redrawing the entire window every keypress.
2021-11-14Initial experiments with layer shell.Phil Jones
2021-11-14Rename main struct to tofi.Phil Jones
2021-11-07Initial working build.Phil Jones
2021-11-03Don't use Pango by default.Phil Jones
Initialising Pango makes up a large portion of the startup time, and we can achieve neater rendering with pure Cairo if we're just drawing circles anyway. Therefore, this commit avoids loading Pango if no options which require it are specified (such as --font-name or --password-character). This reduces startup time with no background image to ~40ms on my machine (2015 MacBook Pro).
2021-11-01Change default password character to full-stop.Phil Jones
2021-11-01Add extra cleanup code to debug builds.Phil Jones
Also fix some memory leaks.
2021-10-31Add actual greetd functionality.Phil Jones
Useable, but very barebones — not even any error message reporting.
2021-10-31Don't log which font is being used in release.Phil Jones
This speeds up Pango initialisation, which is by far the slowest part.
2021-10-31Add HiDPI support and lots of cleanup.Phil Jones
2021-10-29Basic text entry working.Phil Jones