pretend to be CDE to improve interoperability with Sun's latest JDK.

svn path=/trunk/kdebase/kwin/; revision=89307
This commit is contained in:
Matthias Ettrich 2001-03-29 17:21:53 +00:00
parent 93d660d0c8
commit 57e86d69be
2 changed files with 6 additions and 5 deletions

View file

@ -45,6 +45,10 @@ Atoms::Atoms()
atoms[n] = &kde_wm_change_state;
names[n++] = (char *) "_KDE_WM_CHANGE_STATE";
Atom fake;
atoms[n] = &fake;
names[n++] = (char *) "DT_SM_WINDOW_INFO";
XInternAtoms( qt_xdisplay(), names, n, FALSE, atoms_return );
for (int i = 0; i < n; i++ )
*atoms[i] = atoms_return[i];

View file

@ -1007,8 +1007,6 @@ bool Client::configureRequest( XConfigureRequestEvent& e )
if ( isShade() )
setShade( FALSE );
qDebug("configureRequest %s: %d %d %d %d", caption().latin1(), e.x, e.y, e.width, e.height );
/*
// compress configure requests
XEvent otherEvent;
while (XCheckTypedWindowEvent (qt_xdisplay(), win,
@ -1020,7 +1018,6 @@ bool Client::configureRequest( XConfigureRequestEvent& e )
break;
}
}
*/
bool stacking = e.value_mask & CWStackMode;
int stack_mode = e.detail;