commit 2c2ba981fb05d5e8f8610220686949556dae4da5
Author: Enrico Forestieri <[email protected]>
Date:   Wed May 7 14:18:14 2014 -0400

    Fix problem with drawing of math backround with selections.
    (cherry picked from commit 3e681bea4fa3f0d24016187d9778ab8344b93592)

diff --git a/src/mathed/InsetMathHull.cpp b/src/mathed/InsetMathHull.cpp
index 4c20625..daf43fe 100644
--- a/src/mathed/InsetMathHull.cpp
+++ b/src/mathed/InsetMathHull.cpp
@@ -510,7 +510,7 @@ void InsetMathHull::drawBackground(PainterInfo & pi, int x, 
int y) const
                return;
        } 
        pi.pain.fillRectangle(x + 1, y - dim.asc + 1, dim.wid - 2,
-                       dim.asc + dim.des - 1, backgroundColor(pi));
+                       dim.asc + dim.des - 1, pi.backgroundColor(this));
 }
 
 
diff --git a/status.21x b/status.21x
index a2eb485..0f05bc7 100644
--- a/status.21x
+++ b/status.21x
@@ -113,6 +113,8 @@ What's new
 - Open View > Source Pane at a reasonable size (bug 9084). The downside of
   this fix is that the Source Pane cannot be shrunken ad infinitum anymore.
 
+- Fix problem with drawing of background in math when selection is active.
+
 
 * INTERNALS
 

Reply via email to