Skip to content

Commit

Permalink
Display notification cards even if there's no OSD element displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
jyavenard committed Jul 1, 2013
1 parent 3ccfb81 commit 8968185
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mythtv/libs/libmythtv/osd.cpp
Expand Up @@ -736,9 +736,6 @@ QRegion OSD::Draw(MythPainter* painter, QPaintDevice *device, QSize size,

changed = dirty;

if (visible.isEmpty() || (!alignx && !aligny))
return visible;

// display notifications stack
QRegion changed2;
QRegion notification =
Expand All @@ -747,6 +744,9 @@ QRegion OSD::Draw(MythPainter* painter, QPaintDevice *device, QSize size,
changed = changed.united(changed2);
visible = visible.united(notification);

if (visible.isEmpty() || (!alignx && !aligny))
return visible;

// assist yuv blending with some friendly alignments
QRegion aligned;
QVector<QRect> rects = visible.rects();
Expand Down

0 comments on commit 8968185

Please sign in to comment.