mhiretskiy 1603
parent 0b290a9c5a
commit 5fc3b153d0

@ -27,8 +27,8 @@ index bba5f7a..ad9cceb 100644
+ else + else
+ { + {
+ int i = 0; + int i = 0;
+ const int current_cnt = btns.count(); + const int current_cnt = m_buttons->buttons().count();
+ const int border = qMin(btns.count(), m_desktopCount); + const int border = qMin(current_cnt, m_desktopCount);
+ // drop urgency for window from all desktops + // drop urgency for window from all desktops
+ for ( ; i < border; ++i) + for ( ; i < border; ++i)
+ { + {

Loading…
Cancel
Save