Commit 0e42cf81 authored by Kristian Rietveld's avatar Kristian Rietveld Committed by Michael Natterer

quartz: Actually use the window background PATTERN color

Before we used a window's background color, which resulted in corrupted
display in some cases, presumably because we didn't reset the active
pattern. This patch seems to eliminate the observed corruption.
parent b9575ddd
......@@ -97,7 +97,7 @@
*/
[NSGraphicsContext saveGraphicsState];
[[[self window] backgroundColor] setFill];
[[NSColor windowBackgroundColor] setFill];
[NSBezierPath fillRect:rect];
[NSGraphicsContext restoreGraphicsState];
......
Markdown is supported
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