summaryrefslogtreecommitdiff
path: root/src/surface.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Do not update unrelated layer surface settings on configure eventLeon Henrik Plickat2021-12-131-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.
* Use global contextLeon Henrik Plickat2021-11-141-35/+30
|
* Remove unused surface functionsLeon Henrik Plickat2020-10-051-18/+0
|
* Rip out frame callbackLeon Henrik Plickat2020-09-281-7/+3
| | | | | Apparently, requesting a callback is asking "when can I render the /next/ frame?", not asking "when can I render /this/ frame?". Huh...
* Render on callbackLeon Henrik Plickat2020-09-261-8/+16
|
* `--position` instead of `--anchor`Leon Henrik Plickat2020-09-261-16/+0
|
* Draw clock handsLeon Henrik Plickat2020-09-251-18/+68
|
* Change dimension model to ensure square centerLeon Henrik Plickat2020-09-251-14/+49
|
* Render backgroundLeon Henrik Plickat2020-09-241-1/+2
|
* InitLeon Henrik Plickat2020-09-241-0/+163