Contents of /trunk/kdebase/patches/kdebase-3.5.1-kicker-flicker.patch
Parent Directory | Revision Log
Revision 144 -
(show annotations)
(download)
Tue May 8 20:06:05 2007 UTC (17 years, 4 months ago) by niro
File size: 1322 byte(s)
Tue May 8 20:06:05 2007 UTC (17 years, 4 months ago) by niro
File size: 1322 byte(s)
-import
1 | --- branches/KDE/3.5/kdebase/kicker/taskmanager/taskmanager.cpp #505029:505030 |
2 | @@ -378,9 +378,8 @@ |
3 | } |
4 | |
5 | // check if any state we are interested in is marked dirty |
6 | - if (!(dirty & (NET::WMVisibleName | NET::WMVisibleIconName | NET::WMName | |
7 | - NET::WMIconName | NET::WMState | NET::WMIcon | |
8 | - NET::XAWMState | NET::WMDesktop) || |
9 | + if (!(dirty & (NET::WMVisibleName | NET::WMName | NET::WMIcon | |
10 | + NET::WMState | NET::XAWMState | NET::WMDesktop) || |
11 | (m_trackGeometry && dirty & NET::WMGeometry))) |
12 | { |
13 | return; |
14 | @@ -404,9 +403,12 @@ |
15 | if (dirty & NET::WMIcon) |
16 | { |
17 | t->refreshIcon(); |
18 | + |
19 | + // we're done with the icon processing, don't pass this on anymore |
20 | + dirty ^= NET::WMIcon; |
21 | } |
22 | |
23 | - if (dirty != NET::WMIcon) |
24 | + if (dirty) |
25 | { |
26 | // only refresh this stuff if we have other changes besides icons |
27 | t->refresh(dirty); |
28 | @@ -725,10 +727,10 @@ |
29 | |
30 | void Task::refresh(unsigned int dirty) |
31 | { |
32 | - QString name = visibleIconicName(); |
33 | + QString name = visibleName(); |
34 | _info = KWin::windowInfo(_win, 0, NET::WM2AllowedActions); |
35 | |
36 | - if (dirty != NET::WMName || name != visibleIconicName()) |
37 | + if (dirty != NET::WMName || name != visibleName()) |
38 | { |
39 | emit changed(); |
40 | } |