diff --git a/debian/changelog b/debian/changelog index 665d7ae..e56b817 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ lxqt-notificationd (0.13.0-0ubuntu2) UNRELEASED; urgency=medium * Bump Standards-version to 4.1.5, no changes needed. + * Keep notification height when others are added and/or removed. -- Simon Quigley Sat, 14 Jul 2018 01:38:39 -0500 diff --git a/debian/patches/fix-notification-height-changing.patch b/debian/patches/fix-notification-height-changing.patch new file mode 100644 index 0000000..a14f003 --- /dev/null +++ b/debian/patches/fix-notification-height-changing.patch @@ -0,0 +1,15 @@ +Description: Keep notification height when others are added and/or removed +Author: Piotr Wójcik +Origin: upstream +Applied-Upstream: commit:db5707d +Last-Update: 2018-07-14 +--- a/src/notification.cpp ++++ b/src/notification.cpp +@@ -60,6 +60,7 @@ Notification::Notification(const QString + + setMaximumWidth(parent->width()); + setMinimumWidth(parent->width()); ++ setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed); + + setValues(application, summary, body, icon, timeout, actions, hints); + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..b386538 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +fix-notification-height-changing.patch