X-Git-Url: https://git.draconx.ca/gitweb/rrace.git/blobdiff_plain/bb0ef256f417d9847b157c0a204a634d65c98a4b..820ca1a966bd2cb0b77d7e36d979645b527a1b2b:/src/xcounter.h diff --git a/src/xcounter.h b/src/xcounter.h index e08b8a8..112d485 100644 --- a/src/xcounter.h +++ b/src/xcounter.h @@ -1,6 +1,6 @@ /* * Helpers for implementing a rapid-update counter display in Motif. - * Copyright © 2022 Nick Bowler + * Copyright © 2022-2023 Nick Bowler * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -94,7 +94,8 @@ void xcounter_resize_cb(Widget w, void *data, void *cb_data); void xcounter_expose_cb(Widget w, void *data, void *cb_data); /* - * Clear the margins of the counter after resizing the widget. + * Call after the widget is resized to update the internal dimensions, + * and clear the margins. * * Since the pre-rendered text never changes, this is all that is needed: * existing portions of the window do not need to be redrawn (except when