Working kwin from Matthias E. :-)
svn path=/trunk/kdebase/kwin/; revision=30385
This commit is contained in:
parent
75f321c4c0
commit
df7fc2905e
3 changed files with 13 additions and 2 deletions
|
@ -905,7 +905,7 @@ void Client::mouseMoveEvent( QMouseEvent * e)
|
|||
XGrabServer( qt_xdisplay() );
|
||||
|
||||
if ( isMove() && options->moveMode == Options::HalfTransparent ) {
|
||||
imgClient = new QImage( QPixmap::grabWidget( this ).convertToImage() );
|
||||
imgClient = 0; //new QImage( QPixmap::grabWidget( this ).convertToImage() );
|
||||
// TODO SLOW!!!
|
||||
pmBackground = new QPixmap( QPixmap::grabWindow( qt_xrootwin() ));
|
||||
imgBackground = new QImage( pmBackground->convertToImage() );
|
||||
|
|
7
options.cpp
Normal file
7
options.cpp
Normal file
|
@ -0,0 +1,7 @@
|
|||
#include "options.h"
|
||||
|
||||
Options::Options(){
|
||||
focusPolicy = ClickToFocus;
|
||||
resizeMode = Opaque;
|
||||
moveMode = Transparent;//HalfTransparent;
|
||||
}
|
|
@ -27,6 +27,10 @@ static Client* clientFactory( Workspace *ws, WId w )
|
|||
ws->setDesktopClient( c );
|
||||
return c;
|
||||
}
|
||||
if ( s == "Kicker" ) {
|
||||
Client * c = new NoBorderClient( ws, w);
|
||||
return c;
|
||||
}
|
||||
|
||||
return new StdClient( ws, w );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue