Remove some obsolete comments.
svn path=/trunk/kdebase/kwin/; revision=273143
This commit is contained in:
parent
92390e6d86
commit
c26c55787f
5 changed files with 4 additions and 8 deletions
|
@ -831,7 +831,7 @@ void Client::setMappingState(int s)
|
|||
Proper mapping state should be set before showing the client.
|
||||
*/
|
||||
void Client::rawShow()
|
||||
{ // FRAME spravne poradi
|
||||
{
|
||||
if( decoration != NULL )
|
||||
decoration->widget()->show(); // not really necessary, but let it know the state
|
||||
XMapWindow( qt_xdisplay(), frame );
|
||||
|
|
|
@ -52,7 +52,6 @@ KDecorationPreview::KDecorationPreview( QWidget* parent, const char* name )
|
|||
|
||||
setMinimumSize( 100, 100 );
|
||||
no_preview->resize( size());
|
||||
// FRAME i neco, co bude v pozici client window?
|
||||
}
|
||||
|
||||
KDecorationPreview::~KDecorationPreview()
|
||||
|
@ -69,7 +68,7 @@ bool KDecorationPreview::recreateDecoration( KDecorationPlugins* plugins )
|
|||
{
|
||||
for ( int i = 0; i < NumWindows; i++ )
|
||||
{
|
||||
delete deco[i]; // FRAME deletes also window
|
||||
delete deco[i]; // deletes also window
|
||||
deco[i] = plugins->createDecoration( bridge[i] );
|
||||
deco[i]->init();
|
||||
}
|
||||
|
|
|
@ -20,8 +20,6 @@
|
|||
#ifndef KWINDECORATION_PREVIEW_H
|
||||
#define KWINDECORATION_PREVIEW_H
|
||||
|
||||
// FRAME license
|
||||
|
||||
#include <qwidget.h>
|
||||
#include <kdecoration_p.h>
|
||||
#include <kdecoration_plugins_p.h>
|
||||
|
|
|
@ -229,7 +229,7 @@ void KDecoration::maximize( MaximizeMode mode )
|
|||
}
|
||||
|
||||
void KDecoration::minimize()
|
||||
{ // FRAME tady se da usetrit v bridge_ pouzitim performWindowOperation()
|
||||
{
|
||||
bridge_->minimize();
|
||||
}
|
||||
|
||||
|
@ -308,7 +308,7 @@ KDecoration::MousePosition KDecoration::mousePosition( const QPoint& p ) const
|
|||
MousePosition m = Nowhere;
|
||||
|
||||
|
||||
if ( ( p.x() > border && p.x() < widget()->width() - border ) // FRAME widget()-> ???
|
||||
if ( ( p.x() > border && p.x() < widget()->width() - border )
|
||||
&& ( p.y() > border && p.y() < widget()->height() - border ) )
|
||||
return Center;
|
||||
|
||||
|
|
|
@ -55,7 +55,6 @@ class KDecorationOptionsPrivate : public KDecorationDefines
|
|||
bool move_resize_maximized_windows;
|
||||
};
|
||||
|
||||
// FRAME internal
|
||||
class KDecorationBridge : public KDecorationDefines
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Reference in a new issue