235b534b26
enabled by default, but will be made configurable soon. There is a known issue with an incorrect geometry shown with konsole, but that's its fault, and I'll get to that shortly (xterm does the right thing). Disclaimer: If it jams - force it. If it breaks, it probably needed replacing anyway. svn path=/trunk/kdebase/kwin/; revision=197992
30 lines
489 B
C++
30 lines
489 B
C++
/*
|
|
* $Id$
|
|
* Window Geometry Display
|
|
* Copyright (c) 2003, Karol Szwed <kszwed@kde.org>
|
|
*/
|
|
|
|
#ifndef KWIN_GEOMETRY_TIP_H
|
|
#define KWIN_GEOMETRY_TIP_H
|
|
|
|
#include <qlabel.h>
|
|
#include "client.h"
|
|
|
|
namespace KWinInternal {
|
|
|
|
class GeometryTip: public QLabel
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
GeometryTip( const Client* client, const XSizeHints* xSizeHints );
|
|
~GeometryTip();
|
|
void setGeometry( const QRect& geom );
|
|
|
|
private:
|
|
const XSizeHints* sizeHints;
|
|
const Client* c;
|
|
};
|
|
|
|
};
|
|
|
|
#endif
|