Override-redirect windows in the window manager itself don't make any

difference, and Keith Packard said it's better without it for some
translucency toy or whatever it is, so let's get rid of WX11BypassWM in KWin.

svn path=/trunk/kdebase/kwin/; revision=266398
icc-effect-5.14.5
Luboš Luňák 2003-11-11 18:38:19 +00:00
parent aa368f0cdc
commit bd81e83d55
5 changed files with 6 additions and 6 deletions

View File

@ -115,7 +115,7 @@ QWidget* Bridge::initialParentWidget() const
Qt::WFlags Bridge::initialWFlags() const
{
return Qt::WX11BypassWM;
return 0;
}
void Bridge::helperShowHide( bool show )

View File

@ -14,7 +14,7 @@ namespace KWinInternal
{
GeometryTip::GeometryTip( const XSizeHints* xSizeHints, bool save_under ):
QLabel(NULL, "kwingeometry", WX11BypassWM )
QLabel(NULL, "kwingeometry" )
{
setMargin(1);
setIndent(0);

View File

@ -35,7 +35,7 @@ namespace KWinInternal
{
PopupInfo::PopupInfo( const char *name )
: QWidget( 0, name, WX11BypassWM )
: QWidget( 0, name )
{
m_infoString = "";
reset();

View File

@ -43,7 +43,7 @@ namespace KWinInternal
extern QPixmap* kwin_get_menu_pix_hack();
TabBox::TabBox( Workspace *ws, const char *name )
: QWidget( 0, name, WX11BypassWM )
: QWidget( 0, name )
{
no_tasks = i18n("*** No Tasks ***");
m = DesktopMode; // init variables

View File

@ -702,7 +702,7 @@ void Workspace::slotReconfigure()
if( mgr->reset( changed ))
{ // decorations need to be recreated
#if 0 // This actually seems to make things worse now
QWidget curtain( 0, 0, WX11BypassWM );
QWidget curtain;
curtain.setBackgroundMode( NoBackground );
curtain.setGeometry( QApplication::desktop()->geometry() );
curtain.show();
@ -833,7 +833,7 @@ bool Workspace::isNotManaged( const QString& title )
*/
void Workspace::refresh()
{
QWidget w( 0, 0, WX11BypassWM );
QWidget w;
w.setGeometry( QApplication::desktop()->geometry() );
w.show();
w.hide();