diff --git a/client.cpp b/client.cpp index 33d517f5b8..6a041b8491 100644 --- a/client.cpp +++ b/client.cpp @@ -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() ); diff --git a/options.cpp b/options.cpp new file mode 100644 index 0000000000..bd832db513 --- /dev/null +++ b/options.cpp @@ -0,0 +1,7 @@ +#include "options.h" + +Options::Options(){ + focusPolicy = ClickToFocus; + resizeMode = Opaque; + moveMode = Transparent;//HalfTransparent; +} diff --git a/workspace.cpp b/workspace.cpp index c68915decf..60220ac702 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -22,11 +22,15 @@ static Client* clientFactory( Workspace *ws, WId w ) s = QString::fromLatin1( name ); XFree( name ); } - if ( s == "desktop") { + if ( s == "desktop" ) { Client * c = new NoBorderClient( ws, w); ws->setDesktopClient( c ); return c; } + if ( s == "Kicker" ) { + Client * c = new NoBorderClient( ws, w); + return c; + } return new StdClient( ws, w ); }