Commit bb31aa85 authored by Morten Johan Sørvig's avatar Morten Johan Sørvig
Browse files

Cocoa: refactor commit 876a428f.


Conditions for when updateExposedGeometry() should
actually send the expose event goes into the function
itself.

The window()->isVisible() check could arguably be
moved to isWindowExposable(), but I'm keeping this
as a straight refactor without any behavior changes.
(isWindowExposable() is called from multiple locations)

Change-Id: I6d792286ccbc50065ebfc588daca2240761a1937
Reviewed-by: default avatarLaszlo Agocs <laszlo.agocs@digia.com>
parent a2ce7e6a
Showing with 7 additions and 6 deletions
Supports Markdown
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