summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/msgdialog.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-06-05 11:47:37 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-06-05 11:47:37 +0300
commit11b0f497c9a7d13ea7caba9841d661f72389751c (patch)
tree40c9d116272d6a4c63a717cd68686a61e6e5c989 /plugins/Scriver/src/msgdialog.cpp
parent9ff6f169d1e2bd5bc139290d4abd6d7573fa6061 (diff)
merge of SRMM related changes into stable
Diffstat (limited to 'plugins/Scriver/src/msgdialog.cpp')
-rw-r--r--plugins/Scriver/src/msgdialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp
index 8bc0ff50cc..06ca2fe422 100644
--- a/plugins/Scriver/src/msgdialog.cpp
+++ b/plugins/Scriver/src/msgdialog.cpp
@@ -1416,6 +1416,7 @@ INT_PTR CSrmmWindow::DlgProc(UINT msg, WPARAM wParam, LPARAM lParam)
if (m_hDbEventFirst == 0)
m_hDbEventFirst = hDbEvent;
if (DbEventIsShown(dbei)) {
+ bool bIsActive = IsActive();
if (dbei.eventType == EVENTTYPE_MESSAGE && !(dbei.flags & (DBEF_SENT))) {
/* store the event when the container is hidden so that clist notifications can be removed */
if (!IsWindowVisible(m_hwndParent) && m_hDbUnreadEventFirst == 0)