X-Git-Url: http://git.draconx.ca/gitweb/rrace.git/blobdiff_plain/bbe659b000e2c281340953c5fc96bd7ac3b94eaa..bbc28a6dec903c362ed1249ca3b31b26e0d44c15:/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