[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/kicker/taskmanager
From: Luboš Luňák <l.lunak () kde ! org>
Date: 2003-09-24 18:03:44
[Download RAW message or body]
CVS commit by lunakl:
When a taskbar entry has a transient demanind attention, activate it
instead of the main window.
M +4 -1 taskmanager.cpp 1.68
--- kdebase/kicker/taskmanager/taskmanager.cpp #1.67:1.68
@@ -659,6 +659,9 @@ void Task::activate()
{
// kdDebug(1210) << "Task::activate():" << name() << endl;
+ WId w = _win;
+ if( _transients_demanding_attention.count() > 0 )
+ w = _transients_demanding_attention.last();
NETRootInfo ri( qt_xdisplay(), 0 );
- ri.setActiveWindow( _win );
+ ri.setActiveWindow( w );
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic