app: note the implications of custom rendering

Small note to make clear how the window behaviour
changes when you call for custom rendering.

Fixes: https://todo.sr.ht/~eliasnaur/gio/346
Signed-off-by: Jack Mordaunt <jackmordaunt.dev@gmail.com>
This commit is contained in:
Jack Mordaunt
2022-01-30 14:25:29 +08:00
committed by Elias Naur
parent 9f1d6f5ebf
commit 4f9d063e13
+4
View File
@@ -827,6 +827,10 @@ func NavigationColor(color color.NRGBA) Option {
// CustomRenderer controls whether the window contents is
// rendered by the client. If true, no GPU context is created.
//
// Caller must assume responsibility for rendering which includes
// initializing the render backend, swapping the framebuffer and
// handling frame pacing.
func CustomRenderer(custom bool) Option {
return func(_ unit.Metric, cnf *Config) {
cnf.CustomRenderer = custom