Remove some no longer relevant todos.

svn path=/trunk/KDE/kdebase/workspace/; revision=689955
This commit is contained in:
Luboš Luňák 2007-07-19 16:38:46 +00:00
parent 6de4afe39b
commit 63a0120a60
4 changed files with 5 additions and 7 deletions

View file

@ -862,7 +862,6 @@ void Client::setActive( bool act )
StackingUpdatesBlocker blocker( workspace());
workspace()->updateClientLayer( this ); // active windows may get different layer
// TODO optimize? mainClients() may be a bit expensive
ClientList mainclients = mainClients();
for( ClientList::ConstIterator it = mainclients.begin();
it != mainclients.end();

View file

@ -1097,7 +1097,7 @@ void Client::killProcess( bool ask, Time timestamp )
::kill( pid, SIGTERM );
}
else
{ // SELI TODO handle the window created by handler specially (on top,urgent?)
{
process_killer = new K3Process( this );
*process_killer << KStandardDirs::findExe( "kwin_killer_helper" )
<< "--pid" << QByteArray().setNum( pid ) << "--hostname" << machine

View file

@ -595,7 +595,6 @@ bool Client::windowEvent( XEvent* e )
}
}
// TODO move all focus handling stuff to separate file?
switch (e->type)
{
case UnmapNotify:
@ -870,7 +869,7 @@ void Client::configureRequestEvent( XConfigureRequestEvent* e )
if ( e->value_mask & CWStackMode )
restackWindow( e->above, e->detail, NET::FromApplication, userTime(), false );
// TODO sending a synthetic configure notify always is fine, even in cases where
// Sending a synthetic configure notify always is fine, even in cases where
// the ICCCM doesn't require this - it can be though of as 'the WM decided to move
// the window later'. The client should not cause that many configure request,
// so this should not have any significant impact. With user moving/resizing

View file

@ -247,12 +247,12 @@ bool Client::manage( Window w, bool isMapped )
if( mainClients().count() >= 1 )
{
#if 1
// TODO #78082 - Ok, it seems there are after all some cases when an application has a good
// #78082 - Ok, it seems there are after all some cases when an application has a good
// reason to specify a position for its dialog. Too bad other WMs have never bothered
// with placement for dialogs, so apps always specify positions for their dialogs,
// including such silly positions like always centered on the screen or under mouse.
// Using ignoring requested position in window-specific settings helps, but at least
// for Qt apps this should work better.
// Using ignoring requested position in window-specific settings helps, and now
// there's also _NET_WM_FULL_PLACEMENT.
usePosition = true;
#else
; // force using placement policy