aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/notificationpopup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notificationpopup.h b/src/notificationpopup.h
index 5269326..a402ecd 100644
--- a/src/notificationpopup.h
+++ b/src/notificationpopup.h
@@ -95,7 +95,7 @@ public:
protected slots:
void animateIn(int screenNumber) {
- QRect screenRect = QGuiApplication::screens().at(screenNumber)->geometry();
+ QRect screenRect = QGuiApplication::screens().at(screenNumber)->availableGeometry();
int x = (screenRect.x() + screenRect.width() - 20) - this->width();
int y = 40;
QPropertyAnimation *a = new QPropertyAnimation(this, "pos");