summaryrefslogtreecommitdiff
path: root/src/surface.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-12-13Minor code cleanupLeon Henrik Plickat1-1/+0
2021-12-13Do not update unrelated layer surface settings on configure eventLeon Henrik Plickat1-1/+0
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-2/+1
2020-10-05Remove unused surface functionsLeon Henrik Plickat1-2/+0
2020-09-28Rip out frame callbackLeon Henrik Plickat1-3/+0
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-0/+3
2020-09-25Draw clock handsLeon Henrik Plickat1-3/+8
2020-09-25Change dimension model to ensure square centerLeon Henrik Plickat1-1/+2
2020-09-24Render backgroundLeon Henrik Plickat1-1/+2