Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
kdepim4
r900876.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File r900876.diff of Package kdepim4
Subject: kalarm: show idle time on correct virtual desktop From: wstephenson@suse.de Bug: kde#153442,kde#174346 Patch-upstream: 900876 --- ktimetracker/idletimedetector.cpp (revision 900875) +++ ktimetracker/idletimedetector.cpp (revision 900876) @@ -33,6 +33,7 @@ #include <KLocale> // i18n #include <kdebug.h> +#include <KWindowSystem> #ifdef Q_WS_X11 #include <QX11Info> @@ -123,6 +124,10 @@ void IdleTimeDetector::informOverrun() dialog->setButtonText(KDialog::Cancel, i18n("Revert timing")); dialog->setButtonWhatsThis(KDialog::Ok, explanation); dialog->setButtonWhatsThis(KDialog::Cancel, explanationrevert); + // The user might be looking at another virtual desktop as where ktimetracker is running + KWindowSystem::self()->setOnDesktop( dialog->winId(), KWindowSystem::self()->currentDesktop() ); + KWindowSystem::self()->demandAttention( dialog->winId() ); + kDebug(5970) << "Setting WinId " << dialog->winId() << " to deskTop " << KWindowSystem::self()->currentDesktop(); dialog->show(); /* else { Index: ktimetracker/idletimedetector.cpp ===================================================================
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor