# Repaint without parent repaint

**URL:** <https://forum.juce.com/t/repaint-without-parent-repaint/15550>\
**Category:** General JUCE discussion\
**Created:** [September 17, 2015, 3:47pm UTC](https://forum.juce.com/t/repaint-without-parent-repaint/15550 "2015-09-17T15:47:49Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![yfede](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/yfede/32/506_2.png) [@yfede](https://forum.juce.com/u/yfede)\
**Post date:** [March 30, 2016, 10:22pm UTC](https://forum.juce.com/t/repaint-without-parent-repaint/15550/10 "2016-03-30T22:22:00Z")

</div>

> Still beware that on OSX, if you get two different child like one on top left and one on bottom right, then everything gets repainted&nbsp;because the redraw surface is a rectangle not a rectangle list.

Relevant for&nbsp;the above&nbsp;issue you mention, could be this commit: (also pasted here for future reference to anyone hitting the same issue with opaque components)

https://github.com/julianstorer/JUCE/commit/e0f5218121054172bf9df6474ae37c29e6d24e11

This is the outcome of another long discussion in this forum about it.

Notice that this may lead to a different set of performance issues, so it should be used with caution (hence the enablement with a macro)

---

_[View the full topic](https://forum.juce.com/t/repaint-without-parent-repaint/15550)._
