tdf#83523 ruler: Invalidate full ruler rect on app bg change
commit2174b56ffb5817e42c8b4f6891214fcb67c55b30
authorJustin Luth <justin_luth@sil.org>
Fri, 21 Jan 2022 13:43:47 +0000 (21 15:43 +0200)
committerMiklos Vajna <vmiklos@collabora.com>
Mon, 31 Jan 2022 11:27:48 +0000 (31 12:27 +0100)
treee2aae9dff53accf86c50355b77ca1812ff54b60f
parentad1da9345b75dbe3ed9c503916c83c38d8a2e22f
tdf#83523 ruler: Invalidate full ruler rect on app bg change

Instead of waiting for the application to restart,
hack out an immediate invalidation of the ruler.

Perhaps there is a better place to do this
because the ruler background apparently IS
changing, but it seems to require a hack
to invalidate everything.

Change-Id: I4a27cbaf484e96c19c71c04017c649e95bf80d96
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128733
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
svtools/source/control/ruler.cxx