Small cleanups.

svn path=/trunk/kdebase/kwin/; revision=255049
This commit is contained in:
Luboš Luňák 2003-09-30 10:55:06 +00:00
parent 59e880217f
commit ce37c50587
5 changed files with 5 additions and 13 deletions

View file

@ -84,7 +84,7 @@ bool Bridge::isPreview() const
QRect Bridge::iconGeometry() const
{
NETRect r = c->netWinInfo()->iconGeometry();
NETRect r = c->info->iconGeometry();
return QRect( r.pos.x, r.pos.y, r.size.width, r.size.height );
}

View file

@ -1693,11 +1693,6 @@ void Client::autoRaise()
autoRaiseTimer = 0;
}
NETWinInfo * Client::netWinInfo()
{
return static_cast<NETWinInfo *>(info);
}
#ifdef NDEBUG
kndbgstream& operator<<( kndbgstream& stream, const Client* cl ) { return stream; }
#else

View file

@ -27,7 +27,6 @@ License. See the file "COPYING" for the exact licensing terms.
#include <X11/Xutil.h>
#include <fixx11h.h>
class NETWinInfo;
class QTimer;
class KProcess;
class KStartupInfoData;
@ -299,8 +298,6 @@ class Client : public QObject, public KDecorationDefines
void processDecorationButtonPress( int button, int state, int x, int y, int x_root, int y_root );
NETWinInfo * netWinInfo(); // APICLEAN ???
private slots:
void pingTimeout();
void processKillerExited();

View file

@ -332,9 +332,9 @@ void Workspace::setClientIsMoving( Client *c )
// window while still moving the first one.
movingClient = c;
if (movingClient)
focus_change = false;
setFocusChangeEnabled( false );
else
focus_change = true;
setFocusChangeEnabled( true );
}
/*!

View file

@ -154,8 +154,8 @@ class Workspace : public QObject, virtual public KWinInterface, public KDecorati
void updateColormap();
void setFocusChangeEnabled(bool b) { focus_change = b; } // KDE 3.0: No longer used
bool focusChangeEnabled() { return focus_change; } // KDE 3.0: No longer used
void setFocusChangeEnabled(bool b) { focus_change = b; }
bool focusChangeEnabled() { return focus_change; }
/**
* Indicates that the client c is being moved around by the user.