OSDN Git Service

ui/vc: drop have_text
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 30 Aug 2023 09:37:39 +0000 (13:37 +0400)
committerPatchew Applier <no-reply@patchew.org>
Fri, 1 Sep 2023 17:21:04 +0000 (17:21 +0000)
commit177422789be54447cfc2d770145968058e5d0b5c
treea4ba27347c842b0d0394085adbe78b30d671bb62
parentf1f7a1e2cfee7beee626552744efcc5a3867501f
ui/vc: drop have_text

If there are no "text" listener, the callback will simply be ignored.
The rest of text handling can be done cheaply.

This allows to remove some dependency on DisplayState from VC
implementation.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20230830093843.3531473-6-marcandre.lureau@redhat.com>
ui/console.c