Skip to content
Commit 1987f04e authored by Sebastian Keller's avatar Sebastian Keller Committed by Carlos Garcia Campos
Browse files

libview: Save/restore context when getting colors for a different state

Getting colors for a state different from the current state of the
corresponding widget without saving the context might trigger an
invalidation and a redraw. Because this was happening from the draw
function this resulted in a redraw loop and constant high CPU usage.

This could be triggered by selecting text or searching.

https://bugzilla.gnome.org/show_bug.cgi?id=755442
parent b09ae030
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment