summaryrefslogtreecommitdiff
path: root/src/surface.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-12-13Even more cleanup and commenting thingsLeon Henrik Plickat1-26/+26
2021-12-13Minor code cleanupLeon Henrik Plickat1-13/+0
2021-12-13Do not update unrelated layer surface settings on configure eventLeon Henrik Plickat1-50/+53
Before this patch, wlclock would always update all layer surface settings on every configure event. This is known to create a feedback loop with faulty compositors (see https://github.com/swaywm/sway/pull/6709). While wlclock did nothing wrong before, not updating these settings is more idiomatic.
2021-11-14Use global contextLeon Henrik Plickat1-35/+30
2020-10-05Remove unused surface functionsLeon Henrik Plickat1-18/+0
2020-09-28Rip out frame callbackLeon Henrik Plickat1-7/+3
Apparently, requesting a callback is asking "when can I render the /next/ frame?", not asking "when can I render /this/ frame?". Huh...
2020-09-26Render on callbackLeon Henrik Plickat1-8/+16
2020-09-26`--position` instead of `--anchor`Leon Henrik Plickat1-16/+0
2020-09-25Draw clock handsLeon Henrik Plickat1-18/+68
2020-09-25Change dimension model to ensure square centerLeon Henrik Plickat1-14/+49
2020-09-24Render backgroundLeon Henrik Plickat1-1/+2