Changeset View
Changeset View
Standalone View
Standalone View
activation.cpp
Show First 20 Lines • Show All 818 Lines • ▼ Show 20 Line(s) | 818 | || (group()->userTime() != -1U | |||
---|---|---|---|---|---|
819 | && NET::timestampCompare(group()->userTime(), time) > 0)) | 819 | && NET::timestampCompare(group()->userTime(), time) > 0)) | ||
820 | time = group()->userTime(); | 820 | time = group()->userTime(); | ||
821 | return time; | 821 | return time; | ||
822 | } | 822 | } | ||
823 | 823 | | |||
824 | void Client::doSetActive() | 824 | void Client::doSetActive() | ||
825 | { | 825 | { | ||
826 | updateUrgency(); // demand attention again if it's still urgent | 826 | updateUrgency(); // demand attention again if it's still urgent | ||
827 | info->setState(isActive() ? NET::Focused : NET::States(), NET::Focused); | ||||
827 | } | 828 | } | ||
828 | 829 | | |||
829 | void Client::startupIdChanged() | 830 | void Client::startupIdChanged() | ||
830 | { | 831 | { | ||
831 | KStartupInfoId asn_id; | 832 | KStartupInfoId asn_id; | ||
832 | KStartupInfoData asn_data; | 833 | KStartupInfoData asn_data; | ||
833 | bool asn_valid = workspace()->checkStartupNotification(window(), asn_id, asn_data); | 834 | bool asn_valid = workspace()->checkStartupNotification(window(), asn_id, asn_data); | ||
834 | if (!asn_valid) | 835 | if (!asn_valid) | ||
▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines |